Logo Search packages:      
Sourcecode: mswatch version File versions  Download package

Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

watcher_base Class Reference

Inheritance diagram for watcher_base:
Inheritance graph
Collaboration diagram for watcher_base:
Collaboration graph

List of all members.

Public Member Functions

virtual void process_event (int fd)
virtual void process_event (const struct inotify_event &event)
 watcher_base (struct inotify_state *state)
 watcher_base (struct dnotify_state *state)

Public Attributes

const int inotify_fd

Private Member Functions

void refresh_maildirs ()
int start_watch (const char *dir)
void stop_watch (int fd)

Private Attributes

int fd
std::set< std::string > maildirs
struct inotify_statestate
struct dnotify_statestate
int wd

Static Private Attributes

static const long notify = DN_CREATE | DN_RENAME | DN_DELETE | DN_MULTISHOT
static const uint32_t notify = IN_CREATE | IN_MOVE | IN_DELETE_SELF

Detailed Description

Definition at line 15 of file watcher_base.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index