Convert ESP to Recorder
This commit is contained in:
@@ -113,13 +113,17 @@ class SimConnect
|
||||
SimConnect(
|
||||
HWND hWnd,
|
||||
std::function<void(const std::string)> toLog,
|
||||
std::shared_ptr<germanairlinesva::file::config::Config> &configuration);
|
||||
std::shared_ptr<germanairlinesva::file::config::Config> configuration);
|
||||
~SimConnect();
|
||||
bool isConnected() const;
|
||||
const std::string getVersion() const;
|
||||
char getVersion() const;
|
||||
void getData(struct germanairlinesva::gaconnector::websocket::data *data);
|
||||
void getStates() const;
|
||||
void handleMessage();
|
||||
void handleMessage(std::function<void(int)> callbackOpen,
|
||||
std::function<void()> callbackData);
|
||||
|
||||
static const std::string resolveVersion(char version);
|
||||
static const std::string resolveScenery(char version);
|
||||
};
|
||||
|
||||
#endif
|
||||
+3
-9
@@ -10,25 +10,19 @@
|
||||
#include <queue>
|
||||
#include <string>
|
||||
|
||||
#include "constants.h"
|
||||
|
||||
#include "websocket.h"
|
||||
|
||||
#include <shlobj.h>
|
||||
#include <stdlib.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "_simconnect.h"
|
||||
#include "config/config.hpp"
|
||||
#include "constants.h"
|
||||
#include "logbook/logbook.hpp"
|
||||
#include "recording/recording.hpp"
|
||||
#include "simdata/simDatabase.hpp"
|
||||
#include "recorder.h"
|
||||
|
||||
WINBOOL addNotifyIcon(HWND hWnd);
|
||||
WINBOOL removeNotifyIcon(HWND hWnd);
|
||||
WINBOOL createMenu(HWND hWnd);
|
||||
void end(HWND hwnd);
|
||||
void serverWorker();
|
||||
void recordingWorker();
|
||||
void toLog(const std::string &message);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user