AutoConnectSettings.h 1.19 KB
Newer Older
1 2
/****************************************************************************
 *
Gus Grubba's avatar
Gus Grubba committed
3
 * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8 9
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

Gus Grubba's avatar
Gus Grubba committed
10 11 12
/// @file
/// @brief Auto connect settings

13
#pragma once
14 15 16

#include "SettingsGroup.h"

Gus Grubba's avatar
Gus Grubba committed
17 18
/// Auto connect settings
/// Defines which links should be automatically created and started at runtime
19 20 21
class AutoConnectSettings : public SettingsGroup
{
    Q_OBJECT
22

23
public:
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    AutoConnectSettings(QObject* parent = nullptr);

    DEFINE_SETTING_NAME_GROUP()

    DEFINE_SETTINGFACT(autoConnectUDP)
    DEFINE_SETTINGFACT(autoConnectPixhawk)
    DEFINE_SETTINGFACT(autoConnectSiKRadio)
    DEFINE_SETTINGFACT(autoConnectPX4Flow)
    DEFINE_SETTINGFACT(autoConnectRTKGPS)
    DEFINE_SETTINGFACT(autoConnectLibrePilot)
    DEFINE_SETTINGFACT(autoConnectNmeaPort)
    DEFINE_SETTINGFACT(autoConnectNmeaBaud)
    DEFINE_SETTINGFACT(udpListenPort)
    DEFINE_SETTINGFACT(udpTargetHostIP)
    DEFINE_SETTINGFACT(udpTargetHostPort)
39
    DEFINE_SETTINGFACT(nmeaUdpPort)
40
};