mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-01 13:52:19 -05:00
d24c8453db
subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
23 lines
381 B
C++
23 lines
381 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
#include "GlobalCtx2.h"
|
|
|
|
namespace Ship {
|
|
class Archive;
|
|
|
|
class File
|
|
{
|
|
public:
|
|
std::shared_ptr<Archive> parent;
|
|
std::string path;
|
|
std::shared_ptr<char[]> buffer;
|
|
uint32_t dwBufferSize;
|
|
bool bIsLoaded = false;
|
|
bool bHasLoadError = false;
|
|
std::condition_variable FileLoadNotifier;
|
|
std::mutex FileLoadMutex;
|
|
};
|
|
}
|