diff --git a/src/uas/FileManager.h b/src/uas/FileManager.h index 5c95a98080e556c5147e159351df330b0b5fb480..d9bab30abb5552e82b52f424786ef1e1e6ae97b8 100644 --- a/src/uas/FileManager.h +++ b/src/uas/FileManager.h @@ -1,6 +1,6 @@ /**************************************************************************** * - * (c) 2009-2016 QGROUNDCONTROL PROJECT + * (c) 2009-2018 QGROUNDCONTROL PROJECT * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. @@ -8,8 +8,7 @@ ****************************************************************************/ -#ifndef FILEMANAGER_H -#define FILEMANAGER_H +#pragma once #include #include @@ -248,4 +247,3 @@ private: friend class MockLinkFileServer; }; -#endif // FileManager_H diff --git a/src/uas/UAS.h b/src/uas/UAS.h index 5cba2f0b8f5bf7e267d9cd99c00b2ee410591687..33161c24072431fca47cbb9f0d93c2a37192f23e 100644 --- a/src/uas/UAS.h +++ b/src/uas/UAS.h @@ -1,6 +1,6 @@ /**************************************************************************** * - * (c) 2009-2016 QGROUNDCONTROL PROJECT + * (c) 2009-2018 QGROUNDCONTROL PROJECT * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. @@ -11,8 +11,7 @@ // UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc // -#ifndef _UAS_H_ -#define _UAS_H_ +#pragma once #include "UASInterface.h" #include @@ -328,4 +327,3 @@ private: }; -#endif // _UAS_H_ diff --git a/src/uas/UASInterface.h b/src/uas/UASInterface.h index 87fd501e9ed5c953ecabd3346fc3e61a38f603d5..f47b3355daa70a6929d44ae7e9f6eb677dd74258 100644 --- a/src/uas/UASInterface.h +++ b/src/uas/UASInterface.h @@ -1,6 +1,6 @@ /**************************************************************************** * - * (c) 2009-2016 QGROUNDCONTROL PROJECT + * (c) 2009-2018 QGROUNDCONTROL PROJECT * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. @@ -11,8 +11,7 @@ // UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc // -#ifndef _UASINTERFACE_H_ -#define _UASINTERFACE_H_ +#pragma once #include #include @@ -192,4 +191,3 @@ signals: Q_DECLARE_INTERFACE(UASInterface, "org.qgroundcontrol/1.0") -#endif // _UASINTERFACE_H_ diff --git a/src/uas/UASMessageHandler.h b/src/uas/UASMessageHandler.h index 854a60bc2f785fc75a73466643e82c6fb29a0eb1..ae525741b072d86a04f02aec17c8ed248308821a 100644 --- a/src/uas/UASMessageHandler.h +++ b/src/uas/UASMessageHandler.h @@ -1,6 +1,6 @@ /**************************************************************************** * - * (c) 2009-2016 QGROUNDCONTROL PROJECT + * (c) 2009-2018 QGROUNDCONTROL PROJECT * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. @@ -14,8 +14,7 @@ * @author Gus Grubba */ -#ifndef QGCMESSAGEHANDLER_H -#define QGCMESSAGEHANDLER_H +#pragma once #include #include @@ -158,4 +157,3 @@ private: MultiVehicleManager* _multiVehicleManager; }; -#endif // QGCMESSAGEHANDLER_H