Commit 0259f76b authored by Patrick José Pereira's avatar Patrick José Pereira

uas: Move to pragma once

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 82d69691
/**************************************************************************** /****************************************************************************
* *
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * (c) 2009-2018 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* *
* QGroundControl is licensed according to the terms in the file * QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory. * COPYING.md in the root of the source code directory.
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
****************************************************************************/ ****************************************************************************/
#ifndef FILEMANAGER_H #pragma once
#define FILEMANAGER_H
#include <QObject> #include <QObject>
#include <QDir> #include <QDir>
...@@ -248,4 +247,3 @@ private: ...@@ -248,4 +247,3 @@ private:
friend class MockLinkFileServer; friend class MockLinkFileServer;
}; };
#endif // FileManager_H
/**************************************************************************** /****************************************************************************
* *
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * (c) 2009-2018 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* *
* QGroundControl is licensed according to the terms in the file * QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory. * COPYING.md in the root of the source code directory.
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
// UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc // UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc
// //
#ifndef _UAS_H_ #pragma once
#define _UAS_H_
#include "UASInterface.h" #include "UASInterface.h"
#include <MAVLinkProtocol.h> #include <MAVLinkProtocol.h>
...@@ -328,4 +327,3 @@ private: ...@@ -328,4 +327,3 @@ private:
}; };
#endif // _UAS_H_
/**************************************************************************** /****************************************************************************
* *
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * (c) 2009-2018 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* *
* QGroundControl is licensed according to the terms in the file * QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory. * COPYING.md in the root of the source code directory.
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
// UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc // UASInterface, UAS.h/cc are deprecated. All new functionality should go into Vehicle.h/cc
// //
#ifndef _UASINTERFACE_H_ #pragma once
#define _UASINTERFACE_H_
#include <QObject> #include <QObject>
#include <QList> #include <QList>
...@@ -192,4 +191,3 @@ signals: ...@@ -192,4 +191,3 @@ signals:
Q_DECLARE_INTERFACE(UASInterface, "org.qgroundcontrol/1.0") Q_DECLARE_INTERFACE(UASInterface, "org.qgroundcontrol/1.0")
#endif // _UASINTERFACE_H_
/**************************************************************************** /****************************************************************************
* *
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * (c) 2009-2018 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
* *
* QGroundControl is licensed according to the terms in the file * QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory. * COPYING.md in the root of the source code directory.
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
* @author Gus Grubba <mavlink@grubba.com> * @author Gus Grubba <mavlink@grubba.com>
*/ */
#ifndef QGCMESSAGEHANDLER_H #pragma once
#define QGCMESSAGEHANDLER_H
#include <QObject> #include <QObject>
#include <QVector> #include <QVector>
...@@ -158,4 +157,3 @@ private: ...@@ -158,4 +157,3 @@ private:
MultiVehicleManager* _multiVehicleManager; MultiVehicleManager* _multiVehicleManager;
}; };
#endif // QGCMESSAGEHANDLER_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment