Refactor...
This commit is contained in:
24
src/loader.h
Normal file
24
src/loader.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
namespace anm2ed::loader
|
||||
{
|
||||
class Loader
|
||||
{
|
||||
public:
|
||||
SDL_Window* window{};
|
||||
SDL_GLContext glContext{};
|
||||
settings::Settings settings;
|
||||
std::vector<std::string> arguments;
|
||||
bool isError{};
|
||||
|
||||
Loader(int argc, const char** argv);
|
||||
~Loader();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user