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
* COPYING.md in the root of the source code directory.
......@@ -11,8 +11,7 @@
/// @file
/// @author Don Gagne <don@thegagnes.com>
#ifndef CustomCommandWidget_H
#define CustomCommandWidget_H
#pragma once
#include "QGCQmlWidgetHolder.h"
......@@ -24,4 +23,3 @@ public:
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
* COPYING.md in the root of the source code directory.
......@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef CustomCommandWidgetController_H
#define CustomCommandWidgetController_H
#pragma once
#include <QObject>
......@@ -38,4 +37,3 @@ private:
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
* COPYING.md in the root of the source code directory.
......@@ -8,8 +8,7 @@
****************************************************************************/
#ifndef VIEWWIDGETCONTROLLER_H
#define VIEWWIDGETCONTROLLER_H
#pragma once
#include <QObject>
......@@ -38,4 +37,3 @@ private:
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