Convert ESP to Recorder

This commit is contained in:
2022-10-04 17:47:45 +02:00
parent 0a150391b8
commit 3a9db68e74
12 changed files with 271 additions and 316 deletions
+13
View File
@@ -7,8 +7,18 @@
#include <queue>
#include <thread>
#include "constants.h"
#include "websocket.h"
#if defined(IBM) && not defined(XP)
#include "_simconnect.h"
#include <shlobj.h>
#include <stdlib.h>
#include <windows.h>
#endif
#include "config/config.hpp"
#include "logbook/logbook.hpp"
#include "recording/recording.hpp"
@@ -45,6 +55,7 @@ namespace gaconnector
void serverWorker();
void recordingWorker();
// For Testing
void test() const;
@@ -54,6 +65,8 @@ namespace gaconnector
void setData(websocket::data &data);
void handleMessages();
std::shared_ptr<file::config::Config> getConfiguration() const;
void loadDatabase(int simVersion);
};
} // namespace recorder
} // namespace gaconnector