LCOV - code coverage report
Current view: top level - src/cli - infocommand.h (source / functions) Hit Total Coverage
Project: Dokit Lines: 2 2 100.0 %
Version: Functions: 0 0 -

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

Generated by: LCOV version 1.14