summaryrefslogtreecommitdiffstats
path: root/src/engine/PortImpl.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/PortImpl.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/PortImpl.hpp')
-rw-r--r--src/engine/PortImpl.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp
index 127d8cc4..bf743d94 100644
--- a/src/engine/PortImpl.hpp
+++ b/src/engine/PortImpl.hpp
@@ -33,6 +33,7 @@
namespace Raul { class Maid; }
namespace Ingen {
+namespace Engine {
class NodeImpl;
class Buffer;
@@ -46,7 +47,7 @@ class BufferFactory;
*
* \ingroup engine
*/
-class PortImpl : public GraphObjectImpl, public Ingen::Shared::Port
+class PortImpl : public GraphObjectImpl, public Port
{
public:
~PortImpl();
@@ -143,7 +144,7 @@ protected:
const Raul::Symbol& name,
uint32_t index,
uint32_t poly,
- Shared::PortType type,
+ PortType type,
const Raul::Atom& value,
size_t buffer_size);
@@ -152,7 +153,7 @@ protected:
uint32_t _poly;
uint32_t _buffer_size;
PortType _buffer_type;
- std::set<Shared::PortType> _types;
+ std::set<PortType> _types;
Raul::Atom _value;
bool _broadcast;
bool _set_by_user;
@@ -165,6 +166,7 @@ protected:
Raul::Array<BufferFactory::Ref>* _prepared_buffers;
};
+} // namespace Engine
} // namespace Ingen
#endif // INGEN_ENGINE_PORTIMPL_HPP