summaryrefslogtreecommitdiffstats
path: root/src/engine/Request.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-18 12:47:15 +0000
committerDavid Robillard <d@drobilla.net>2011-04-18 12:47:15 +0000
commit8ba6bb943889bfdd58cf4a971a152041c1199cfe (patch)
tree91fbe8577e6d01070aa81f532ddd8102db1476f5 /src/engine/Request.hpp
parent3cd3bfe5079f84fafb7dc217f5393d6ba947109c (diff)
downloadingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.gz
ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.tar.bz2
ingen-8ba6bb943889bfdd58cf4a971a152041c1199cfe.zip
Put engine code in new Ingen::Engine namespace.
Put core interfaces in Ingen namespace (not Ingen::Shared). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3159 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/Request.hpp')
-rw-r--r--src/engine/Request.hpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/engine/Request.hpp b/src/engine/Request.hpp
index b03bb553..3e4372c9 100644
--- a/src/engine/Request.hpp
+++ b/src/engine/Request.hpp
@@ -24,6 +24,7 @@
#include "EventSource.hpp"
namespace Ingen {
+namespace Engine {
/** Record of a request (used to respond to clients).
*
@@ -37,7 +38,9 @@ namespace Ingen {
class Request
{
public:
- Request(EventSource* source=0, Shared::ClientInterface* client=0, int32_t id=1)
+ Request(EventSource* source=0,
+ ClientInterface* client=0,
+ int32_t id=1)
: _source(source)
, _client(client)
, _id(id)
@@ -47,8 +50,8 @@ public:
int32_t id() const { return _id; }
void set_id(int32_t id) { _id = id; }
- Shared::ClientInterface* client() const { return _client; }
- void set_client(Shared::ClientInterface* client) { _client = client; }
+ ClientInterface* client() const { return _client; }
+ void set_client(ClientInterface* client) { _client = client; }
void unblock() {
if (_source)
@@ -66,11 +69,12 @@ public:
}
private:
- EventSource* _source;
- Shared::ClientInterface* _client;
- int32_t _id;
+ EventSource* _source;
+ ClientInterface* _client;
+ int32_t _id;
};
+} // namespace Engine
} // namespace Ingen
#endif // INGEN_ENGINE_REQUEST_HPP