xbmc
Classes | Public Member Functions | List of all members
CDirectoryHistory Class Reference

Classes

class  CHistoryItem
 
class  CPathHistoryItem
 

Public Member Functions

void SetSelectedItem (const std::string &strSelectedItem, const std::string &strDirectory)
 
const std::string & GetSelectedItem (const std::string &strDirectory) const
 
void RemoveSelectedItem (const std::string &strDirectory)
 
void AddPath (const std::string &strPath, const std::string &m_strFilterPath="")
 
void AddPathFront (const std::string &strPath, const std::string &m_strFilterPath="")
 
std::string GetParentPath (bool filter=false)
 
std::string RemoveParentPath (bool filter=false)
 
void ClearPathHistory ()
 
void ClearSearchHistory ()
 
void DumpPathHistory ()
 
bool IsInHistory (const std::string &path) const
 Returns whether a path is in the history. More...
 

Member Function Documentation

◆ IsInHistory()

bool CDirectoryHistory::IsInHistory ( const std::string &  path) const

Returns whether a path is in the history.

Parameters
pathto test
Returns
true if the path is in the history, false otherwise.

The documentation for this class was generated from the following files: