summaryrefslogtreecommitdiff
path: root/lib/common/EventWatchFilesystemObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/EventWatchFilesystemObject.h')
-rw-r--r--lib/common/EventWatchFilesystemObject.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/lib/common/EventWatchFilesystemObject.h b/lib/common/EventWatchFilesystemObject.h
deleted file mode 100644
index f9175a49..00000000
--- a/lib/common/EventWatchFilesystemObject.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// --------------------------------------------------------------------------
-//
-// File
-// Name: EventWatchFilesystemObject.h
-// Purpose: WaitForEvent compatible object for watching directories
-// Created: 12/3/04
-//
-// --------------------------------------------------------------------------
-
-#ifndef EVENTWATCHFILESYSTEMOBJECT__H
-#define EVENTWATCHFILESYSTEMOBJECT__H
-
-#ifdef HAVE_KQUEUE
- #include <sys/event.h>
-#endif
-
-
-// --------------------------------------------------------------------------
-//
-// Class
-// Name: EventWatchFilesystemObject
-// Purpose: WaitForEvent compatible object for watching files and directories
-// Created: 12/3/04
-//
-// --------------------------------------------------------------------------
-class EventWatchFilesystemObject
-{
-public:
- EventWatchFilesystemObject(const char *Filename);
- ~EventWatchFilesystemObject();
- EventWatchFilesystemObject(const EventWatchFilesystemObject &rToCopy);
-private:
- // Assignment not allowed
- EventWatchFilesystemObject &operator=(const EventWatchFilesystemObject &);
-public:
-
-#ifdef HAVE_KQUEUE
- void FillInKEvent(struct kevent &rEvent, int Flags = 0) const;
-#else
- void FillInPoll(int &fd, short &events, int Flags = 0) const;
-#endif
-
-private:
- int mDescriptor;
-};
-
-#endif // EventWatchFilesystemObject__H
-