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

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

watcher_partial Class Reference

Inheritance diagram for watcher_partial:
Inheritance graph
Collaboration diagram for watcher_partial:
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_partial (struct inotify_state *state, const std::string &partial_maildir)
 watcher_partial (struct dnotify_state *state, const std::string &partial_maildir)

Private Member Functions

bool dir_exists (const char *dir) const
int start_watch (const char *dir)
int start_watch (const char *dir)
void stop_watch (int wd)
void stop_watch (int fd)
void transition_to_maildir ()
void transition_to_maildir ()

Private Attributes

bool cur_exists
int fd
bool new_exists
const std::string partial_maildir
struct inotify_statestate
struct dnotify_statestate
int wd

Static Private Attributes

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

Detailed Description

Definition at line 14 of file watcher_partial.h.

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

Generated by  Doxygen 1.6.0   Back to index