AppleWin/source/linux/context.h

30 lines
497 B
C
Raw Normal View History

2021-01-10 11:47:44 +00:00
#pragma once
#include <memory>
class FrameBase;
class Paddle;
class Registry;
2021-01-10 11:47:44 +00:00
void SetFrame(const std::shared_ptr<FrameBase> & frame);
// RAII around Frame Registry and Paddle
class Initialisation
{
public:
Initialisation(
const std::shared_ptr<Registry> & registry,
const std::shared_ptr<FrameBase> & frame,
const std::shared_ptr<Paddle> & paddle
);
~Initialisation();
};
// RAII around LogInit / LogDone.
class Logger
{
public:
Logger(const bool log);
~Logger();
};