MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RecentFilesStore Class Reference

#include <MRViewer/MRRecentFilesStore.h>

Public Member Functions

 RecentFilesStore ()=default
 RecentFilesStore (std::string appName, int capacity=10)
void storeFile (const std::filesystem::path &file) const
std::vector< std::filesystem::path > getStoredFiles () const
 Returns filenames from storage.
int getCapacity () const
 Returns maximum size of recently opened files stack.
boost::signals2::connection onUpdate (const boost::function< void(const FileNamesStack &files)> &slot, boost::signals2::connect_position position=boost::signals2::at_back)
 Connects given slot to receive signal on every update of this store.

Detailed Description

This class exists to store and load recently opened files from system storage (registry for Windows)


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