diff options
author | David Robillard <d@drobilla.net> | 2009-06-03 01:40:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-03 01:40:54 +0000 |
commit | cf54391f7ca67774546380ef08f654d91a94c0cd (patch) | |
tree | 45559c07c0343fe7171c464e1461d76937a9a9bc | |
parent | 21de7016110081437ca0fbfdd6a14f41088da7b9 (diff) | |
download | ingen-cf54391f7ca67774546380ef08f654d91a94c0cd.tar.gz ingen-cf54391f7ca67774546380ef08f654d91a94c0cd.tar.bz2 ingen-cf54391f7ca67774546380ef08f654d91a94c0cd.zip |
Move internals to their own namespace ala events.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2071 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/engine/InternalPlugin.cpp | 1 | ||||
-rw-r--r-- | src/engine/NodeFactory.cpp | 2 | ||||
-rw-r--r-- | src/engine/events/Note.cpp | 3 | ||||
-rw-r--r-- | src/engine/internals/Controller.cpp | 2 | ||||
-rw-r--r-- | src/engine/internals/Controller.hpp | 3 | ||||
-rw-r--r-- | src/engine/internals/Note.cpp | 2 | ||||
-rw-r--r-- | src/engine/internals/Note.hpp | 3 | ||||
-rw-r--r-- | src/engine/internals/Transport.cpp | 2 | ||||
-rw-r--r-- | src/engine/internals/Transport.hpp | 2 | ||||
-rw-r--r-- | src/engine/internals/Trigger.cpp | 2 | ||||
-rw-r--r-- | src/engine/internals/Trigger.hpp | 3 |
11 files changed, 25 insertions, 0 deletions
diff --git a/src/engine/InternalPlugin.cpp b/src/engine/InternalPlugin.cpp index 77290c66..99061e6c 100644 --- a/src/engine/InternalPlugin.cpp +++ b/src/engine/InternalPlugin.cpp @@ -29,6 +29,7 @@ using namespace Raul; namespace Ingen { +using namespace Internals; InternalPlugin::InternalPlugin(const std::string& uri, const std::string& symbol) : PluginImpl(Plugin::Internal, uri) diff --git a/src/engine/NodeFactory.cpp b/src/engine/NodeFactory.cpp index f1df20b9..f9a468cc 100644 --- a/src/engine/NodeFactory.cpp +++ b/src/engine/NodeFactory.cpp @@ -46,6 +46,8 @@ using namespace std; namespace Ingen { +using namespace Internals; + NodeFactory::NodeFactory(Ingen::Shared::World* world) : _world(world) diff --git a/src/engine/events/Note.cpp b/src/engine/events/Note.cpp index 0871b0d3..e5a2370a 100644 --- a/src/engine/events/Note.cpp +++ b/src/engine/events/Note.cpp @@ -29,6 +29,9 @@ using namespace Raul; namespace Ingen { + +using namespace Internals; + namespace Events { diff --git a/src/engine/internals/Controller.cpp b/src/engine/internals/Controller.cpp index d615830a..70d1e7a9 100644 --- a/src/engine/internals/Controller.cpp +++ b/src/engine/internals/Controller.cpp @@ -32,6 +32,7 @@ using namespace std; namespace Ingen { +namespace Internals { using namespace Shared; @@ -138,4 +139,5 @@ ControllerNode::control(ProcessContext& context, uint8_t control_num, uint8_t va } // namespace Ingen +} // namespace Internals diff --git a/src/engine/internals/Controller.hpp b/src/engine/internals/Controller.hpp index e0c7de0f..4f02a9ca 100644 --- a/src/engine/internals/Controller.hpp +++ b/src/engine/internals/Controller.hpp @@ -26,6 +26,8 @@ namespace Ingen { class InputPort; class OutputPort; +namespace Internals { + /** MIDI control input node. * @@ -58,5 +60,6 @@ private: } // namespace Ingen +} // namespace Internals #endif // MIDICONTROLNODE_H diff --git a/src/engine/internals/Note.cpp b/src/engine/internals/Note.cpp index e3ba42d3..4b42807b 100644 --- a/src/engine/internals/Note.cpp +++ b/src/engine/internals/Note.cpp @@ -34,6 +34,7 @@ using namespace std; namespace Ingen { +namespace Internals { using namespace Shared; @@ -389,4 +390,5 @@ NoteNode::sustain_off(ProcessContext& context, FrameTime time) } // namespace Ingen +} // namespace Internals diff --git a/src/engine/internals/Note.hpp b/src/engine/internals/Note.hpp index b14ba604..d4c4c851 100644 --- a/src/engine/internals/Note.hpp +++ b/src/engine/internals/Note.hpp @@ -27,6 +27,8 @@ namespace Ingen { class InputPort; class OutputPort; +namespace Internals { + /** MIDI note input node. * @@ -84,5 +86,6 @@ private: } // namespace Ingen +} // namespace Internals #endif // MIDINOTENODE_H diff --git a/src/engine/internals/Transport.cpp b/src/engine/internals/Transport.cpp index 3355f4d8..8fccc436 100644 --- a/src/engine/internals/Transport.cpp +++ b/src/engine/internals/Transport.cpp @@ -27,6 +27,7 @@ using namespace std; namespace Ingen { +namespace Internals { static InternalPlugin transport_plugin(NS_INTERNALS "Transport", "transport"); @@ -153,4 +154,5 @@ TransportNode::process(ProcessContext& context) } // namespace Ingen +} // namespace Internals diff --git a/src/engine/internals/Transport.hpp b/src/engine/internals/Transport.hpp index 3947b235..78e12f4f 100644 --- a/src/engine/internals/Transport.hpp +++ b/src/engine/internals/Transport.hpp @@ -23,6 +23,7 @@ #include "NodeBase.hpp" namespace Ingen { +namespace Internals { /** Transport Node, brings timing information into patches. @@ -41,5 +42,6 @@ public: } // namespace Ingen +} // namespace Internals #endif // TRANSPORTNODE_H diff --git a/src/engine/internals/Trigger.cpp b/src/engine/internals/Trigger.cpp index cb7ae2fe..d30873c9 100644 --- a/src/engine/internals/Trigger.cpp +++ b/src/engine/internals/Trigger.cpp @@ -29,6 +29,7 @@ using namespace std; namespace Ingen { +namespace Internals { using namespace Shared; @@ -149,4 +150,5 @@ TriggerNode::note_off(ProcessContext& context, uint8_t note_num, FrameTime time) } // namespace Ingen +} // namespace Internals diff --git a/src/engine/internals/Trigger.hpp b/src/engine/internals/Trigger.hpp index 973b9b41..dfb4f899 100644 --- a/src/engine/internals/Trigger.hpp +++ b/src/engine/internals/Trigger.hpp @@ -26,6 +26,8 @@ namespace Ingen { class InputPort; class OutputPort; +namespace Internals { + /** MIDI trigger input node. * @@ -61,5 +63,6 @@ private: } // namespace Ingen +} // namespace Internals #endif // MIDITRIGGERNODE_H |