#ifndef AOAPPLICATION_H #define AOAPPLICATION_H #include "aopacket.h" #include "datatypes.h" #include #include #include class NetworkManager; class Lobby; class AOApplication : public QApplication { Q_OBJECT public: AOApplication(int &argc, char **argv); ~AOApplication(); NetworkManager *net_manager; Lobby *w_lobby; //T0D0: change to custom class "Courtroom" QMainWindow *w_courtroom; bool lobby_constructed = false; bool courtroom_constructed = false; void construct_lobby(); void destruct_lobby(); void construct_courtroom(); void destruct_courtroom(); QVector server_list; QVector favorite_list; void ms_packet_received(AOPacket *p_packet); }; #endif // AOAPPLICATION_H