summaryrefslogtreecommitdiffhomepage
path: root/x-plane-plugin/plugin.c
diff options
context:
space:
mode:
authorSven Kocksch <github@miniskipper.at>2017-05-16 10:14:53 +0200
committerGitHub <noreply@github.com>2017-05-16 10:14:53 +0200
commitaacc3bb2b563cd172e340365b8f14ec8fae32d9d (patch)
tree11c5216d12ab7ae82ccfe36ee279d72943e87985 /x-plane-plugin/plugin.c
parentc2fdd8504ae99a408cc2630925cfb85295250d73 (diff)
rename macro
Diffstat (limited to 'x-plane-plugin/plugin.c')
-rw-r--r--x-plane-plugin/plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/x-plane-plugin/plugin.c b/x-plane-plugin/plugin.c
index 7897abe6..39e928ba 100644
--- a/x-plane-plugin/plugin.c
+++ b/x-plane-plugin/plugin.c
@@ -160,7 +160,7 @@ static int TranslationToggleHandler( XPLMCommandRef inCommand,
return 0;
}
-PLUGIN_API OPENTRACK_COMPAT_EXPORT int XPluginStart ( char * outName, char * outSignature, char * outDescription ) {
+PLUGIN_API OTR_COMPAT_EXPORT int XPluginStart ( char * outName, char * outSignature, char * outDescription ) {
view_x = XPLMFindDataRef("sim/aircraft/view/acf_peX");
view_y = XPLMFindDataRef("sim/aircraft/view/acf_peY");
view_z = XPLMFindDataRef("sim/aircraft/view/acf_peZ");
@@ -198,7 +198,7 @@ PLUGIN_API OPENTRACK_COMPAT_EXPORT int XPluginStart ( char * outName, char * out
return 0;
}
-PLUGIN_API OPENTRACK_COMPAT_EXPORT void XPluginStop ( void ) {
+PLUGIN_API OTR_COMPAT_EXPORT void XPluginStop ( void ) {
if (lck_posix)
{
PortableLockedShm_free(lck_posix);
@@ -207,17 +207,17 @@ PLUGIN_API OPENTRACK_COMPAT_EXPORT void XPluginStop ( void ) {
}
}
-PLUGIN_API OPENTRACK_COMPAT_EXPORT void XPluginEnable ( void ) {
+PLUGIN_API OTR_COMPAT_EXPORT void XPluginEnable ( void ) {
XPLMRegisterFlightLoopCallback(write_head_position, -1.0, NULL);
track_disabled = 0;
}
-PLUGIN_API OPENTRACK_COMPAT_EXPORT void XPluginDisable ( void ) {
+PLUGIN_API OTR_COMPAT_EXPORT void XPluginDisable ( void ) {
XPLMUnregisterFlightLoopCallback(write_head_position, NULL);
track_disabled = 1;
}
-PLUGIN_API OPENTRACK_COMPAT_EXPORT void XPluginReceiveMessage(
+PLUGIN_API OTR_COMPAT_EXPORT void XPluginReceiveMessage(
XPLMPluginID OT_UNUSED(inFromWho),
int OT_UNUSED(inMessage),
void * OT_UNUSED(inParam))