LCOV - code coverage report
Current view: top level - src/lib - genericaccessservice_p.h (source / functions) Hit Total Coverage
Project: QtPokit 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             : /*!
       5             :  * \file
       6             :  * Declares the GenericAccessServicePrivate class.
       7             :  */
       8             : 
       9             : #ifndef QTPOKIT_GENERICACCESSSERVICE_P_H
      10             : #define QTPOKIT_GENERICACCESSSERVICE_P_H
      11             : 
      12             : #include <qtpokit/genericaccessservice.h>
      13             : 
      14             : #include "abstractpokitservice_p.h"
      15             : 
      16             : QTPOKIT_BEGIN_NAMESPACE
      17             : 
      18             : class QTPOKIT_EXPORT GenericAccessServicePrivate : public AbstractPokitServicePrivate
      19             : {
      20          34 :     Q_OBJECT
      21             : 
      22             : public:
      23             :     explicit GenericAccessServicePrivate(QLowEnergyController * controller,
      24             :                                          GenericAccessService * const q);
      25             : 
      26             :     static quint16 parseAppearance(const QByteArray &value);
      27             : 
      28             : protected:
      29             :     void characteristicRead(const QLowEnergyCharacteristic &characteristic,
      30             :                             const QByteArray &value) override;
      31             :     void characteristicWritten(const QLowEnergyCharacteristic &characteristic,
      32             :                                const QByteArray &newValue) override;
      33             : 
      34             : private:
      35          34 :     Q_DECLARE_PUBLIC(GenericAccessService)
      36             :     Q_DISABLE_COPY(GenericAccessServicePrivate)
      37             :     friend class TestGenericAccessService;
      38             : };
      39             : 
      40             : QTPOKIT_END_NAMESPACE
      41             : 
      42             : #endif // QTPOKIT_GENERICACCESSSERVICE_P_H

Generated by: LCOV version 1.14