Usunięto TUI, Zmieniono strukturę PAK... agan, Rezygnacja z FNV hash jako referencji, Zmieana wartości flag na maski
This commit is contained in:
parent
a84a69cbd6
commit
91aaa279ec
16 changed files with 86 additions and 575 deletions
16
ViewCargo.h
16
ViewCargo.h
|
|
@ -30,7 +30,6 @@
|
|||
#include <ftxui/dom/table.hpp>
|
||||
|
||||
#include "DataStruct.h"
|
||||
#include "Tui.h"
|
||||
|
||||
class ViewCargo {
|
||||
public:
|
||||
|
|
@ -40,19 +39,8 @@ public:
|
|||
bool View(const std::string&);
|
||||
|
||||
private:
|
||||
Tui tui;
|
||||
const std::string signature;
|
||||
const uint16_t version;
|
||||
|
||||
uint32_t filesLen;
|
||||
uint64_t tablePos;
|
||||
std::vector<ftxui::Element> filesList;
|
||||
std::vector<std::vector<std::string>> list;
|
||||
|
||||
bool CheckCargoFile(const std::string&);
|
||||
void GetFileList(const std::string&);
|
||||
void RenderList();
|
||||
void CreateTableRow(const std::string&, const uint8_t&, const uint64_t&);
|
||||
bool ViewFiles(const std::string&);
|
||||
void ShowFile(const std::string&, const uint8_t&);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue