#include <DirectoryHistory.h>
◆ CDirectoryHistory()
CDirectoryHistory::CDirectoryHistory |
( |
| ) |
|
|
default |
◆ ~CDirectoryHistory()
CDirectoryHistory::~CDirectoryHistory |
( |
| ) |
|
|
virtual |
◆ AddPath()
void CDirectoryHistory::AddPath |
( |
const std::string & |
strPath, |
|
|
const std::string & |
m_strFilterPath = "" |
|
) |
| |
◆ AddPathFront()
void CDirectoryHistory::AddPathFront |
( |
const std::string & |
strPath, |
|
|
const std::string & |
m_strFilterPath = "" |
|
) |
| |
◆ ClearPathHistory()
void CDirectoryHistory::ClearPathHistory |
( |
| ) |
|
◆ ClearSearchHistory()
void CDirectoryHistory::ClearSearchHistory |
( |
| ) |
|
◆ DumpPathHistory()
void CDirectoryHistory::DumpPathHistory |
( |
| ) |
|
◆ GetParentPath()
std::string CDirectoryHistory::GetParentPath |
( |
bool |
filter = false | ) |
|
◆ GetSelectedItem()
const std::string & CDirectoryHistory::GetSelectedItem |
( |
const std::string & |
strDirectory | ) |
const |
◆ GetSelectedItemIndex()
int CDirectoryHistory::GetSelectedItemIndex |
( |
const std::string & |
strDirectory | ) |
const |
◆ IsInHistory()
bool CDirectoryHistory::IsInHistory |
( |
const std::string & |
path | ) |
const |
Returns whether a path is in the history.
- Parameters
-
- Returns
- true if the path is in the history, false otherwise.
◆ RemoveParentPath()
std::string CDirectoryHistory::RemoveParentPath |
( |
bool |
filter = false | ) |
|
◆ RemoveSelectedItem()
void CDirectoryHistory::RemoveSelectedItem |
( |
const std::string & |
strDirectory | ) |
|
◆ SetSelectedItem()
void CDirectoryHistory::SetSelectedItem |
( |
const std::string & |
strSelectedItem, |
|
|
const std::string & |
strDirectory, |
|
|
const int |
indexItem = -1 |
|
) |
| |
Store the currently selected item for the navigation path.
- Parameters
-
strSelectedItem | Selected item |
strDirectory | Path |
indexItem | Index of the selected item (in list, after filtering/sorting). -1 when the index information is not available. |
The documentation for this class was generated from the following files: