AppleWin/source/linux/context.h
Andrea Odetti bde3eb92b0 Improve symmetry of Constructor/Destructor functions.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-05-24 09:22:01 +01:00

29 lines
497 B
C++

#pragma once
#include <memory>
class FrameBase;
class Paddle;
class Registry;
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();
};