summaryrefslogtreecommitdiff
path: root/PluginRoutingInterfaceDbus/DbusSend.h
blob: bfb565dc8d21744d17ff1c8f34457e9dbde6d6dc (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
/*
 * DbusSend.h
 *
 *  Created on: Jul 20, 2011
 *      Author: christian
 */

#ifndef DBUSSEND_H_
#define DBUSSEND_H_

#include "headers.h"

class DbusSend {
public:
	DbusSend(DBusConnection* conn, const char* bus_name,const char* path, const char* interface, const char* method);
	virtual ~DbusSend();
	void appendString(char* string);
	void appendInteger(int integer);
	void sendReply(bool* reply);
	void sendReply(int* reply);

private:
	DBusMessage* m_msg;
	DBusMessageIter m_args;
	DBusConnection* m_conn;
};

#endif /* DBUSSEND_H_ */