#include <sbLinuxFileSystemWatcher.h>
Public Member Functions | |
| sbLinuxFileSystemWatcher () | |
| virtual | ~sbLinuxFileSystemWatcher () |
| NS_IMETHOD | StopWatching (PRBool aShouldSaveSession) |
| nsresult | OnInotifyEvent () |
| NS_IMETHOD | OnChangeFound (const nsAString &aChangePath, EChangeType aChangeType) |
| NS_IMETHOD | OnTreeReady (const nsAString &aTreeRootPath, sbStringArray &aDirPathArray) |
Public Member Functions inherited from sbBaseFileSystemWatcher | |
| sbBaseFileSystemWatcher () | |
| virtual | ~sbBaseFileSystemWatcher () |
| 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 Member Functions | |
| nsresult | Cleanup () |
| nsresult | AddInotifyHook (const nsAString &aDirPath) |
Additional Inherited Members | |
Public Attributes inherited from sbIFileSystemWatcher | |
| readonly attribute boolean | isWatching |
| readonly attribute AString | watchPath |
| readonly attribute ACString | sessionGuid |
| readonly attribute boolean | isSupported |
Protected Attributes inherited from sbBaseFileSystemWatcher | |
| nsRefPtr< sbFileSystemTree > | mTree |
| nsCOMPtr< sbIFileSystemListener > | mListener |
| nsString | mWatchPath |
| nsID | mSessionID |
| PRBool | mIsRecursive |
| PRBool | mIsWatching |
| PRBool | mIsSupported |
| PRBool | mShouldLoadSession |
Definition at line 41 of file sbLinuxFileSystemWatcher.h.
| sbLinuxFileSystemWatcher::sbLinuxFileSystemWatcher | ( | ) |
Definition at line 62 of file sbLinuxFileSystemWatcher.cpp.
|
virtual |
Definition at line 69 of file sbLinuxFileSystemWatcher.cpp.
|
protected |
Definition at line 100 of file sbLinuxFileSystemWatcher.cpp.
|
protected |
Definition at line 78 of file sbLinuxFileSystemWatcher.cpp.
|
virtual |
Reimplemented from sbBaseFileSystemWatcher.
Definition at line 213 of file sbLinuxFileSystemWatcher.cpp.
| nsresult sbLinuxFileSystemWatcher::OnInotifyEvent | ( | ) |
Definition at line 155 of file sbLinuxFileSystemWatcher.cpp.
|
virtual |
Reimplemented from sbBaseFileSystemWatcher.
Definition at line 251 of file sbLinuxFileSystemWatcher.cpp.
| NS_IMETHODIMP sbLinuxFileSystemWatcher::StopWatching | ( | PRBool | aShouldSaveSession | ) |
Definition at line 142 of file sbLinuxFileSystemWatcher.cpp.