1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-21 12:17:45 +00:00
astra/launcher/desktop/include/desktopinterface.h

30 lines
No EOL
659 B
C++

#pragma once
#include <QMdiArea>
#include <QMainWindow>
#include "launcherwindow.h"
#include "autologinwindow.h"
#include "virtualdialog.h"
/*
* The desktop, mouse and keyboard-driven interface for Astra. Primarily meant
* for regular desktop usage.
*/
class DesktopInterface {
public:
explicit DesktopInterface(LauncherCore& core);
void addWindow(VirtualWindow* window);
void addDialog(VirtualDialog* dialog);
bool oneWindow = false;
bool isSteamDeck = false;
private:
QMdiArea* mdiArea = nullptr;
QMainWindow* mdiWindow = nullptr;
LauncherWindow* window = nullptr;
AutoLoginWindow* autoLoginWindow = nullptr;
};