MacFileWatcher.h 579 B

1234567891011121314151617
  1. // Copyright (c) 2008-2023 the Urho3D project
  2. // License: MIT
  3. /// Return true when the running OS has the specified version number or later.
  4. bool CheckMinimalVersion(int major, int minor);
  5. /// Return true when individual file watcher is supported by the running Mac OS X.
  6. bool IsFileWatcherSupported();
  7. /// Create and start the file watcher.
  8. void* CreateFileWatcher(const char* pathname, bool watchSubDirs);
  9. /// Stop and release the file watcher.
  10. void CloseFileWatcher(void* watcher);
  11. /// Read changes queued by the file watcher.
  12. const char* ReadFileWatcher(void* watcher);