diff options
author | David Robillard <d@drobilla.net> | 2007-08-01 03:20:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-08-01 03:20:35 +0000 |
commit | 9cd4eddfb41c4573d4acd4f625572c4cdff50497 (patch) | |
tree | b9ebf2ecd19ddc5033c891edf17fae01a61ef438 /src/libs/engine/DirectResponder.hpp | |
parent | 22395ab7d817dec53e2c2fff07de6d88db70492e (diff) | |
download | ingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.tar.gz ingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.tar.bz2 ingen-9cd4eddfb41c4573d4acd4f625572c4cdff50497.zip |
More SWIGification. Engine->Client calls/messages implemented... and segfault somewhere in Python :/ .
git-svn-id: http://svn.drobilla.net/lad/ingen@664 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/DirectResponder.hpp')
-rw-r--r-- | src/libs/engine/DirectResponder.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/DirectResponder.hpp b/src/libs/engine/DirectResponder.hpp index 739cd017..7bd35dcd 100644 --- a/src/libs/engine/DirectResponder.hpp +++ b/src/libs/engine/DirectResponder.hpp @@ -30,7 +30,7 @@ namespace Ingen { class DirectResponder : public Shared::Responder { public: - DirectResponder(SharedPtr<Shared::ClientInterface> client, int32_t id) + DirectResponder(Shared::ClientInterface* client, int32_t id) : _client(client), _id(id) {} @@ -39,11 +39,11 @@ public: void respond_ok() { _client->response(_id, true, ""); } void respond_error(const string& msg) { _client->response(_id, false, msg); } - SharedPtr<Shared::ClientInterface> client() { return _client; } + Shared::ClientInterface* client() { return _client; } private: - SharedPtr<Shared::ClientInterface> _client; - int32_t _id; + Shared::ClientInterface* _client; + int32_t _id; }; |