2022-01-20 14:48:57 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "controller_interface.h"
|
|
|
|
#include "interfaces/module_controller_delegate_interface.h"
|
|
|
|
#include "signals.h"
|
|
|
|
#include <QObject>
|
|
|
|
|
|
|
|
namespace Modules
|
|
|
|
{
|
|
|
|
namespace Main
|
|
|
|
{
|
|
|
|
|
|
|
|
class Controller : public QObject, ControllerInterface
|
|
|
|
{
|
|
|
|
public:
|
2022-01-20 15:50:10 +00:00
|
|
|
Controller(ModuleControllerDelegateInterface* delegate, QObject* parent = nullptr);
|
2022-01-20 14:48:57 +00:00
|
|
|
void init() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
ModuleControllerDelegateInterface* m_delegate;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Main
|
|
|
|
} // namespace Modules
|