bde3eb92b0
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
29 lines
497 B
C++
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();
|
|
};
|