Update copyright notice

This commit is contained in:
Jason Watkins
2018-10-19 17:44:27 -07:00
parent e1105206a3
commit df5e2fd198
37 changed files with 54 additions and 55 deletions

View File

@@ -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

View File

@@ -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_

View File

@@ -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

View File

@@ -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_

View File

@@ -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");

View File

@@ -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

View File

@@ -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"

View File

@@ -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_

View File

@@ -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");

View File

@@ -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_

View File

@@ -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"

View File

@@ -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_

View File

@@ -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);