Commit f054d357 authored by Patrick José Pereira's avatar Patrick José Pereira

ViewWidgets: Move to pragma once

Signed-off-by: 's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 75884545
/**************************************************************************** /****************************************************************************
* *
* (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 @@
/// @file /// @file
/// @author Don Gagne <don@thegagnes.com> /// @author Don Gagne <don@thegagnes.com>
#ifndef CustomCommandWidget_H #pragma once
#define CustomCommandWidget_H
#include "QGCQmlWidgetHolder.h" #include "QGCQmlWidgetHolder.h"
...@@ -24,4 +23,3 @@ public: ...@@ -24,4 +23,3 @@ public:
CustomCommandWidget(const QString& title, QAction* action, QWidget *parent = 0); CustomCommandWidget(const QString& title, QAction* action, QWidget *parent = 0);
}; };
#endif
/**************************************************************************** /****************************************************************************
* *
* (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 CustomCommandWidgetController_H #pragma once
#define CustomCommandWidgetController_H
#include <QObject> #include <QObject>
...@@ -38,4 +37,3 @@ private: ...@@ -38,4 +37,3 @@ private:
static const char* _settingsKey; static const char* _settingsKey;
}; };
#endif
/**************************************************************************** /****************************************************************************
* *
* (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 VIEWWIDGETCONTROLLER_H #pragma once
#define VIEWWIDGETCONTROLLER_H
#include <QObject> #include <QObject>
...@@ -38,4 +37,3 @@ private: ...@@ -38,4 +37,3 @@ private:
UASInterface* _uas; UASInterface* _uas;
}; };
#endif
\ No newline at end of file
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