diff --git a/Attorney_Online_remake.pro b/Attorney_Online_remake.pro index f8a203f..1f2af98 100644 --- a/Attorney_Online_remake.pro +++ b/Attorney_Online_remake.pro @@ -27,7 +27,8 @@ SOURCES += main.cpp\ aopacket.cpp \ packet_distribution.cpp \ hex_functions.cpp \ - encryption_functions.cpp + encryption_functions.cpp \ + courtroom.cpp HEADERS += lobby.h \ text_file_functions.h \ @@ -42,4 +43,5 @@ HEADERS += lobby.h \ datatypes.h \ aopacket.h \ hex_functions.h \ - encryption_functions.h + encryption_functions.h \ + courtroom.h diff --git a/aoapplication.h b/aoapplication.h index 0b8d453..d37dc86 100644 --- a/aoapplication.h +++ b/aoapplication.h @@ -5,11 +5,11 @@ #include "datatypes.h" #include -#include #include class NetworkManager; class Lobby; +class Courtroom; class AOApplication : public QApplication { diff --git a/courtroom.cpp b/courtroom.cpp new file mode 100644 index 0000000..ead897f --- /dev/null +++ b/courtroom.cpp @@ -0,0 +1,8 @@ +#include "courtroom.h" + +#include "aoapplication.h" + +Courtroom::Courtroom(AOApplication *parent) : QMainWindow(parent) +{ + +} diff --git a/courtroom.h b/courtroom.h new file mode 100644 index 0000000..7edb4fc --- /dev/null +++ b/courtroom.h @@ -0,0 +1,19 @@ +#ifndef COURTROOM_H +#define COURTROOM_H + +#include + +class AOApplication; + +class Courtroom : public QMainWindow +{ + Q_OBJECT +public: + explicit Courtroom(AOApplication *parent = 0); + +signals: + +public slots: +}; + +#endif // COURTROOM_H diff --git a/lobby.h b/lobby.h index becf0e8..520cc79 100644 --- a/lobby.h +++ b/lobby.h @@ -1,16 +1,16 @@ #ifndef LOBBY_H #define LOBBY_H +#include "aoimage.h" +#include "aobutton.h" +#include "aopacket.h" + #include #include #include #include #include -#include "aoimage.h" -#include "aobutton.h" -#include "aopacket.h" - class AOApplication; class Lobby : public QMainWindow diff --git a/path_functions.cpp b/path_functions.cpp index 3be9317..4a3cdb7 100644 --- a/path_functions.cpp +++ b/path_functions.cpp @@ -1,9 +1,10 @@ -#include +#include "path_functions.h" #include "global_variables.h" #include "text_file_functions.h" -#include "path_functions.h" +#include +#include QString get_base_path(){ return (QDir::currentPath() + "/base/"); @@ -18,5 +19,3 @@ QString get_default_theme_path() { return get_base_path() + "themes/default/"; } - -