diff options
author | David Robillard <d@drobilla.net> | 2008-08-19 02:33:04 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-08-19 02:33:04 +0000 |
commit | 14764da12f3808da0c40b643ac8224716f060729 (patch) | |
tree | dfb40da4d1a0c23c05923e78319aa95f172f9e57 /src/libs/gui/App.cpp | |
parent | 353944ee388081b5fa280847fb202a4f27c81735 (diff) | |
download | ingen-14764da12f3808da0c40b643ac8224716f060729.tar.gz ingen-14764da12f3808da0c40b643ac8224716f060729.tar.bz2 ingen-14764da12f3808da0c40b643ac8224716f060729.zip |
Remove weird virtual inheritance interface overlay thing from client in favour of wrappers.
git-svn-id: http://svn.drobilla.net/lad/ingen@1445 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/App.cpp')
-rw-r--r-- | src/libs/gui/App.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libs/gui/App.cpp b/src/libs/gui/App.cpp index 408b7503..64a89f8a 100644 --- a/src/libs/gui/App.cpp +++ b/src/libs/gui/App.cpp @@ -142,7 +142,8 @@ App::run(int argc, char** argv, Ingen::Shared::World* world) void -App::attach(SharedPtr<SigClientInterface> client) +App::attach(SharedPtr<SigClientInterface> client, + SharedPtr<Raul::Deletable> handle) { assert( ! _client); assert( ! _store); @@ -151,6 +152,7 @@ App::attach(SharedPtr<SigClientInterface> client) _world->engine->register_client(client.get()); _client = client; + _handle = handle; _store = SharedPtr<ClientStore>(new ClientStore(_world->engine, client)); _loader = SharedPtr<ThreadedLoader>(new ThreadedLoader(_world->engine)); @@ -171,6 +173,7 @@ App::detach() _loader.reset(); _store.reset(); _client.reset(); + _handle.reset(); _world->engine.reset(); } } |