diff options
author | David Robillard <d@drobilla.net> | 2009-11-18 00:38:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-11-18 00:38:45 +0000 |
commit | 6ec390d53a3dbea90e7308c9e40e03266f5d5127 (patch) | |
tree | 964973527778b5b2b28f8a5ebf63057fb7651d36 /src/engine/PortImpl.hpp | |
parent | 1a725c0811fd15900464e1eff429c6ead90805d4 (diff) | |
download | ingen-6ec390d53a3dbea90e7308c9e40e03266f5d5127.tar.gz ingen-6ec390d53a3dbea90e7308c9e40e03266f5d5127.tar.bz2 ingen-6ec390d53a3dbea90e7308c9e40e03266f5d5127.zip |
Rename DataType to PortType (since that's what it really means).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2273 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PortImpl.hpp')
-rw-r--r-- | src/engine/PortImpl.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/PortImpl.hpp b/src/engine/PortImpl.hpp index 6b8c1b56..e3de9f7f 100644 --- a/src/engine/PortImpl.hpp +++ b/src/engine/PortImpl.hpp @@ -25,7 +25,7 @@ #include "interface/Port.hpp" #include "types.hpp" #include "GraphObjectImpl.hpp" -#include "interface/DataType.hpp" +#include "interface/PortType.hpp" #include "Buffer.hpp" #include "Context.hpp" @@ -93,9 +93,9 @@ public: uint32_t index() const { return _index; } uint32_t poly() const { return _poly; } - Shared::DataType type() const { return _type; } + Shared::PortType type() const { return _type; } size_t buffer_size() const { - return (_type == Shared::DataType::CONTROL) ? 1 : _buffer_size; + return (_type == Shared::PortType::CONTROL) ? 1 : _buffer_size; } void set_buffer_size(BufferFactory& factory, size_t size); @@ -116,7 +116,7 @@ protected: const std::string& name, uint32_t index, uint32_t poly, - Shared::DataType type, + Shared::PortType type, const Raul::Atom& value, size_t buffer_size); @@ -124,7 +124,7 @@ protected: uint32_t _index; uint32_t _poly; uint32_t _buffer_size; - Shared::DataType _type; + Shared::PortType _type; Raul::Atom _value; bool _broadcast; bool _set_by_user; |