mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
51e4485966
* Merges GlobalCtx2 and Window classes. * Includes condition variable in File. * add mac specific include * sstream to get past "implicit instantiation of undefined template" error * switch/wiiu includes * that file doesn't exist * more wii u globalctx2 stuff Co-authored-by: briaguya <briaguya@alice>
24 lines
404 B
C++
24 lines
404 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <memory>
|
|
#include <mutex>
|
|
#include <condition_variable>
|
|
|
|
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;
|
|
};
|
|
}
|