From 629fb50716083c71146340de97eb8651679ca9fb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 31 Jul 2012 00:14:50 +0000 Subject: Merge Ingen::Shared namespace into Ingen namespace and core libingen library. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4579 a436a847-0d15-0410-975c-d299462d15a1 --- tests/ingen_test.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'tests/ingen_test.cpp') diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index dcde210f..f3b37391 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -42,12 +42,12 @@ #include "ingen/EngineBase.hpp" #include "ingen/Interface.hpp" #include "ingen/serialisation/Parser.hpp" -#include "ingen/shared/AtomReader.hpp" -#include "ingen/shared/AtomWriter.hpp" -#include "ingen/shared/Configuration.hpp" -#include "ingen/shared/URIMap.hpp" -#include "ingen/shared/World.hpp" -#include "ingen/shared/runtime_paths.hpp" +#include "ingen/AtomReader.hpp" +#include "ingen/AtomWriter.hpp" +#include "ingen/Configuration.hpp" +#include "ingen/URIMap.hpp" +#include "ingen/World.hpp" +#include "ingen/runtime_paths.hpp" #include "ingen/client/ThreadedSigClientInterface.hpp" #ifdef WITH_BINDINGS #include "bindings/ingen_bindings.hpp" @@ -56,10 +56,10 @@ using namespace std; using namespace Ingen; -Shared::World* world = NULL; +World* world = NULL; /* -class TestClient : public Shared::AtomSink { +class TestClient : public AtomSink { void write(const LV2_Atom* msg) { } }; @@ -135,7 +135,7 @@ int main(int argc, char** argv) { Glib::thread_init(); - Shared::set_bundle_path_from_code((void*)&main); + set_bundle_path_from_code((void*)&main); if (argc != 3) { cerr << "Usage: ingen_test START_PATCH COMMANDS_FILE" << endl; @@ -144,7 +144,7 @@ main(int argc, char** argv) // Create world try { - world = new Shared::World(argc, argv, NULL, NULL); + world = new World(argc, argv, NULL, NULL); } catch (std::exception& e) { cout << "ingen: " << e.what() << endl; return EXIT_FAILURE; @@ -186,14 +186,14 @@ main(int argc, char** argv) const std::string cmds_file_path = argv[2]; // AtomReader to read commands from a file and send them to engine - Shared::AtomReader atom_reader( + AtomReader atom_reader( world->uri_map(), world->uris(), world->forge(), *world->interface().get()); // AtomWriter to serialise responses from the engine /* TestClient client; - SharedPtr atom_writer( - new Shared::AtomWriter(world->uri_map(), world->uris(), client)); + SharedPtr atom_writer( + new AtomWriter(world->uri_map(), world->uris(), client)); */ SharedPtr client(new TestClient()); -- cgit v1.2.1