#ifndef _AUTOPILOT_H
#define _AUTOPILOT_H
+
#include <Aircraft/aircraft.h>
#include <Flight/flight.h>
#include <Controls/controls.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
int Mode ; // the current mode the AP is operating in
void fgAPSetMode( int mode);
+#ifdef __cplusplus
+}
#endif
-
\ No newline at end of file
+
+
+#endif // _AUTOPILOT_H
+