mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
initial commit of local server code
This commit is contained in:
parent
cbfbc542e7
commit
7921b5f82d
35 changed files with 143 additions and 365 deletions
|
|
@ -21,10 +21,11 @@
|
|||
#define WINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "client.h"
|
||||
#include "abstractclient.h"
|
||||
#include "protocol_datastructures.h"
|
||||
|
||||
class TabSupervisor;
|
||||
class RemoteClient;
|
||||
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
|
@ -38,6 +39,7 @@ private slots:
|
|||
|
||||
void actConnect();
|
||||
void actDisconnect();
|
||||
void actSinglePlayer();
|
||||
void actDeckEditor();
|
||||
void actFullScreen(bool checked);
|
||||
void actSettings();
|
||||
|
|
@ -49,10 +51,10 @@ private:
|
|||
void createActions();
|
||||
void createMenus();
|
||||
QMenu *cockatriceMenu, *tabMenu;
|
||||
QAction *aConnect, *aDisconnect, *aDeckEditor, *aFullScreen, *aSettings, *aExit;
|
||||
QAction *aConnect, *aDisconnect, *aSinglePlayer, *aDeckEditor, *aFullScreen, *aSettings, *aExit;
|
||||
TabSupervisor *tabSupervisor;
|
||||
|
||||
Client *client;
|
||||
RemoteClient *client;
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue