Public Types | Public Member Functions
Tonido::System::RootListManager Class Reference

Manages Root Path Lists. More...

List of all members.

Public Types

enum  RootListFilter { E_ALL = 0, E_USER = 1, E_DISPLAY = 2 }
typedef boost::shared_ptr
< RootListManager
SharedPtr

Public Member Functions

void enableRoots (bool a_enable)
 Enable Roots.
bool enableRoots ()
 Enable Roots.
int rootPathAdd (const std::string &a_rootPath, bool a_isSystem, bool a_isHidden)
 Add a new Root Path.
int rootPathRemove (const std::string &a_rootPath)
 Removes a Root Path.
void getRootPathList (std::vector< RootListItem > &, RootListFilter a_filter)
 Gets the Root Path List.
Ctors & Dtors
 RootListManager ()
 Ctor.
 ~RootListManager ()
 Dtor.

Detailed Description

Manages Root Path Lists.


Constructor & Destructor Documentation

Tonido::System::RootListManager::RootListManager ( )

Ctor.

details if needed ...

Tonido::System::RootListManager::~RootListManager ( )

Dtor.

details if needed ...


Member Function Documentation

void Tonido::System::RootListManager::enableRoots ( bool  a_enable)

Enable Roots.

Parameters:
[in]a_enablewhether to enable the roots
Returns:
returns none
bool Tonido::System::RootListManager::enableRoots ( )

Enable Roots.

Parameters:
[in]none
Returns:
returns whether roots are enabled
void Tonido::System::RootListManager::getRootPathList ( std::vector< RootListItem > &  a_list,
RootListFilter  a_filter 
)

Gets the Root Path List.

Returns:
list of root paths
int Tonido::System::RootListManager::rootPathAdd ( const std::string &  a_rootPath,
bool  a_isSystem,
bool  a_isHidden 
)

Add a new Root Path.

Parameters:
[in,out]a_rootPathRoot Path to Add
Returns:
return 0 on failure, non-zero on success
int Tonido::System::RootListManager::rootPathRemove ( const std::string &  a_rootPath)

Removes a Root Path.

Parameters:
[in]a_rootPathRoot Path to remove
Returns:
return 0 on failure, non-zero on success

Generated on Wed Oct 12 2011 21:46:54. © CodeLathe LLC 2007-2011. All Rights Reserved.