From f7368e7850307de97b024238a4f520afe1150c8b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2007 09:32:49 +0000 Subject: Add const find interface to Raul::Table, fix bugs. Use Raul::Table on Ingen client side instead of std::map for objects, plugins. Work on renaming (still broken). git-svn-id: http://svn.drobilla.net/lad/ingen@634 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/serialisation/Loader.cpp | 5 +++-- src/libs/serialisation/Loader.hpp | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/libs/serialisation') diff --git a/src/libs/serialisation/Loader.cpp b/src/libs/serialisation/Loader.cpp index c14c8a1f..806dbfc3 100644 --- a/src/libs/serialisation/Loader.cpp +++ b/src/libs/serialisation/Loader.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include "interface/EngineInterface.hpp" #include "Loader.hpp" @@ -44,13 +45,13 @@ Loader::load(SharedPtr engine, boost::optional parent, string patch_name, Glib::ustring patch_uri, - map data) + Raul::Table data) { setlocale(LC_NUMERIC, "C"); // FIXME: this whole thing is a mess - std::map created; + Raul::Table created; RDF::Model model(*rdf_world, document_uri); diff --git a/src/libs/serialisation/Loader.hpp b/src/libs/serialisation/Loader.hpp index b729e71d..87465880 100644 --- a/src/libs/serialisation/Loader.hpp +++ b/src/libs/serialisation/Loader.hpp @@ -19,12 +19,12 @@ #define LOADER_H #include -#include #include #include #include #include #include +#include namespace Raul { class Atom; namespace RDF { class World; } } namespace Ingen { namespace Shared { class EngineInterface; } } @@ -37,7 +37,7 @@ class Loader { public: virtual ~Loader() {} - typedef std::map Metadata; + typedef Raul::Table Metadata; virtual bool load(SharedPtr engine, -- cgit v1.2.1