From 3a8f4c0e224572b827e375343c0b8d56ea4e3533 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 19 Apr 2011 23:24:33 +0000 Subject: Clean up includes. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3174 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/OSCClientReceiver.cpp | 6 +++++- src/client/PluginModel.hpp | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'src/client') diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp index 36661e70..31c0aa2a 100644 --- a/src/client/OSCClientReceiver.cpp +++ b/src/client/OSCClientReceiver.cpp @@ -24,6 +24,7 @@ #include "raul/log.hpp" #include "raul/AtomLiblo.hpp" +#include "raul/Path.hpp" #include "ingen-config.h" #include "OSCClientReceiver.hpp" @@ -178,7 +179,10 @@ OSCClientReceiver::_put_cb(const char* path, const char* types, lo_arg** argv, i int OSCClientReceiver::_move_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { - _target->move((const char*)&argv[0]->s, (const char*)&argv[1]->s); + const char* old_path = &argv[1]->s; + const char* new_path = &argv[2]->s; + + _target->move(old_path, new_path); return 0; } diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index 49675ebc..f03edd94 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -20,9 +20,13 @@ #include -#include "ingen-config.h" #include "raul/SharedPtr.hpp" +#include "raul/Symbol.hpp" + #include "sord/sordmm.hpp" + +#include "ingen-config.h" + #ifdef HAVE_SLV2 #include "slv2/slv2.h" #endif -- cgit v1.2.1