LCOV - code coverage report
Current view: top level - src/app - statuscommand.h (source / functions) Hit Total Coverage
Project: QtPokit Lines: 1 1 100.0 %
Version: Functions: 0 0 -

          Line data    Source code
       1             : // SPDX-FileCopyrightText: 2022 Paul Colby <git@colby.id.au>
       2             : // SPDX-License-Identifier: LGPL-3.0-or-later
       3             : 
       4             : #include "devicecommand.h"
       5             : 
       6             : #include <qtpokit/statusservice.h>
       7             : 
       8         183 : class StatusCommand : public DeviceCommand
       9             : {
      10             : public:
      11             :     explicit StatusCommand(QObject * const parent);
      12             : 
      13             :     QStringList requiredOptions(const QCommandLineParser &parser) const override;
      14             :     QStringList supportedOptions(const QCommandLineParser &parser) const override;
      15             : 
      16             : public slots:
      17             :     QStringList processOptions(const QCommandLineParser &parser) override;
      18             : 
      19             : protected:
      20             :     AbstractPokitService * getService() override;
      21             : 
      22             : protected slots:
      23             :     void serviceDetailsDiscovered() override;
      24             : 
      25             : private:
      26             :     StatusService * service; ///< Bluetooth service this command interracts with.
      27             : 
      28             :     void outputDeviceStatus(const StatusService::DeviceCharacteristics chrs);
      29             : 
      30             :     friend class TestStatusCommand;
      31             : };

Generated by: LCOV version 1.14