FlightMapSettings.cc 824 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/****************************************************************************
 *
 *   (c) 2009-2016 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.
 *
 ****************************************************************************/

10
#include "QGCApplication.h"
11
#include "FlightMapSettings.h"
Gus Grubba's avatar
Gus Grubba committed
12
#include "QGCMapEngine.h"
13 14
#include "AppSettings.h"
#include "SettingsManager.h"
15 16 17 18

#include <QQmlEngine>
#include <QtQml>

19
DECLARE_SETTINGGROUP(FlightMap, "FlightMap")
20 21 22 23
{
    qmlRegisterUncreatableType<FlightMapSettings>("QGroundControl.SettingsManager", 1, 0, "FlightMapSettings", "Reference only");
}

24
DECLARE_SETTINGSFACT(FlightMapSettings, mapProvider)
25
DECLARE_SETTINGSFACT(FlightMapSettings, mapType)