yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::app::RecentFilesManager Class Reference

#include <project.h>

Public Member Functions

 RecentFilesManager ()
 
 RecentFilesManager (const std::string &filename)
 
void AddFile (const std::string &file_path)
 
void Save ()
 
void Load ()
 
const std::vector< std::string > & GetRecentFiles () const
 

Private Attributes

std::string filename_
 
std::vector< std::string > recent_files_
 

Detailed Description

Definition at line 85 of file project.h.

Constructor & Destructor Documentation

◆ RecentFilesManager() [1/2]

yaze::app::RecentFilesManager::RecentFilesManager ( )
inline

Definition at line 87 of file project.h.

◆ RecentFilesManager() [2/2]

yaze::app::RecentFilesManager::RecentFilesManager ( const std::string & filename)
inline

Definition at line 88 of file project.h.

Member Function Documentation

◆ AddFile()

void yaze::app::RecentFilesManager::AddFile ( const std::string & file_path)
inline

◆ Save()

void yaze::app::RecentFilesManager::Save ( )
inline

◆ Load()

◆ GetRecentFiles()

const std::vector< std::string > & yaze::app::RecentFilesManager::GetRecentFiles ( ) const
inline

Member Data Documentation

◆ filename_

std::string yaze::app::RecentFilesManager::filename_
private

Definition at line 129 of file project.h.

Referenced by Load(), and Save().

◆ recent_files_

std::vector<std::string> yaze::app::RecentFilesManager::recent_files_
private

Definition at line 130 of file project.h.

Referenced by AddFile(), GetRecentFiles(), Load(), and Save().


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