mirror of
https://github.com/Adaptix-Framework/AdaptixC2
synced 2026-06-08 10:20:39 +00:00
42 lines
945 B
C++
42 lines
945 B
C++
#ifndef ADAPTIXCLIENT_MAINUI_H
|
|
#define ADAPTIXCLIENT_MAINUI_H
|
|
|
|
#include <main.h>
|
|
|
|
class AuthProfile;
|
|
class AdaptixWidget;
|
|
class WebSocketWorker;
|
|
|
|
class MainUI : public QMainWindow
|
|
{
|
|
QTabWidget* mainuiTabWidget = nullptr;
|
|
|
|
QVector<AdaptixWidget*> AdaptixProjects;
|
|
|
|
public:
|
|
explicit MainUI();
|
|
~MainUI() override;
|
|
|
|
static void onNewProject();
|
|
void onCloseProject();
|
|
void onAxScriptConsole();
|
|
|
|
static void onScriptManager();
|
|
static void onSettings();
|
|
|
|
void AddNewProject(AuthProfile* profile, QThread* channelThread, WebSocketWorker* channelWsWorker);
|
|
|
|
bool AddNewExtension(ExtensionFile *extFile);
|
|
bool SyncExtension(const QString &Project, ExtensionFile *extFile);
|
|
void RemoveExtension(const ExtensionFile &extFile);
|
|
|
|
void UpdateSessionsTableColumns();
|
|
void UpdateGraphIcons();
|
|
void UpdateTasksTableColumns();
|
|
|
|
protected:
|
|
void closeEvent(QCloseEvent *event) override;
|
|
};
|
|
|
|
#endif
|