| 36 | #endif |
| 37 | |
| 38 | std::vector<std::filesystem::path> RecentFilesStore::getStoredFiles() const |
| 39 | { |
| 40 | if ( appName_.empty() ) |
| 41 | { |
| 42 | spdlog::warn( "RecentFilesStore has no app name, data is not read" ); |
| 43 | return {}; |
| 44 | } |
| 45 | auto& cfg = Config::instance(); |
| 46 | return cfg.getFileStack( cRecentFilesStorageKey ); |
| 47 | } |
| 48 | |
| 49 | boost::signals2::connection RecentFilesStore::onUpdate( const boost::function<void( const FileNamesStack& files )> & slot, boost::signals2::connect_position position ) |
| 50 | { |
no test coverage detected