From dc3ea17b15e272296faca54235d146da04c55aa7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 5 Dec 2007 01:41:54 +0000 Subject: Preliminary evolutionary stuff in machina. Fix compilation against redlandmm (instead of old Raul RDF stuff). git-svn-id: http://svn.drobilla.net/lad/ingen@949 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/PluginModel.hpp | 6 +++--- src/libs/gui/App.hpp | 2 +- src/libs/gui/PatchPropertiesWindow.cpp | 6 ++++-- src/libs/gui/UploadPatchWindow.cpp | 2 +- src/libs/serialisation/Serialiser.cpp | 7 +++---- src/progs/ingen/main.cpp | 2 +- 6 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/libs/client/PluginModel.hpp b/src/libs/client/PluginModel.hpp index 95a68dbe..25dd2d9c 100644 --- a/src/libs/client/PluginModel.hpp +++ b/src/libs/client/PluginModel.hpp @@ -23,13 +23,14 @@ #include #include #include -#include +#include #ifdef HAVE_SLV2 #include #endif #include "interface/EngineInterface.hpp" #include "interface/Plugin.hpp" -using std::string; using std::cerr; using std::endl; + +using std::string; namespace Ingen { namespace Client { @@ -71,7 +72,6 @@ public: Type type_from_uri(const string& type_uri) { if (type_uri.substr(0, 6) != "ingen:") { - cerr << "INVALID TYPE STRING!" << endl; return Plugin::Internal; // ? } else { return type_from_string(type_uri.substr(6)); diff --git a/src/libs/gui/App.hpp b/src/libs/gui/App.hpp index 9e700ceb..261a9c72 100644 --- a/src/libs/gui/App.hpp +++ b/src/libs/gui/App.hpp @@ -26,8 +26,8 @@ #include #include #include -#include #include +#include using namespace std; diff --git a/src/libs/gui/PatchPropertiesWindow.cpp b/src/libs/gui/PatchPropertiesWindow.cpp index 2f0956e6..d8e98e34 100644 --- a/src/libs/gui/PatchPropertiesWindow.cpp +++ b/src/libs/gui/PatchPropertiesWindow.cpp @@ -16,12 +16,14 @@ */ #include +#include #include "client/PatchModel.hpp" #include "PatchPropertiesWindow.hpp" +using namespace std; + namespace Ingen { namespace GUI { -using std::string; PatchPropertiesWindow::PatchPropertiesWindow(BaseObjectType* cobject, const Glib::RefPtr& glade_xml) @@ -76,7 +78,7 @@ PatchPropertiesWindow::cancel_clicked() void PatchPropertiesWindow::ok_clicked() { - cerr << "FIXME: properties\n"; + cerr << "FIXME: patch properties\n"; //m_patch_model->set_variable("author", Atom(_author_entry->get_text().c_str())); //m_patch_model->set_variable("description", Atom(_textview->get_buffer()->get_text().c_str())); diff --git a/src/libs/gui/UploadPatchWindow.cpp b/src/libs/gui/UploadPatchWindow.cpp index d404cbcb..c69ce7f3 100644 --- a/src/libs/gui/UploadPatchWindow.cpp +++ b/src/libs/gui/UploadPatchWindow.cpp @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "module/global.hpp" #include "module/World.hpp" #include "interface/EngineInterface.hpp" diff --git a/src/libs/serialisation/Serialiser.cpp b/src/libs/serialisation/Serialiser.cpp index b8195d34..c4a740a9 100644 --- a/src/libs/serialisation/Serialiser.cpp +++ b/src/libs/serialisation/Serialiser.cpp @@ -28,12 +28,11 @@ #include // pair, make_pair #include #include -#include #include -#include -#include -#include #include +#include +#include +#include #include "interface/EngineInterface.hpp" #include "interface/Plugin.hpp" #include "interface/Patch.hpp" diff --git a/src/progs/ingen/main.cpp b/src/progs/ingen/main.cpp index 4e4753c6..1c005539 100644 --- a/src/progs/ingen/main.cpp +++ b/src/progs/ingen/main.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include "module/global.hpp" #include "module/Module.hpp" -- cgit v1.2.1