2022-02-14 14:38:41 +00:00
|
|
|
#ifndef CONTROLLER_H
|
|
|
|
#define CONTROLLER_H
|
2022-01-20 14:48:57 +00:00
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
2022-02-14 14:38:41 +00:00
|
|
|
#include "interfaces/controller_interface.h"
|
|
|
|
#include "signals.h"
|
|
|
|
|
2022-02-16 21:51:04 +00:00
|
|
|
namespace Modules::Main
|
2022-01-20 14:48:57 +00:00
|
|
|
{
|
|
|
|
|
2022-02-16 21:51:04 +00:00
|
|
|
class Controller : public QObject, public IController
|
2022-01-20 14:48:57 +00:00
|
|
|
{
|
|
|
|
public:
|
2022-02-14 14:38:41 +00:00
|
|
|
explicit Controller(QObject* parent = nullptr);
|
|
|
|
~Controller() = default;
|
2022-01-20 14:48:57 +00:00
|
|
|
|
2022-02-14 14:38:41 +00:00
|
|
|
void init() override;
|
2022-01-20 14:48:57 +00:00
|
|
|
};
|
|
|
|
|
2022-02-16 21:51:04 +00:00
|
|
|
} // namespace Modules::Main
|
2022-02-14 14:38:41 +00:00
|
|
|
|
|
|
|
#endif // CONTROLLER_H
|