Commit 51b0677 1 parent d0fc1ff commit 51b0677 Copy full SHA for 51b0677
File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ class Archive {
37
37
38
38
virtual bool Open () = 0;
39
39
virtual bool Close () = 0;
40
- virtual std::shared_ptr<File> LoadFileRaw (const std::string& filePath) = 0;
41
- virtual std::shared_ptr<File> LoadFileRaw (uint64_t hash) = 0;
42
40
43
41
protected:
44
42
void SetLoaded (bool isLoaded);
45
43
void SetGameVersion (uint32_t gameVersion);
46
44
void IndexFile (const std::string& filePath);
45
+ virtual std::shared_ptr<File> LoadFileRaw (const std::string& filePath) = 0;
46
+ virtual std::shared_ptr<File> LoadFileRaw (uint64_t hash) = 0;
47
47
48
48
private:
49
49
static std::shared_ptr<ResourceInitData> CreateDefaultResourceInitData ();
Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ class O2rArchive : virtual public Archive {
22
22
23
23
bool Open ();
24
24
bool Close ();
25
+
26
+ protected:
25
27
std::shared_ptr<File> LoadFileRaw (const std::string& filePath);
26
28
std::shared_ptr<File> LoadFileRaw (uint64_t hash);
27
29
28
- protected:
29
30
private:
30
31
zip_t * mZipArchive ;
31
32
};
Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ class OtrArchive : virtual public Archive {
26
26
27
27
bool Open ();
28
28
bool Close ();
29
+
30
+ protected:
29
31
std::shared_ptr<File> LoadFileRaw (const std::string& filePath);
30
32
std::shared_ptr<File> LoadFileRaw (uint64_t hash);
31
33
32
- protected:
33
34
private:
34
35
HANDLE mHandle ;
35
36
};
You can’t perform that action at this time.
0 commit comments