Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CFileWatch Class Reference

This class represents a file watch. More...

#include <FileWatch.h>

Inheritance diagram for OW32::CFileWatch:

OW32::CRefCounted OW32::CRefCountedBase List of all members.

Public Member Functions

 CFileWatch (LPCWSTR fileName, CFileWatchCallback *pCallback)
 Construct a file watch on the given file.
virtual ~CFileWatch ()
 D'tor notifying the callback of deletion.
const ci_wstring & getFileName () const
 Return the file being watched.
CFileWatchCallbackgetCallback () const
 Return the callback object.

Detailed Description

This class represents a file watch.

In order to use it, construct a file watch object with the appropriate arguments, and then pass this on to the single, global CFileWatcher object.


Constructor & Destructor Documentation

OW32::CFileWatch::CFileWatch LPCWSTR  fileName,
CFileWatchCallback pCallback
[inline]
 

Construct a file watch on the given file.

Parameters:
fileName The file
pCallback The callback to notify of events


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:24 2005 for OW32 by  doxygen 1.3.9.1