class HackFilesystemWatcher
Defined at line 95 of file ../../src/ui/lib/escher/fs/hack_filesystem.h
Allows clients to be notified about changes in the specified files. There is
no public constructor; instances of HackFilesystemWatcher must be obtained
via HackFilesystem::RegisterWatcher().
Public Methods
void ~HackFilesystemWatcher ()
Defined at line 84 of file ../../src/ui/lib/escher/fs/hack_filesystem.cc
void AddPath (HackFilePath path)
Start receiving notifications when the file identified by |path| changes.
Defined at line 100 of file ../../src/ui/lib/escher/fs/hack_filesystem.h
HackFileContents ReadFile (const HackFilePath & path)
Read the contents of the specified file, and receive notifications if it
subsequently changes.
Defined at line 104 of file ../../src/ui/lib/escher/fs/hack_filesystem.h
bool IsWatchingPath (const HackFilePath & path)
Return true if notifications will be received when |path| changes.
Defined at line 110 of file ../../src/ui/lib/escher/fs/hack_filesystem.h
void ClearPaths ()
Clear watcher to the default state; no notifications will be received until
paths are added by calling AddPath() or ReadFile().
Defined at line 116 of file ../../src/ui/lib/escher/fs/hack_filesystem.h
Friends
class HackFilesystem