blob: 8a7bd859c2be93036d631419de79e541d972984a (
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
|
#ifndef VOICECALLMANAGER_H
#define VOICECALLMANAGER_H
#include "toqmanager.h"
class VoiceCallManager : public QObject, public ToqManager::EndpointHandler
{
Q_OBJECT
public:
explicit VoiceCallManager(ToqManager *toq);
void handleMessage(const ToqConnection::Message &msg) Q_DECL_OVERRIDE;
static void setSilentMode(bool silent);
private:
void handleGetPhoneStatusMessage(const ToqConnection::Message &msg);
static QString getCurrentProfile();
static void setProfile(const QString &name);
private slots:
void handleProfileChanged(bool changed, bool active, const QString &profile);
private:
ToqManager *_toq;
};
#endif // VOICECALLMANAGER_H
|