XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRecentFilesList Class Reference

Maintains a list of recently used files and the container window ID they previously resided in. More...

#include <RecentFilesList.h>

Classes

struct  RecentFile
 Struct that defines the file and container window of the recent file list. More...
 

Public Member Functions

 xiiRecentFilesList (xiiUInt32 uiMaxElements)
 
void Insert (xiiStringView sFile, xiiInt32 iContainerWindow)
 Moves the inserted file to the front with the given container ID.
 
const xiiDeque< RecentFile > & GetFileList () const
 Returns all files in the list.
 
void Clear ()
 Clears the list.
 
void Save (xiiStringView sFile)
 Saves the recent files list to the given file. Uses a simple text file format (one line per item).
 
void Load (xiiStringView sFile)
 Loads the recent files list from the given file. Uses a simple text file format (one line per item).
 

Detailed Description

Maintains a list of recently used files and the container window ID they previously resided in.


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