Source

NPAPI-chrome-file-api / X11 / FileWatcherTaskX11.h

Diff from to

File X11/FileWatcherTaskX11.h

 
 #include "JSObject.h"
 #include <boost/filesystem.hpp>
+#include <boost/thread.hpp>
 
 class FileWatcherTaskX11 {
 public:
 	void ListenForFileEvents(boost::filesystem::path path, FB::JSObjectPtr callback);
 	void AddWatchToDir(int fd, boost::filesystem::path path, std::map<int, boost::filesystem::path*> &watchDescriptors);
 	bool _ShouldStop();
+	void _SetToStop(int sig);
 	int stop;
+	boost::thread thread;
 };
 
 #endif /* FILEWATCHERTASKX11_H_ */