Simulator database for X-Plane
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_TYPES_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_TYPES_H
|
||||
#ifndef GERMANAIRLINESVA_GACONNECTOR_WEBSOCKET_TYPES_H
|
||||
#define GERMANAIRLINESVA_GACONNECTOR_WEBSOCKET_TYPES_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
|
||||
@@ -10,21 +10,7 @@
|
||||
#include <json.hpp>
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef IBM
|
||||
// clang-format off
|
||||
#include <wtypes.h>
|
||||
#include <wincrypt.h>
|
||||
// clang-format on
|
||||
#endif
|
||||
#ifdef APL
|
||||
#include <CommonCrypto/CommonDigest.h>
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#ifdef LIN
|
||||
#include <openssl/md5.h>
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include "util.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <functional>
|
||||
@@ -51,12 +37,6 @@ public:
|
||||
ix::WebSocket &ws,
|
||||
const ix::WebSocketMessagePtr &msg);
|
||||
void sendData(data d);
|
||||
int generateMD5(const char *filepath);
|
||||
};
|
||||
|
||||
#if defined APL || defined LIN
|
||||
unsigned long get_size_by_fd(int fd);
|
||||
#endif
|
||||
void to_hex(const char *hash, char *buffer);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user