Skip to content
Snippets Groups Projects
TaisyncSettings.h 1.01 KiB
Newer Older
  • Learn to ignore specific revisions
  • /****************************************************************************
     *
     *   (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.
     *
     ****************************************************************************/
    
    #pragma once
    
    #include "TaisyncHandler.h"
    
    class TaisyncSettings : public TaisyncHandler
    {
        Q_OBJECT
    public:
        explicit TaisyncSettings            (QObject* parent = nullptr);
    
        bool    start                       () override;
        bool    requestLinkStatus           ();
    
        bool    requestFreqScan             ();
    
    Gus Grubba's avatar
    Gus Grubba committed
        bool    requestRadioSettings        ();
    
    
    signals:
    
        void    updateSettings              (QByteArray jSonData);
    
    
    protected slots:
        void    _readBytes                  () override;
    
    
    Gus Grubba's avatar
    Gus Grubba committed
    private:
        bool    _request                    (const QString& request);