Plasma Engine  2.0
Loading...
Searching...
No Matches
plRecentFilesList 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

 plRecentFilesList (plUInt32 uiMaxElements)
 
void Insert (plStringView sFile, plInt32 iContainerWindow)
 Moves the inserted file to the front with the given container ID.
 
const plDeque< RecentFile > & GetFileList () const
 Returns all files in the list.
 
void Clear ()
 Clears the list.
 
void Save (plStringView sFile)
 Saves the recent files list to the given file. Uses a simple text file format (one line per item).
 
void Load (plStringView 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: