update on dbus
[profile/ivi/genivi/genivi-audio-manager.git] / PluginCommandInterfaceDbus / DbusSend.h
1 /*
2  * DbusSend.h
3  *
4  *  Created on: Jul 20, 2011
5  *      Author: christian
6  */
7
8 #ifndef DBUSSEND_H_
9 #define DBUSSEND_H_
10
11 #include "headers.h"
12
13 class DbusSend {
14 public:
15         DbusSend(DBusConnection* conn, const char* bus_name,const char* path, const char* interface, const char* method);
16         virtual ~DbusSend();
17         void appendString(char* string);
18         void appendInteger(int integer);
19         void sendReply(bool* reply);
20         void sendReply(int* reply);
21
22 private:
23         DBusMessage* m_msg;
24         DBusMessageIter m_args;
25         DBusConnection* m_conn;
26 };
27
28 #endif /* DBUSSEND_H_ */