9#ifndef QTPOKIT_POKITDISCOVERYAGENT_P_H
10#define QTPOKIT_POKITDISCOVERYAGENT_P_H
14#include <QBluetoothDeviceDiscoveryAgent>
15#include <QBluetoothDeviceInfo>
16#include <QLoggingCategory>
34 #if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
void canceled() const
Handle scan canceled signals, by simply logging the event for diagnostic purposes.
PokitDiscoveryAgentPrivate(PokitDiscoveryAgent *const q)
static Q_LOGGING_CATEGORY(lc, "pokit.ble.discovery", QtInfoMsg)
Logging category.
PokitDiscoveryAgent * q_ptr
Internal q-pointer.
void finished() const
Handle scan finished signals, by simply logging the event for diagnostic purposes.
void error(const QBluetoothDeviceDiscoveryAgent::Error error) const
Handle scan errors, by simply logging error for diagnostic purposes.
void deviceDiscovered(const QBluetoothDeviceInfo &info)
Handle deviceDiscovered signals.
void deviceUpdated(const QBluetoothDeviceInfo &info, QBluetoothDeviceInfo::Fields updatedFields)
Handle deviceUpdated signals.
The PokitDiscoveryAgent class discovers nearby Pokit devices.
Global QtPokit library macros.
#define QTPOKIT_BEFRIEND_TEST(Class)
Macro for befriending a related unit test class, but only when QT_TESTLIB_LIB is defined.
#define QTPOKIT_BEGIN_NAMESPACE
Macro for starting the QtPokit library's top-most namespace (if one is defined).
#define QTPOKIT_EXPORT
QtPokit library export/import macro.
#define QTPOKIT_END_NAMESPACE
Macro for ending the QtPokit library's top-most namespace (if one is defined).