blob: fd396394ee308324b58d6d77ff213b9f79850272 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef MANAGER_H
#define MANAGER_H
#include "watchconnector.h"
#include "voicecallmanager.h"
#include <QObject>
#include <QBluetoothLocalDevice>
class Manager : public QObject
{
Q_OBJECT
QBluetoothLocalDevice btDevice;
watch::WatchConnector *watch;
VoiceCallManager *voice;
public:
explicit Manager(watch::WatchConnector *watch, VoiceCallManager *voice);
signals:
public slots:
void hangupAll();
protected slots:
void onBTDeviceDiscovered(const QBluetoothDeviceInfo & device);
void onActiveVoiceCallChanged();
void onVoiceError(const QString &message);
void onActiveVoiceCallStatusChanged();
};
#endif // MANAGER_H
|