diff options
author | David Robillard <d@drobilla.net> | 2010-12-15 02:06:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-15 02:06:56 +0000 |
commit | 3379430e15a59a96562e8cdebe7cbf81efc1b3d3 (patch) | |
tree | ab6f2dfafb7f78323e47d6de8e5c9dcde9adab71 /src/DBus.cpp | |
parent | 9e117275efe6585e2039130a5729bd75c120706e (diff) | |
download | patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.tar.gz patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.tar.bz2 patchage-3379430e15a59a96562e8cdebe7cbf81efc1b3d3.zip |
Clean up code.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/DBus.cpp')
-rw-r--r-- | src/DBus.cpp | 34 |
1 files changed, 18 insertions, 16 deletions
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 <stdexcept> + #include <boost/format.hpp> + +#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; |