From 3379430e15a59a96562e8cdebe7cbf81efc1b3d3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 15 Dec 2010 02:06:56 +0000 Subject: Clean up code. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1 --- src/DBus.cpp | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'src/DBus.cpp') diff --git a/src/DBus.cpp b/src/DBus.cpp index 72502b8..065aae4 100644 --- a/src/DBus.cpp +++ b/src/DBus.cpp @@ -16,9 +16,11 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include "DBus.hpp" #include + #include + +#include "DBus.hpp" #include "Patchage.hpp" #define DBUS_CALL_DEFAULT_TIMEOUT 1000 // in milliseconds @@ -44,14 +46,14 @@ DBus::DBus(Patchage* app) bool DBus::call( - bool response_expected, - const char * service, - const char * object, - const char * iface, - const char * method, - DBusMessage ** reply_ptr_ptr, - int in_type, - va_list ap) + bool response_expected, + const char* service, + const char* object, + const char* iface, + const char* method, + DBusMessage** reply_ptr_ptr, + int in_type, + va_list ap) { DBusMessage* request_ptr; DBusMessage* reply_ptr; @@ -91,13 +93,13 @@ DBus::call( bool DBus::call( - bool response_expected, - const char * serivce, - const char * object, - const char * iface, - const char * method, - DBusMessage ** reply_ptr_ptr, - int in_type, + bool response_expected, + const char* serivce, + const char* object, + const char* iface, + const char* method, + DBusMessage** reply_ptr_ptr, + int in_type, ...) { bool ret; -- cgit v1.2.1