Files
XPlaneConnectCSP/xpcPlugin/xpcPluginTools.h
Jason Watkins 547eb4de18 Refactored various message-related operations into the Message class.
- Replaces the XPCMessage struct.
 - Messages are now read from a UDPSocket by the Message class.
 - Printing messages to the log is now handled by the Message class.
 - In the future, may extend this class with command-specific subclasses that encapsulate additional message parsing functionality.
2015-04-13 09:42:29 -07:00

36 lines
690 B
C

//
// xpcPluginTools.pch
// xpcPlugin
//
// Created by Chris Teubert on 4/14/14.
//
//
#ifndef xpcPlugin_xpcPluginTools_h
#define xpcPlugin_xpcPluginTools_h
#include "UDPSocket.h"
#include <time.h>
#include "xplaneConnect.h"
#include "XPLMDataAccess.h"
extern XPLMDataRef XPLMDataRefs[134][8];
extern XPLMDataRef multiplayer[20][17];
extern XPLMDataRef AIswitch;
void buildXPLMDataRefs(void);
int almostequal(float arg1, float arg2, float tol);
int test(const char *buffer);
int test(int buffer);
unsigned short getIP(struct sockaddr recvaddr, char *IP);
int fmini(int a, int b);
#endif