5e86bba3efa82fd84e0b44569c5b344a68b9652e
[confmgr] / src / 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 private:
26     void sendDTMF(const QDBusMessage &dBusMessage);
27     void StartCallMonitors();
28     void StopCallMonitors();
29     void continueSendDTMF();
30
31 private:
32     Profile mProfileInUse;
33     bool mProfileSet;
34     DbusUtility mDBusUtility;
35     unsigned int mInStep;
36 };
37
38 #endif // CONFMANAGER_H