Skip to content
Snippets Groups Projects
RTKSettings.cc 1.05 KiB
Newer Older
  • Learn to ignore specific revisions
  • Don Gagne's avatar
    Don Gagne committed
    /****************************************************************************
     *
     *   (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.
     *
     ****************************************************************************/
    
    #include "RTKSettings.h"
    
    #include <QQmlEngine>
    #include <QtQml>
    
    
    DECLARE_SETTINGGROUP(RTK, "RTK")
    
    Don Gagne's avatar
    Don Gagne committed
    {
    
        QQmlEngine::setObjectOwnership(this, QQmlEngine::CppOwnership); \
        qmlRegisterUncreatableType<RTKSettings>("QGroundControl.SettingsManager", 1, 0, "RTKSettings", "Reference only"); \
    
    DECLARE_SETTINGSFACT(RTKSettings, surveyInAccuracyLimit)
    DECLARE_SETTINGSFACT(RTKSettings, surveyInMinObservationDuration)
    DECLARE_SETTINGSFACT(RTKSettings, useFixedBasePosition)
    DECLARE_SETTINGSFACT(RTKSettings, fixedBasePositionLatitude)
    DECLARE_SETTINGSFACT(RTKSettings, fixedBasePositionLongitude)
    DECLARE_SETTINGSFACT(RTKSettings, fixedBasePositionAltitude)
    DECLARE_SETTINGSFACT(RTKSettings, fixedBasePositionAccuracy)