summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/DirectResponder.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-04 21:45:20 +0000
committerDavid Robillard <d@drobilla.net>2006-10-04 21:45:20 +0000
commit30cb85c307b4c1273791721a782337742ade222c (patch)
tree020932d6f50ebbcd813c58f6f23e85a293587665 /src/libs/engine/DirectResponder.h
parent32261ba465be203f973a0e126672b8d7188ba327 (diff)
downloadingen-30cb85c307b4c1273791721a782337742ade222c.tar.gz
ingen-30cb85c307b4c1273791721a782337742ade222c.tar.bz2
ingen-30cb85c307b4c1273791721a782337742ade222c.zip
Moved generic utility stuff to new library "raul".
git-svn-id: http://svn.drobilla.net/lad/ingen@156 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/DirectResponder.h')
-rw-r--r--src/libs/engine/DirectResponder.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/DirectResponder.h b/src/libs/engine/DirectResponder.h
index e2af3e3b..12b82105 100644
--- a/src/libs/engine/DirectResponder.h
+++ b/src/libs/engine/DirectResponder.h
@@ -18,7 +18,7 @@
#ifndef DIRECTRESPONDER_H
#define DIRECTRESPONDER_H
-#include "util/CountedPtr.h"
+#include "raul/SharedPtr.h"
#include "interface/ClientInterface.h"
#include "Responder.h"
@@ -30,7 +30,7 @@ namespace Ingen {
class DirectResponder : public Responder
{
public:
- DirectResponder(CountedPtr<ClientInterface> client, int32_t id)
+ DirectResponder(SharedPtr<ClientInterface> client, int32_t id)
: _client(client), _id(id)
{}
@@ -39,10 +39,10 @@ public:
void respond_ok() { _client->response(_id, true, ""); }
void respond_error(const string& msg) { _client->response(_id, false, msg); }
- CountedPtr<ClientInterface> client() { return _client; }
+ SharedPtr<ClientInterface> client() { return _client; }
private:
- CountedPtr<ClientInterface> _client;
+ SharedPtr<ClientInterface> _client;
int32_t _id;
};