3 #include <MpqArchive.h>
4 #include "SearchableListWidget.h"
13 IFileView(
const WorldStone::MpqArchive::Path& _filePath) : filePath(std::move(_filePath)) {}
15 virtual void display() { ImGui::Text(
"File:%s", filePath.c_str()); }
19 WorldStone::MpqArchive::Path filePath;
24 void displayMenuBar();
27 std::unique_ptr<IFileView> currentView;
36 WorldStone::IOBase::Path mpqDirectory;
39 static char const*
const mpqFiles[];
40 static char const*
const listFiles[];
42 void onFileSelected(
const char* fileName);
A wrapper to manage MPQ archives.