41 lines
778 B
C++
41 lines
778 B
C++
#ifndef ADAPTIXCLIENT_MAINADAPTIX_H
|
|
#define ADAPTIXCLIENT_MAINADAPTIX_H
|
|
|
|
#include <main.h>
|
|
|
|
namespace oclero::qlementine {
|
|
class QlementineStyle;
|
|
}
|
|
|
|
class Extender;
|
|
class Settings;
|
|
class Storage;
|
|
class MainUI;
|
|
class AuthProfile;
|
|
|
|
class MainAdaptix : public QWidget {
|
|
|
|
public:
|
|
MainUI* mainUI = nullptr;
|
|
Storage* storage = nullptr;
|
|
Extender* extender = nullptr;
|
|
Settings* settings = nullptr;
|
|
oclero::qlementine::QlementineStyle* qlementineStyle = nullptr;
|
|
|
|
explicit MainAdaptix();
|
|
~MainAdaptix() override;
|
|
|
|
static void Exit();
|
|
|
|
void Start() const;
|
|
void NewProject() const;
|
|
void SetApplicationTheme() const;
|
|
void ApplyApplicationFont() const;
|
|
|
|
static AuthProfile* Login();
|
|
};
|
|
|
|
extern MainAdaptix* GlobalClient;
|
|
|
|
#endif
|