#include <sbBaseFileSystemWatcher.h>
Public Member Functions | |
sbBaseFileSystemWatcher () | |
virtual | ~sbBaseFileSystemWatcher () |
NS_DECL_ISUPPORTS NS_DECL_SBIFILESYSTEMWATCHER NS_IMETHOD | OnChangeFound (const nsAString &aChangePath, EChangeType aChangeType) |
NS_IMETHOD | OnTreeReady (const nsAString &aTreeRootPath, sbStringArray &aDirPathArray) |
NS_IMETHOD | OnRootPathMissing () |
NS_IMETHOD | OnTreeSessionLoadError () |
Public Member Functions inherited from sbIFileSystemWatcher | |
void | init (in sbIFileSystemListener aListener, in AString aRootPath, in boolean aIsRecursive) |
void | initWithSession (in ACString aSessionGuid, in sbIFileSystemListener aListener) |
void | startWatching () |
void | stopWatching (in boolean aShouldSaveSession) |
void | deleteSession (in ACString aSessionGuid) |
Public Member Functions inherited from sbFileSystemTreeListener | |
virtual | ~sbFileSystemTreeListener () |
Protected Attributes | |
nsRefPtr< sbFileSystemTree > | mTree |
nsCOMPtr< sbIFileSystemListener > | mListener |
nsString | mWatchPath |
nsID | mSessionID |
PRBool | mIsRecursive |
PRBool | mIsWatching |
PRBool | mIsSupported |
PRBool | mShouldLoadSession |
Additional Inherited Members | |
Public Attributes inherited from sbIFileSystemWatcher | |
readonly attribute boolean | isWatching |
readonly attribute AString | watchPath |
readonly attribute ACString | sessionGuid |
readonly attribute boolean | isSupported |
Definition at line 42 of file sbBaseFileSystemWatcher.h.
sbBaseFileSystemWatcher::sbBaseFileSystemWatcher | ( | ) |
To log this module, set the following environment variable: NSPR_LOG_MODULES=sbBaseFSWatcher:5
Definition at line 42 of file sbBaseFileSystemWatcher.cpp.
|
virtual |
Definition at line 53 of file sbBaseFileSystemWatcher.cpp.
|
virtual |
Implements sbFileSystemTreeListener.
Reimplemented in sbLinuxFileSystemWatcher.
Definition at line 215 of file sbBaseFileSystemWatcher.cpp.
|
virtual |
Implements sbFileSystemTreeListener.
Definition at line 254 of file sbBaseFileSystemWatcher.cpp.
|
virtual |
Implements sbFileSystemTreeListener.
Reimplemented in sbWin32FileSystemWatcher, sbMacFileSystemWatcher, and sbLinuxFileSystemWatcher.
Definition at line 245 of file sbBaseFileSystemWatcher.cpp.
|
virtual |
Implements sbFileSystemTreeListener.
Definition at line 269 of file sbBaseFileSystemWatcher.cpp.
|
protected |
Definition at line 65 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 67 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 66 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 62 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 64 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 68 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 61 of file sbBaseFileSystemWatcher.h.
|
protected |
Definition at line 63 of file sbBaseFileSystemWatcher.h.