56 using Ptr = std::shared_ptr<FileListProvider>;
64 void search(Spotlight::IItem::Vector& out,
65 const Spotlight::SearchToken::Vector& tokens,
66 const Yuni::String& text =
"")
override;
67 bool onSelect(Spotlight::IItem::Ptr& item)
override;
68 bool onSelect(
const Spotlight::IItem::Vector&)
override;
69 void refreshFileList(
bool showAll);
74 bool pAutoTriggerSelection;
76 MapFileList pAllSimuLogs;
77 MapFileList pAllUILogs;
78 std::shared_ptr<wxBitmap> pBmpFile;
93 bool operator()(
const Yuni::String& s1,
const Yuni::String& s2)
const
100 using Map = std::map<Yuni::String, LogFilenameInfo, ltstr>;
105 wxClientData* clientData;
119 void refreshListOfAllAvailableLogs();
121 void loadFromFile(
const Yuni::String& filename);
123 const Yuni::String& lastLogFile()
const
134 void onButtonRefreshFileList(
void*);
138 void onReloadLogFile(
void*);
143 void onClose(wxCloseEvent& evt);
148 void enterLoadingMode(
const Yuni::String& filename);
150 void onChangeShowAllAdvanced(wxCommandEvent&);
154 Yuni::String pLastLogFile;
158 wxStaticText* pTxtFromFolder;
176 wxSplitterWindow* pSplitter;
179 bool pCanCloseTheWindow;
184 std::mutex pLoadingMutex;
187 bool pShowAllLogsFiles;
189 FileListProvider::Ptr mProvider;
192 Yuni::Event<void(
bool)> onRefreshListOfFiles;
195 DECLARE_EVENT_TABLE()
std::shared_ptr< LogEntryContainer > Ptr
The most suitable smart pointer for the class.
Definition logfile.h:86