summaryrefslogtreecommitdiffstats
path: root/src/engine/HTTPClientSender.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/HTTPClientSender.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/HTTPClientSender.hpp')
-rw-r--r--src/engine/HTTPClientSender.hpp23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/engine/HTTPClientSender.hpp b/src/engine/HTTPClientSender.hpp
index dfed7a13..274d54cd 100644
--- a/src/engine/HTTPClientSender.hpp
+++ b/src/engine/HTTPClientSender.hpp
@@ -27,9 +27,11 @@
namespace Ingen {
-class Engine;
+class EngineInterface;
+
+namespace Engine {
-namespace Shared { class EngineInterface; }
+class Engine;
/** Implements ClientInterface for HTTP clients.
* Sends changes as RDF deltas over an HTTP stream
@@ -38,8 +40,8 @@ namespace Shared { class EngineInterface; }
* \ingroup engine
*/
class HTTPClientSender
- : public Shared::ClientInterface
- , public Shared::HTTPSender
+ : public ClientInterface
+ , public Ingen::Shared::HTTPSender
{
public:
explicit HTTPClientSender(Engine& engine)
@@ -66,13 +68,13 @@ public:
void error(const std::string& msg);
- virtual void put(const Raul::URI& path,
- const Shared::Resource::Properties& properties,
- Shared::Resource::Graph ctx);
+ virtual void put(const Raul::URI& path,
+ const Resource::Properties& properties,
+ Resource::Graph ctx);
- virtual void delta(const Raul::URI& path,
- const Shared::Resource::Properties& remove,
- const Shared::Resource::Properties& add);
+ virtual void delta(const Raul::URI& path,
+ const Resource::Properties& remove,
+ const Resource::Properties& add);
virtual void del(const Raul::Path& path);
@@ -97,6 +99,7 @@ private:
bool _enabled;
};
+} // namespace Engine
} // namespace Ingen
#endif // INGEN_ENGINE_HTTPCLIENTSENDER_HPP