#include <UT_FileMonitor.h>
Public Member Functions | |
| UT_FileMonitor () | |
| virtual | ~UT_FileMonitor () |
| bool | addFile (const char *filename, UTmonitorFunc func, void *data) |
| bool | removeFile (void *data, const char *filename=0) |
| const UT_StringArray & | getFileList () const |
| void | startMyThread () |
| void | stopMyThread () |
| void | getDirectory (const char *str, UT_String &dir) |
| void | executeCallbacks (const char *file) |
Protected Attributes | |
| UT_RefArray< UTmonitorFunc > | myCallbacks |
Definition at line 39 of file UT_FileMonitor.h.
| UT_FileMonitor::UT_FileMonitor | ( | ) |
| virtual UT_FileMonitor::~UT_FileMonitor | ( | ) | [virtual] |
| bool UT_FileMonitor::addFile | ( | const char * | filename, | |
| UTmonitorFunc | func, | |||
| void * | data | |||
| ) |
| void UT_FileMonitor::executeCallbacks | ( | const char * | file | ) |
| void UT_FileMonitor::getDirectory | ( | const char * | str, | |
| UT_String & | dir | |||
| ) |
| const UT_StringArray& UT_FileMonitor::getFileList | ( | ) | const [inline] |
Definition at line 51 of file UT_FileMonitor.h.
| bool UT_FileMonitor::removeFile | ( | void * | data, | |
| const char * | filename = 0 | |||
| ) |
| void UT_FileMonitor::startMyThread | ( | ) |
| void UT_FileMonitor::stopMyThread | ( | ) |
UT_RefArray< UTmonitorFunc > UT_FileMonitor::myCallbacks [protected] |
Definition at line 62 of file UT_FileMonitor.h.
1.5.9