[nostalgia/studio] Add StudioContext
This commit is contained in:
parent
9bd10bac78
commit
4843e28b9a
@ -49,6 +49,7 @@ target_link_libraries(
|
||||
install(
|
||||
FILES
|
||||
configio.hpp
|
||||
context.hpp
|
||||
editor.hpp
|
||||
filedialog.hpp
|
||||
module.hpp
|
||||
|
18
src/nostalgia/studio/lib/context.hpp
Normal file
18
src/nostalgia/studio/lib/context.hpp
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright 2016 - 2022 Gary Talent (gary@drinkingtea.net). All rights reserved.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ox/event/signal.hpp>
|
||||
|
||||
#include "project.hpp"
|
||||
|
||||
namespace nostalgia::studio {
|
||||
|
||||
struct StudioContext {
|
||||
ox::SignalHandler *ui = nullptr;
|
||||
Project *project = nullptr;
|
||||
};
|
||||
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lib/context.hpp"
|
||||
#include "lib/editor.hpp"
|
||||
#include "lib/filedialog.hpp"
|
||||
#include "lib/module.hpp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user