API Documentation
Loading...
Searching...
No Matches
BluetoothManager.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Connection.h>
7#include <QObject>
8class QBluetoothDeviceInfo;
9class QBluetoothServiceInfo;
10class QBluetoothAddress;
11class QBluetoothUuid;
12namespace NDEVR
13{
14 class ProgressInfo;
15
16
17 class ProgressInfo;
19 {
20 Q_OBJECT
21 public:
22 static BluetoothManager& DefaultManager();
23 Buffer<String> ToBTDConnectionStrings(const QBluetoothDeviceInfo& device);
24 void LogBluetoothDiscoveryError(int error, ProgressInfo* log);
27 Buffer<QBluetoothServiceInfo, uint04, ObjectAllocator<false>> BluetoothServiceInfo(const QBluetoothAddress& device, const ConnectionSearchParamaters& params);
29 static TranslatedString ErrorMessage(int error);
30 static ConnectionInfo ConvertFromDeviceInfo(const QBluetoothDeviceInfo& info);
31 static ConnectionInfo ConvertFromServiceInfo(const QBluetoothServiceInfo& info);
32 signals:
33 void bluetoothErrorSignal(int error);
34 };
35
39}
#define NDEVR_BLUETOOTH_API
Definition DLLInfo.h:74
Definition BluetoothManager.h:19
void bluetoothErrorSignal(int error)
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:59
A light-weight base class for Log that allows processes to update, without the need for.
Definition ProgressInfo.hpp:48
Logic for reading or writing to a string or a user friendly, TranslatedString.
Definition StringStream.h:118
Any text displayed to the user should be defined as a TranslatedString which allows the.
Definition TranslatedString.h:13
Definition ACIColor.h:37
Definition Connection.h:87
Definition Connection.h:120