21 #ifndef __ANTARES_APPLICATION_RECENT_FILES_H__
22 #define __ANTARES_APPLICATION_RECENT_FILES_H__
24 #include <yuni/yuni.h>
25 #include "../toolbox/wx-wrapper.h"
28 namespace Antares::RecentFiles
37 using List = std::list<std::pair<wxString, wxString>>;
39 using ListPtr = Yuni::SmartPtr<List>;
49 void Add(
const wxString& path,
const wxString& title = wxString());
54 ListPtr AddAndGet(wxString path,
const wxString& title = wxString());
59 void Write(
const ListPtr lst);
64 void ShowPathInMenu(
bool value);
69 bool ShowPathInMenu();