Reorganized client source code

Removed many useless and old classes
Started transition to new CSS
Added URIs for specific REST requests
This commit is contained in:
Pax1601
2023-03-05 21:29:58 +01:00
parent ed2343c704
commit 360c85b563
228 changed files with 1088 additions and 3635 deletions

View File

@@ -16,7 +16,7 @@ public:
void updateExportData(json::value json);
void updateMissionData(json::value json);
json::value json();
json::value json(bool fullRefresh);
virtual void setState(int newState) { state = newState; };
void resetTask();

View File

@@ -18,7 +18,6 @@ public:
private:
std::thread* serverThread;
json::value answer;
void handle_options(http_request request);
void handle_get(http_request request);

View File

@@ -13,7 +13,7 @@ public:
Unit* getUnit(int ID);
void updateExportData(lua_State* L);
void updateMissionData(json::value missionData);
void updateAnswer(json::value& answer);
void updateAnswer(json::value& answer, bool fullRefresh);
void deleteUnit(int ID);
private: