c8d9175ede35aa1ff62cd2a7ac09b2b32413ec47
[confmgr] / confmanager.h
1 #ifndef CONFMANAGER_H
2 #define CONFMANAGER_H
3
4 #include "profile.h"
5 #include "dbusutility.h"
6
7 #define CSD_CALL_BUS_NAME "com.nokia.csd.Call"
8 #define CSD_CALL_INTERFACE "com.nokia.csd.Call"
9 #define CSD_CALL_INSTANCE_INTERFACE "com.nokia.csd.Call.Instance"
10 #define CSD_CALL_CONFERENCE "com.nokia.csd.Call.Conference"
11 #define CSD_CALL_PATH "/com/nokia/csd/call"
12 #define CSD_CALL_INSTANCE_PATH "/com/nokia/csd/call/1"
13 #define CSD_CALL_SERVICE "com.nokia.csd.Call"
14 #define CSD_SERVICE "com.nokia.csd"
15
16 class confManager : public QObject
17 {
18     Q_OBJECT
19 public:
20     explicit confManager(QObject *parent = 0);
21
22     void setProfile(Profile &p);
23     void startConference();
24
25 public slots:
26     void sendDTMF(const QDBusMessage &dBusMessage);
27     void StopCallMonitors();
28     void continueSendDTMF();
29
30 private:
31     void StartCallMonitors();
32
33 private:
34     Profile mProfileInUse;
35     bool mProfileSet;
36     DbusUtility mDBusUtility;
37     unsigned int mInStep;
38 };
39
40 #endif // CONFMANAGER_H