status-desktop/src-cpp/app/modules/main/module.h

32 lines
785 B
C
Raw Normal View History

2022-01-20 14:48:57 +00:00
#pragma once
#include "app_controller_delegate.h"
#include "controller.h"
#include "interfaces/module_controller_delegate_interface.h"
#include "interfaces/module_view_delegate_interface.h"
#include "login/module_access_interface.h"
#include "module_access_interface.h"
#include "onboarding/module_access_interface.h"
#include "view.h"
#include <QVariant>
namespace Modules
{
namespace Main
{
class Module : public ModuleAccessInterface, ModuleControllerDelegateInterface, ModuleViewDelegateInterface
{
private:
AppControllerDelegate* m_delegate;
View* m_view;
Controller* m_controller;
public:
2022-01-20 15:50:10 +00:00
Module(AppControllerDelegate* delegate);
2022-01-20 14:48:57 +00:00
~Module();
void load() override;
void checkIfModuleDidLoad();
void viewDidLoad() override;
};
}; // namespace Main
}; // namespace Modules