fswatcher_kqueue.h 876 B

12345678910111213141516171819202122232425262728293031323334
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/unix/fswatcher_kqueue.h
  3. // Purpose: wxKqueueFileSystemWatcher
  4. // Author: Bartosz Bekier
  5. // Created: 2009-05-26
  6. // Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com>
  7. // Licence: wxWindows licence
  8. /////////////////////////////////////////////////////////////////////////////
  9. #ifndef _WX_FSWATCHER_KQUEUE_H_
  10. #define _WX_FSWATCHER_KQUEUE_H_
  11. #include "wx/defs.h"
  12. #if wxUSE_FSWATCHER
  13. class WXDLLIMPEXP_BASE wxKqueueFileSystemWatcher :
  14. public wxFileSystemWatcherBase
  15. {
  16. public:
  17. wxKqueueFileSystemWatcher();
  18. wxKqueueFileSystemWatcher(const wxFileName& path,
  19. int events = wxFSW_EVENT_ALL);
  20. virtual ~wxKqueueFileSystemWatcher();
  21. protected:
  22. bool Init();
  23. };
  24. #endif
  25. #endif /* _WX_FSWATCHER_OSX_H_ */