summaryrefslogtreecommitdiff
path: root/lib/common/EventWatchFilesystemObject.h
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2018-02-20 21:49:13 -0500
committerReinhard Tartler <siretart@tauware.de>2018-02-20 21:49:13 -0500
commitf28f88e5e72ba1499409047a9d6985eb312c0232 (patch)
treec9c267f18264b3dfe715a363935bb6ac20904492 /lib/common/EventWatchFilesystemObject.h
parente19a5db232e1ef90e9a02159d2fbd9707ffe4373 (diff)
parent6d7e9562e8485591a4888f1fc2d3c6c657dc7a01 (diff)
Merge tag 'BoxBackup-0.12.master.180102.6d7e956' into upstream
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
-