diff options
author | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-31 00:14:50 +0000 |
commit | 629fb50716083c71146340de97eb8651679ca9fb (patch) | |
tree | 9c5f25fdfd24f3cdb89924062f291a6647580878 /tests | |
parent | 6297b8805c95dd1831ee9a0b9639ae41d00a1473 (diff) | |
download | ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.gz ingen-629fb50716083c71146340de97eb8651679ca9fb.tar.bz2 ingen-629fb50716083c71146340de97eb8651679ca9fb.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_test.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
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<Shared::AtomWriter> atom_writer( - new Shared::AtomWriter(world->uri_map(), world->uris(), client)); + SharedPtr<AtomWriter> atom_writer( + new AtomWriter(world->uri_map(), world->uris(), client)); */ SharedPtr<Interface> client(new TestClient()); |