Manages Root Path Lists. More...
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. | |
Manages Root Path Lists.
| Tonido::System::RootListManager::RootListManager | ( | ) |
Ctor.
details if needed ...
| Tonido::System::RootListManager::~RootListManager | ( | ) |
Dtor.
details if needed ...
| void Tonido::System::RootListManager::enableRoots | ( | bool | a_enable | ) |
Enable Roots.
| [in] | a_enable | whether to enable the roots |
| bool Tonido::System::RootListManager::enableRoots | ( | ) |
Enable Roots.
| [in] | none |
| void Tonido::System::RootListManager::getRootPathList | ( | std::vector< RootListItem > & | a_list, |
| RootListFilter | a_filter | ||
| ) |
Gets the Root Path List.
| int Tonido::System::RootListManager::rootPathAdd | ( | const std::string & | a_rootPath, |
| bool | a_isSystem, | ||
| bool | a_isHidden | ||
| ) |
Add a new Root Path.
| [in,out] | a_rootPath | Root Path to Add |
| int Tonido::System::RootListManager::rootPathRemove | ( | const std::string & | a_rootPath | ) |
Removes a Root Path.
| [in] | a_rootPath | Root Path to remove |