#include <sbFileSystemTree.h>
|
nsresult | InitTree () |
|
nsresult | AddChildren (const nsAString &aPath, sbFileSystemNode *aParentNode, PRBool aBuildDiscoveredDirArray, PRBool aNotifyListener) |
|
nsresult | GetChildren (const nsAString &aPath, sbFileSystemNode *aParentNode, sbNodeMap &aNodeMap) |
|
nsresult | GetNode (const nsAString &aPath, sbFileSystemNode *aRootSearchNode, sbFileSystemNode **aNodeRetVal) |
|
nsresult | CreateNode (nsIFile *aFile, sbFileSystemNode *aParentNode, sbFileSystemNode **aNodeRetVal) |
|
nsresult | GetNodeChanges (sbFileSystemNode *aNode, const nsAString &aNodePath, sbNodeChangeArray &aOutChangeArray) |
|
nsresult | GetTreeChanges (sbFileSystemNode *aOldRootNode, sbPathChangeArray &aOutChangeArray) |
|
nsresult | NotifyDirAdded (sbFileSystemNode *aAddedDirNode, nsAString &aFullPath) |
|
nsresult | NotifyDirRemoved (sbFileSystemNode *aRemovedDirNode, nsAString &aFullPath) |
|
nsresult | CreateTreeEvents (sbNodeContextStack &aContextStack, EChangeType aChangeType, sbPathChangeArray &aChangeArray) |
|
void | RunBuildThread () |
|
void | NotifyBuildComplete () |
|
void | NotifyRootPathIsMissing () |
|
void | NotifySessionLoadError () |
|
Definition at line 54 of file sbFileSystemTree.h.
sbFileSystemTree::sbFileSystemTree |
( |
| ) |
|
sbFileSystemTree::~sbFileSystemTree |
( |
| ) |
|
|
virtual |
nsresult sbFileSystemTree::AddChildren |
( |
const nsAString & |
aPath, |
|
|
sbFileSystemNode * |
aParentNode, |
|
|
PRBool |
aBuildDiscoveredDirArray, |
|
|
PRBool |
aNotifyListener |
|
) |
| |
|
protected |
nsresult sbFileSystemTree::AppendCreatePathChangeItem |
( |
const nsAString & |
aEventPath, |
|
|
EChangeType |
aChangeType, |
|
|
sbPathChangeArray & |
aChangeArray |
|
) |
| |
|
staticprotected |
nsresult sbFileSystemTree::ClearListener |
( |
| ) |
|
nsString sbFileSystemTree::EnsureTrailingPath |
( |
const nsAString & |
aFilePath | ) |
|
nsresult sbFileSystemTree::GetPathEntries |
( |
const nsAString & |
aPath, |
|
|
nsISimpleEnumerator ** |
aResultEnum |
|
) |
| |
|
staticprotected |
nsresult sbFileSystemTree::Init |
( |
const nsAString & |
aPath, |
|
|
PRBool |
aIsRecursive |
|
) |
| |
nsresult sbFileSystemTree::InitTree |
( |
| ) |
|
|
protected |
nsresult sbFileSystemTree::InitWithTreeSession |
( |
nsID & |
aSessionID | ) |
|
void sbFileSystemTree::NotifyBuildComplete |
( |
| ) |
|
|
protected |
nsresult sbFileSystemTree::NotifyDirAdded |
( |
sbFileSystemNode * |
aAddedDirNode, |
|
|
nsAString & |
aFullPath |
|
) |
| |
|
protected |
nsresult sbFileSystemTree::NotifyDirRemoved |
( |
sbFileSystemNode * |
aRemovedDirNode, |
|
|
nsAString & |
aFullPath |
|
) |
| |
|
protected |
void sbFileSystemTree::NotifyRootPathIsMissing |
( |
| ) |
|
|
protected |
void sbFileSystemTree::NotifySessionLoadError |
( |
| ) |
|
|
protected |
void sbFileSystemTree::RunBuildThread |
( |
| ) |
|
|
protected |
nsresult sbFileSystemTree::SaveTreeSession |
( |
const nsID & |
aSessionID | ) |
|
nsresult sbFileSystemTree::Update |
( |
const nsAString & |
aPath | ) |
|
The documentation for this class was generated from the following files: