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

            Line data    Source code
       1              : // SPDX-FileCopyrightText: 2022-2024 Paul Colby <git@colby.id.au>
       2              : // SPDX-License-Identifier: LGPL-3.0-or-later
       3              : 
       4              : /*!
       5              :  * \file
       6              :  * Declares the CalibrationServicePrivate class.
       7              :  */
       8              : 
       9              : #ifndef QTPOKIT_CALIBRATIONSERVICE_P_H
      10              : #define QTPOKIT_CALIBRATIONSERVICE_P_H
      11              : 
      12              : #include <qtpokit/calibrationservice.h>
      13              : 
      14              : #include "abstractpokitservice_p.h"
      15              : 
      16              : QTPOKIT_BEGIN_NAMESPACE
      17              : 
      18              : class QTPOKIT_EXPORT CalibrationServicePrivate : public AbstractPokitServicePrivate
      19              : {
      20           38 :     Q_OBJECT
      21              : 
      22              : public:
      23              :     explicit CalibrationServicePrivate(QLowEnergyController * controller, CalibrationService * const q);
      24              : 
      25              :     static QByteArray encodeTemperature(const float value);
      26              : 
      27              : protected:
      28              :     void characteristicWritten(const QLowEnergyCharacteristic &characteristic,
      29              :                                const QByteArray &newValue) override;
      30              : 
      31              : private:
      32           38 :     Q_DECLARE_PUBLIC(CalibrationService)
      33              :     Q_DISABLE_COPY(CalibrationServicePrivate)
      34              :     friend class TestCalibrationService;
      35              : };
      36              : 
      37              : QTPOKIT_END_NAMESPACE
      38              : 
      39              : #endif // QTPOKIT_CALIBRATIONSERVICE_P_H
        

Generated by: LCOV version 2.0-1