-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathSusie.h
35 lines (28 loc) · 864 Bytes
/
Susie.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#pragma once
class CArcFile;
struct SSusieInfo
{
YCString name; // Filename
YCString version; // Version info
YCString info; // Plugin info
YCString supported_formats; // Supported formats
BOOL has_config_dialog; // Presence or absence of a configuration dialog
YCString path; // File path
BOOL validity; // Validity
YCLibrary plugin; // Module
};
class CSusie
{
public:
bool Mount(CArcFile* archive);
bool Decode(CArcFile* archive);
void Init();
void Apply();
void LoadSpi(const YCString& susie_folder_path);
void SaveSpi();
std::vector<SSusieInfo>& GetSusie() { return m_main; }
std::vector<SSusieInfo>& GetSusieTmp() { return m_temporary; }
private:
static std::vector<SSusieInfo> m_main;
static std::vector<SSusieInfo> m_temporary;
};