Remove whitespace lines
This commit is contained in:
@@ -13,45 +13,45 @@
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
|
||||
|
||||
struct FileWatcherEvent {
|
||||
|
||||
|
||||
long watchID;
|
||||
std::string dir;
|
||||
std::string file;
|
||||
int action;
|
||||
std::string oldFile;
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class FileWatcher {
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
FileWatcher (value callback);
|
||||
~FileWatcher ();
|
||||
|
||||
|
||||
long AddDirectory (const std::string directory, bool recursive);
|
||||
void QueueEvent (FileWatcherEvent event);
|
||||
void RemoveDirectory (long watchID);
|
||||
void Update ();
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
AutoGCRoot* callback;
|
||||
void* fileWatcher;
|
||||
Mutex* mutex;
|
||||
std::vector<FileWatcherEvent> queue;
|
||||
std::map<long, void*> listeners;
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user