Files
nostalgia/src/olympic/turbine/src/gba/context.hpp
Gary Talent 9f040392c7
All checks were successful
Build / build (push) Successful in 1m18s
[olympic,nostalgia] Cleanup style
2025-06-24 01:59:22 -05:00

32 lines
702 B
C++

/*
* Copyright 2016 - 2025 Gary Talent (gary@drinkingtea.net). All rights reserved.
*/
#pragma once
#include <keel/context.hpp>
#include <turbine/context.hpp>
#include <turbine/turbine.hpp>
namespace turbine {
class Context final {
public:
UpdateHandler updateHandler = [](Context&) -> int {return 0;};
keel::Context keelCtx;
KeyEventHandler keyEventHandler = nullptr;
ox::AnyPtr applicationData;
// GBA impl data /////////////////////////////////////////////////////////
bool running = true;
Context() noexcept = default;
Context(Context &other) noexcept = delete;
Context(Context const &other) noexcept = delete;
Context(Context const &&other) noexcept = delete;
};
}