From df5e2fd198decc4bbea8095e69aae0b06e7a5d55 Mon Sep 17 00:00:00 2001 From: Jason Watkins Date: Fri, 19 Oct 2018 17:44:27 -0700 Subject: [PATCH] Update copyright notice --- C/monitorExample/main.c | 2 +- C/playbackExample/src/chrome.c | 2 +- C/playbackExample/src/chrome.h | 2 +- C/playbackExample/src/main.c | 2 +- C/playbackExample/src/playback.c | 2 +- C/playbackExample/src/playback.h | 2 +- C/src/xplaneConnect.c | 2 +- C/src/xplaneConnect.h | 2 +- Java/src/ViewType.java | 2 +- Java/src/WaypointOp.java | 2 +- Java/src/XPlaneConnect.java | 2 +- README.md | 6 +++--- TestScripts/C Tests/CtrlTests.h | 4 ++-- TestScripts/C Tests/DataTests.h | 4 ++-- TestScripts/C Tests/DrefTests.h | 2 +- TestScripts/C Tests/PosiTests.h | 2 +- TestScripts/C Tests/SimuTests.h | 2 +- TestScripts/C Tests/Test.c | 2 +- TestScripts/C Tests/Test.h | 4 ++-- TestScripts/C Tests/TextTests.h | 4 ++-- TestScripts/C Tests/UDPTests.h | 4 ++-- TestScripts/C Tests/ViewTests.h | 4 ++-- TestScripts/C Tests/WyptTests.h | 4 ++-- TestScripts/C Tests/main.c | 3 +-- xpcPlugin/DataManager.cpp | 2 +- xpcPlugin/DataManager.h | 2 +- xpcPlugin/Drawing.cpp | 2 +- xpcPlugin/Drawing.h | 2 +- xpcPlugin/Log.cpp | 4 ++-- xpcPlugin/Log.h | 4 ++-- xpcPlugin/Message.cpp | 2 +- xpcPlugin/Message.h | 2 +- xpcPlugin/MessageHandlers.cpp | 10 +++++----- xpcPlugin/MessageHandlers.h | 2 +- xpcPlugin/UDPSocket.cpp | 2 +- xpcPlugin/UDPSocket.h | 2 +- xpcPlugin/XPCPlugin.cpp | 6 +++--- 37 files changed, 54 insertions(+), 55 deletions(-) diff --git a/C/monitorExample/main.c b/C/monitorExample/main.c index 998c893..e6d2e62 100644 --- a/C/monitorExample/main.c +++ b/C/monitorExample/main.c @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // DISCLAIMERS diff --git a/C/playbackExample/src/chrome.c b/C/playbackExample/src/chrome.c index 563cef8..b4a95b9 100644 --- a/C/playbackExample/src/chrome.c +++ b/C/playbackExample/src/chrome.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/playbackExample/src/chrome.h b/C/playbackExample/src/chrome.h index 35b3f60..33bc0c6 100644 --- a/C/playbackExample/src/chrome.h +++ b/C/playbackExample/src/chrome.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/playbackExample/src/main.c b/C/playbackExample/src/main.c index 1787be6..ed13e9a 100644 --- a/C/playbackExample/src/main.c +++ b/C/playbackExample/src/main.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/playbackExample/src/playback.c b/C/playbackExample/src/playback.c index 1f4025e..4d2e594 100644 --- a/C/playbackExample/src/playback.c +++ b/C/playbackExample/src/playback.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/playbackExample/src/playback.h b/C/playbackExample/src/playback.h index 889a7ee..d76623d 100644 --- a/C/playbackExample/src/playback.h +++ b/C/playbackExample/src/playback.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/src/xplaneConnect.c b/C/src/xplaneConnect.c index e0e35af..ed984fb 100755 --- a/C/src/xplaneConnect.c +++ b/C/src/xplaneConnect.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/C/src/xplaneConnect.h b/C/src/xplaneConnect.h index ff88620..8cfb06f 100644 --- a/C/src/xplaneConnect.h +++ b/C/src/xplaneConnect.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. // //DISCLAIMERS diff --git a/Java/src/ViewType.java b/Java/src/ViewType.java index 0457050..3cff8c4 100644 --- a/Java/src/ViewType.java +++ b/Java/src/ViewType.java @@ -1,5 +1,5 @@ //NOTICES: -// Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // DISCLAIMERS diff --git a/Java/src/WaypointOp.java b/Java/src/WaypointOp.java index 116d848..30cf4fc 100644 --- a/Java/src/WaypointOp.java +++ b/Java/src/WaypointOp.java @@ -1,5 +1,5 @@ //NOTICES: -// Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // DISCLAIMERS diff --git a/Java/src/XPlaneConnect.java b/Java/src/XPlaneConnect.java index b6496aa..9e7f4a3 100644 --- a/Java/src/XPlaneConnect.java +++ b/Java/src/XPlaneConnect.java @@ -1,5 +1,5 @@ //NOTICES: -// Copyright (c) 2013-2016 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // DISCLAIMERS diff --git a/README.md b/README.md index ae78380..851adc5 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ the next official release. ### Notices -Copyright ©2013-2017 United States Government as represented by the Administrator +Copyright ©2013-2018 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY @@ -102,14 +102,14 @@ Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Neither the names of the authors nor that of X-Plane or Laminar Research may be used to endorse or promote products derived from this software without specific prior written permission from the authors or Laminar Research, respectively. - + X-Plane API SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE diff --git a/TestScripts/C Tests/CtrlTests.h b/TestScripts/C Tests/CtrlTests.h index 52f2519..83e7d36 100644 --- a/TestScripts/C Tests/CtrlTests.h +++ b/TestScripts/C Tests/CtrlTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef CTRLTESTS_H #define CTRLTESTS_H @@ -200,4 +200,4 @@ int testGETC_NonPlayer() float CTRL[7] = { 0.0F, 0.0F, 0.0F, 0.8F, 1.0F, 0.5F, -1.5F }; return doGETCTest(CTRL, 2, CTRL); } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/DataTests.h b/TestScripts/C Tests/DataTests.h index 2bf1564..4fde0ab 100644 --- a/TestScripts/C Tests/DataTests.h +++ b/TestScripts/C Tests/DataTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef DATATESTS_H #define DATATESTS_H @@ -59,4 +59,4 @@ int testDATA() return 0; } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/DrefTests.h b/TestScripts/C Tests/DrefTests.h index 9d1c754..c64ce6d 100644 --- a/TestScripts/C Tests/DrefTests.h +++ b/TestScripts/C Tests/DrefTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef DREFTESTS_H #define DREFTESTS_H diff --git a/TestScripts/C Tests/PosiTests.h b/TestScripts/C Tests/PosiTests.h index 317a623..fc084ec 100644 --- a/TestScripts/C Tests/PosiTests.h +++ b/TestScripts/C Tests/PosiTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef POSITESTS_H #define POSITESTS_H diff --git a/TestScripts/C Tests/SimuTests.h b/TestScripts/C Tests/SimuTests.h index 60a3767..f4e81e4 100644 --- a/TestScripts/C Tests/SimuTests.h +++ b/TestScripts/C Tests/SimuTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef SIMUTESTS_H #define SIMIUTESTS_H diff --git a/TestScripts/C Tests/Test.c b/TestScripts/C Tests/Test.c index eec3124..bff0c19 100644 --- a/TestScripts/C Tests/Test.c +++ b/TestScripts/C Tests/Test.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #include "Test.h" diff --git a/TestScripts/C Tests/Test.h b/TestScripts/C Tests/Test.h index 2a40fb9..26b709f 100644 --- a/TestScripts/C Tests/Test.h +++ b/TestScripts/C Tests/Test.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef TESTRUNNER_H #define TESTRUNNER_H @@ -36,4 +36,4 @@ int compareArrays(float* expected[], int esizes[], float* actual[], int asizes[] int compareDoubleArray(double expected[], double actual[], int size); int compareDoubleArrays(double* expected[], int esizes[], double* actual[], int asizes[], int count); -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/TextTests.h b/TestScripts/C Tests/TextTests.h index badf16e..987fc15 100644 --- a/TestScripts/C Tests/TextTests.h +++ b/TestScripts/C Tests/TextTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef TEXTTESTS_H #define TEXTTESTS_H @@ -29,4 +29,4 @@ int testTEXT() return 0; } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/UDPTests.h b/TestScripts/C Tests/UDPTests.h index 3c3d3fa..1a4e3b6 100644 --- a/TestScripts/C Tests/UDPTests.h +++ b/TestScripts/C Tests/UDPTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef UDPTESTS_H #define UDPTESTS_H @@ -52,4 +52,4 @@ int testCONN() return 0; } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/ViewTests.h b/TestScripts/C Tests/ViewTests.h index a25c14f..58013c9 100644 --- a/TestScripts/C Tests/ViewTests.h +++ b/TestScripts/C Tests/ViewTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef VIEWTESTS_H #define VIEWTESTS_H @@ -70,4 +70,4 @@ int testView() return doViewTest(XPC_VIEW_CHASE, XPC_VDREF_CHASE); } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/WyptTests.h b/TestScripts/C Tests/WyptTests.h index fce3c2c..c04ecc9 100644 --- a/TestScripts/C Tests/WyptTests.h +++ b/TestScripts/C Tests/WyptTests.h @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #ifndef WYPTTESTS_H #define WYPTTESTS_H @@ -39,4 +39,4 @@ int testWYPT() return 0; } -#endif \ No newline at end of file +#endif diff --git a/TestScripts/C Tests/main.c b/TestScripts/C Tests/main.c index 802953c..172ac09 100644 --- a/TestScripts/C Tests/main.c +++ b/TestScripts/C Tests/main.c @@ -1,4 +1,4 @@ -//Copyright (c) 2013-2015 United States Government as represented by the Administrator of the +//Copyright (c) 2013-2018 United States Government as represented by the Administrator of the //National Aeronautics and Space Administration. All Rights Reserved. #include "Test.h" #include "UDPTests.h" @@ -85,4 +85,3 @@ int main(int argc, const char * argv[]) { return 0; } - diff --git a/xpcPlugin/DataManager.cpp b/xpcPlugin/DataManager.cpp index 9e098d0..a2acd60 100644 --- a/xpcPlugin/DataManager.cpp +++ b/xpcPlugin/DataManager.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // X-Plane API diff --git a/xpcPlugin/DataManager.h b/xpcPlugin/DataManager.h index b0c416b..15f1218 100644 --- a/xpcPlugin/DataManager.h +++ b/xpcPlugin/DataManager.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_DATAMANAGER_H_ #define XPCPLUGIN_DATAMANAGER_H_ diff --git a/xpcPlugin/Drawing.cpp b/xpcPlugin/Drawing.cpp index d737e36..23df168 100644 --- a/xpcPlugin/Drawing.cpp +++ b/xpcPlugin/Drawing.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // X-Plane API diff --git a/xpcPlugin/Drawing.h b/xpcPlugin/Drawing.h index 51c39de..c6815e1 100644 --- a/xpcPlugin/Drawing.h +++ b/xpcPlugin/Drawing.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_DRAWING_H_ #define XPCPLUGIN_DRAWING_H_ diff --git a/xpcPlugin/Log.cpp b/xpcPlugin/Log.cpp index a059ebb..581ad7e 100644 --- a/xpcPlugin/Log.cpp +++ b/xpcPlugin/Log.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #include "Log.h" @@ -111,7 +111,7 @@ namespace XPC std::fprintf(fd, "X-Plane Connect [Version %s]\n", version.c_str()); std::fprintf(fd, "Compiled %s %s\n", __DATE__, __TIME__); - std::fprintf(fd, "Copyright (c) 2013-2017 United States Government as represented by the\n"); + std::fprintf(fd, "Copyright (c) 2013-2018 United States Government as represented by the\n"); std::fprintf(fd, "Administrator of the National Aeronautics and Space Administration.\n"); std::fprintf(fd, "All Rights Reserved.\n\n"); diff --git a/xpcPlugin/Log.h b/xpcPlugin/Log.h index cd6b6ba..5323678 100644 --- a/xpcPlugin/Log.h +++ b/xpcPlugin/Log.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_LOG_H_ #define XPCPLUGIN_LOG_H_ @@ -27,7 +27,7 @@ namespace XPC { /// Handles logging for the plugin. - /// + /// /// \details Provides functions to write lines to the XPC log file. /// \author Jason Watkins /// \version 1.1 diff --git a/xpcPlugin/Message.cpp b/xpcPlugin/Message.cpp index 81c5c9c..4fad176 100644 --- a/xpcPlugin/Message.cpp +++ b/xpcPlugin/Message.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #include "Message.h" #include "Log.h" diff --git a/xpcPlugin/Message.h b/xpcPlugin/Message.h index 34071cb..7fd6046 100644 --- a/xpcPlugin/Message.h +++ b/xpcPlugin/Message.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_MESSAGE_H_ #define XPCPLUGIN_MESSAGE_H_ diff --git a/xpcPlugin/MessageHandlers.cpp b/xpcPlugin/MessageHandlers.cpp index 94cdccf..0a97c40 100644 --- a/xpcPlugin/MessageHandlers.cpp +++ b/xpcPlugin/MessageHandlers.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // X-Plane API @@ -578,7 +578,7 @@ namespace XPC { DataManager::SetGear(gear, true, aircraftNumber); } - + if (aircraftNumber > 0) { // Enable AI for the aircraftNumber we are setting @@ -589,7 +589,7 @@ namespace XPC ai[aircraftNumber] = 1; DataManager::Set(DREF_PauseAI, ai, 0, 20); } - } + } } void MessageHandlers::HandleSimu(const Message& msg) @@ -621,7 +621,7 @@ namespace XPC else if ((v >= 200) && (v < 220)) { DataManager::GetIntArray(DREF_Pause, value, 20); - value[v - 200] = 0; + value[v - 200] = 0; } else { @@ -633,7 +633,7 @@ namespace XPC // Set DREF DataManager::Set(DREF_Pause, value, 20); - + if (v == 0) { Log::WriteLine(LOG_INFO, "SIMU", "Simulation resumed for all a/c"); diff --git a/xpcPlugin/MessageHandlers.h b/xpcPlugin/MessageHandlers.h index 3a48007..983a904 100644 --- a/xpcPlugin/MessageHandlers.h +++ b/xpcPlugin/MessageHandlers.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_MESSAGEHANDLERS_H_ #define XPCPLUGIN_MESSAGEHANDLERS_H_ diff --git a/xpcPlugin/UDPSocket.cpp b/xpcPlugin/UDPSocket.cpp index 8f4577f..ad662a7 100644 --- a/xpcPlugin/UDPSocket.cpp +++ b/xpcPlugin/UDPSocket.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #include "Log.h" #include "UDPSocket.h" diff --git a/xpcPlugin/UDPSocket.h b/xpcPlugin/UDPSocket.h index 6a4b785..aa74fa7 100644 --- a/xpcPlugin/UDPSocket.h +++ b/xpcPlugin/UDPSocket.h @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. #ifndef XPCPLUGIN_SOCKET_H_ #define XPCPLUGIN_SOCKET_H_ diff --git a/xpcPlugin/XPCPlugin.cpp b/xpcPlugin/XPCPlugin.cpp index 05420cc..45b5fb7 100755 --- a/xpcPlugin/XPCPlugin.cpp +++ b/xpcPlugin/XPCPlugin.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2013-2017 United States Government as represented by the Administrator of the +// Copyright (c) 2013-2018 United States Government as represented by the Administrator of the // National Aeronautics and Space Administration. All Rights Reserved. // // DISCLAIMERS @@ -92,7 +92,7 @@ PLUGIN_API int XPluginStart(char* outName, char* outSig, char* outDesc) { strcpy(outName, "X-Plane Connect [Version 1.2.1]"); strcpy(outSig, "NASA.XPlaneConnect"); - strcpy(outDesc, "X Plane Communications Toolbox\nCopyright (c) 2013-2017 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved."); + strcpy(outDesc, "X Plane Communications Toolbox\nCopyright (c) 2013-2018 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved."); #if (__APPLE__) int (*_abs)( int ) = & std::abs; // Needed to resolve ambiguity for OS X compilation @@ -147,7 +147,7 @@ PLUGIN_API int XPluginEnable(void) XPC::Log::FormatLine(LOG_INFO, "EXEC", "Benchmarking Enabled (Verbosity: %i)", benchmarkingSwitch); } XPC::Log::FormatLine(LOG_INFO, "EXEC", "Debug Logging Enabled (Verbosity: %i)", LOG_LEVEL); - + float interval = -1; // Call every frame void* refcon = NULL; // Don't pass anything to the callback directly XPLMRegisterFlightLoopCallback(XPCFlightLoopCallback, interval, refcon);