diff options
author | David Robillard <d@drobilla.net> | 2009-06-03 01:08:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-03 01:08:56 +0000 |
commit | f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934 (patch) | |
tree | 4c459af06cb9656f3fcf53752030cbbe7756196b /src/engine/events | |
parent | 664f3ca29832b7ec0432d1e46c6af901af68f574 (diff) | |
download | ingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.tar.gz ingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.tar.bz2 ingen-f845aa9eaf46cfa2ad2427b62fa9062e7f6c7934.zip |
Move events to their own namespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2068 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
48 files changed, 125 insertions, 4 deletions
diff --git a/src/engine/events/AllNotesOff.cpp b/src/engine/events/AllNotesOff.cpp index 415e1a95..fa6c70e3 100644 --- a/src/engine/events/AllNotesOff.cpp +++ b/src/engine/events/AllNotesOff.cpp @@ -25,6 +25,7 @@ using namespace Raul; namespace Ingen { +namespace Events { /** Note off with patch explicitly passed - triggered by MIDI. @@ -69,5 +70,6 @@ AllNotesOffEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/AllNotesOff.hpp b/src/engine/events/AllNotesOff.hpp index a7c5d58b..32e677bf 100644 --- a/src/engine/events/AllNotesOff.hpp +++ b/src/engine/events/AllNotesOff.hpp @@ -24,6 +24,8 @@ namespace Ingen { class PatchImpl; +namespace Events { + /** A note off event for all active voices. * @@ -45,5 +47,6 @@ private: } // namespace Ingen +} // namespace Events #endif // ALLNOTESOFFEVENT_H diff --git a/src/engine/events/ClearPatch.cpp b/src/engine/events/ClearPatch.cpp index 434360a7..084b78c9 100644 --- a/src/engine/events/ClearPatch.cpp +++ b/src/engine/events/ClearPatch.cpp @@ -34,6 +34,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -176,4 +177,5 @@ ClearPatchEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/ClearPatch.hpp b/src/engine/events/ClearPatch.hpp index 4dc7dddb..fbfb6e1a 100644 --- a/src/engine/events/ClearPatch.hpp +++ b/src/engine/events/ClearPatch.hpp @@ -30,6 +30,8 @@ namespace Ingen { class PatchImpl; class DriverPort; +namespace Events { + /** Delete all nodes from a patch. * @@ -59,6 +61,7 @@ private: } // namespace Ingen +} // namespace Events #endif // CLEARPATCHEVENT_H diff --git a/src/engine/events/Connect.cpp b/src/engine/events/Connect.cpp index d6da9067..dbfb56ba 100644 --- a/src/engine/events/Connect.cpp +++ b/src/engine/events/Connect.cpp @@ -35,6 +35,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -201,4 +202,5 @@ ConnectionEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Connect.hpp b/src/engine/events/Connect.hpp index b1f4bf6c..0f9d8540 100644 --- a/src/engine/events/Connect.hpp +++ b/src/engine/events/Connect.hpp @@ -40,6 +40,8 @@ class InputPort; class OutputPort; class CompiledPatch; +namespace Events { + /** Make a Connection between two Ports. * @@ -86,5 +88,6 @@ private: } // namespace Ingen +} // namespace Events #endif // CONNECTIONEVENT_H diff --git a/src/engine/events/CreateNode.cpp b/src/engine/events/CreateNode.cpp index 28b50258..372f1bcb 100644 --- a/src/engine/events/CreateNode.cpp +++ b/src/engine/events/CreateNode.cpp @@ -37,6 +37,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -145,4 +146,5 @@ CreateNodeEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/CreateNode.hpp b/src/engine/events/CreateNode.hpp index b8dbf082..560f7646 100644 --- a/src/engine/events/CreateNode.hpp +++ b/src/engine/events/CreateNode.hpp @@ -28,6 +28,8 @@ class PatchImpl; class NodeImpl; class CompiledPatch; +namespace Events { + /** An event to load a Node and insert it into a Patch. * @@ -66,5 +68,6 @@ private: } // namespace Ingen +} // namespace Events #endif // CREATENODEEVENT_H diff --git a/src/engine/events/CreatePatch.cpp b/src/engine/events/CreatePatch.cpp index de7cefd3..c527937a 100644 --- a/src/engine/events/CreatePatch.cpp +++ b/src/engine/events/CreatePatch.cpp @@ -31,6 +31,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -161,4 +162,5 @@ CreatePatchEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/CreatePatch.hpp b/src/engine/events/CreatePatch.hpp index 44b47d8c..3aa400bc 100644 --- a/src/engine/events/CreatePatch.hpp +++ b/src/engine/events/CreatePatch.hpp @@ -26,6 +26,8 @@ namespace Ingen { class PatchImpl; class CompiledPatch; +namespace Events { + /** Creates a new Patch. * @@ -61,6 +63,7 @@ private: } // namespace Ingen +} // namespace Events #endif // CREATEPATCHEVENT_H diff --git a/src/engine/events/CreatePort.cpp b/src/engine/events/CreatePort.cpp index e12cdea2..5fb6d64d 100644 --- a/src/engine/events/CreatePort.cpp +++ b/src/engine/events/CreatePort.cpp @@ -39,6 +39,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -178,4 +179,5 @@ CreatePortEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/CreatePort.hpp b/src/engine/events/CreatePort.hpp index ab65eabd..13cccfa6 100644 --- a/src/engine/events/CreatePort.hpp +++ b/src/engine/events/CreatePort.hpp @@ -30,6 +30,8 @@ class PatchImpl; class PortImpl; class DriverPort; +namespace Events { + /** An event to add a Port to a Patch. * @@ -76,5 +78,6 @@ private: } // namespace Ingen +} // namespace Events #endif // CREATEPORTEVENT_H diff --git a/src/engine/events/Deactivate.hpp b/src/engine/events/Deactivate.hpp index 57f09b28..c60b40b0 100644 --- a/src/engine/events/Deactivate.hpp +++ b/src/engine/events/Deactivate.hpp @@ -22,6 +22,7 @@ #include "Engine.hpp" namespace Ingen { +namespace Events { /** Deactivates the engine. @@ -43,5 +44,6 @@ public: } // namespace Ingen +} // namespace Events #endif // DEACTIVATEEVENT_H diff --git a/src/engine/events/Delete.cpp b/src/engine/events/Delete.cpp index 54e5626e..259fbcc6 100644 --- a/src/engine/events/Delete.cpp +++ b/src/engine/events/Delete.cpp @@ -34,6 +34,7 @@ using namespace std; namespace Ingen { +namespace Events { using namespace Shared; @@ -211,3 +212,4 @@ DeleteEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Delete.hpp b/src/engine/events/Delete.hpp index abaf9cdd..d5dc86da 100644 --- a/src/engine/events/Delete.hpp +++ b/src/engine/events/Delete.hpp @@ -33,9 +33,13 @@ class GraphObjectImpl; class NodeImpl; class PortImpl; class DriverPort; -class DisconnectAllEvent; class CompiledPatch; +namespace Events { + +class DisconnectAllEvent; + + /** \page methods * <h2>DELETE</h2> * As per WebDAV (RFC4918 S9.6). @@ -83,5 +87,6 @@ private: } // namespace Ingen +} // namespace Events #endif // DESTROYEVENT_H diff --git a/src/engine/events/Disconnect.cpp b/src/engine/events/Disconnect.cpp index e6d9b53d..6760b8d1 100644 --- a/src/engine/events/Disconnect.cpp +++ b/src/engine/events/Disconnect.cpp @@ -31,6 +31,7 @@ using namespace std; namespace Ingen { +namespace Events { //// DisconnectionEvent //// @@ -209,4 +210,5 @@ DisconnectionEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Disconnect.hpp b/src/engine/events/Disconnect.hpp index 24766462..d5b8b823 100644 --- a/src/engine/events/Disconnect.hpp +++ b/src/engine/events/Disconnect.hpp @@ -38,6 +38,8 @@ class InputPort; class OutputPort; class CompiledPatch; +namespace Events { + /** Make a Connection between two Ports. * @@ -84,5 +86,6 @@ private: } // namespace Ingen +} // namespace Events #endif // DISCONNECTIONEVENT_H diff --git a/src/engine/events/DisconnectAll.cpp b/src/engine/events/DisconnectAll.cpp index 2ab96394..b4380f34 100644 --- a/src/engine/events/DisconnectAll.cpp +++ b/src/engine/events/DisconnectAll.cpp @@ -38,6 +38,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { DisconnectAllEvent::DisconnectAllEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const Path& parent_path, const Path& node_path) @@ -183,4 +184,5 @@ DisconnectAllEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/DisconnectAll.hpp b/src/engine/events/DisconnectAll.hpp index 66c639f1..de07b250 100644 --- a/src/engine/events/DisconnectAll.hpp +++ b/src/engine/events/DisconnectAll.hpp @@ -24,7 +24,6 @@ namespace Ingen { -class DisconnectionEvent; class PatchImpl; class NodeImpl; class Connection; @@ -32,6 +31,10 @@ class PortImpl; class InputPort; class OutputPort; +namespace Events { + +class DisconnectionEvent; + /** An event to disconnect all connections to a Node. * @@ -71,6 +74,7 @@ private: } // namespace Ingen +} // namespace Events #endif // DISCONNECTNODEEVENT_H diff --git a/src/engine/events/Get.cpp b/src/engine/events/Get.cpp index a5193004..06a3493b 100644 --- a/src/engine/events/Get.cpp +++ b/src/engine/events/Get.cpp @@ -30,6 +30,7 @@ using namespace Raul; namespace Ingen { +namespace Events { GetEvent::GetEvent( @@ -83,4 +84,5 @@ GetEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Get.hpp b/src/engine/events/Get.hpp index d2413043..e1ede451 100644 --- a/src/engine/events/Get.hpp +++ b/src/engine/events/Get.hpp @@ -26,6 +26,8 @@ namespace Ingen { class GraphObjectImpl; class PluginImpl; +namespace Events { + /** A request from a client to send an object. * @@ -52,5 +54,6 @@ private: } // namespace Ingen +} // namespace Events #endif // REQUESTOBJECTEVENT_H diff --git a/src/engine/events/LoadPlugins.cpp b/src/engine/events/LoadPlugins.cpp index 14c9c915..b9276954 100644 --- a/src/engine/events/LoadPlugins.cpp +++ b/src/engine/events/LoadPlugins.cpp @@ -23,6 +23,7 @@ #include "QueuedEventSource.hpp" namespace Ingen { +namespace Events { LoadPluginsEvent::LoadPluginsEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, QueuedEventSource* source) @@ -50,4 +51,5 @@ LoadPluginsEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/LoadPlugins.hpp b/src/engine/events/LoadPlugins.hpp index cf134aea..646acb45 100644 --- a/src/engine/events/LoadPlugins.hpp +++ b/src/engine/events/LoadPlugins.hpp @@ -21,6 +21,7 @@ #include "QueuedEvent.hpp" namespace Ingen { +namespace Events { /** Loads all plugins into the internal plugin database (in NodeFactory). @@ -41,5 +42,6 @@ public: } // namespace Ingen +} // namespace Events #endif // LOADPLUGINSEVENT_H diff --git a/src/engine/events/MidiLearn.cpp b/src/engine/events/MidiLearn.cpp index 8a06508a..00ea4f75 100644 --- a/src/engine/events/MidiLearn.cpp +++ b/src/engine/events/MidiLearn.cpp @@ -27,6 +27,7 @@ using namespace std; namespace Ingen { +namespace Events { MidiLearnEvent::MidiLearnEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const Raul::Path& node_path) @@ -79,5 +80,6 @@ MidiLearnEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/MidiLearn.hpp b/src/engine/events/MidiLearn.hpp index e718cd00..3b13c896 100644 --- a/src/engine/events/MidiLearn.hpp +++ b/src/engine/events/MidiLearn.hpp @@ -25,7 +25,8 @@ namespace Ingen { class NodeImpl; -class ControlChangeEvent; + +namespace Events { /** A MIDI learn event (used by control node to learn controller number). @@ -54,5 +55,6 @@ private: } // namespace Ingen +} // namespace Events #endif // MIDILEARNEVENT_H diff --git a/src/engine/events/Move.cpp b/src/engine/events/Move.cpp index cb439a3f..f90bf244 100644 --- a/src/engine/events/Move.cpp +++ b/src/engine/events/Move.cpp @@ -30,6 +30,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -140,3 +141,4 @@ MoveEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Move.hpp b/src/engine/events/Move.hpp index 06b410fb..5ef81c93 100644 --- a/src/engine/events/Move.hpp +++ b/src/engine/events/Move.hpp @@ -26,6 +26,9 @@ namespace Ingen { class PatchImpl; +namespace Events { + + /** \page methods * <h2>MOVE</h2> * As per WebDAV (RFC4918 S9.9). @@ -72,5 +75,6 @@ private: } // namespace Ingen +} // namespace Events #endif // RENAMEEVENT_H diff --git a/src/engine/events/Note.cpp b/src/engine/events/Note.cpp index 79ebcb10..b6ad7a2a 100644 --- a/src/engine/events/Note.cpp +++ b/src/engine/events/Note.cpp @@ -29,6 +29,7 @@ using namespace Raul; namespace Ingen { +namespace Events { /** Note on with Patch explicitly passed. @@ -101,4 +102,5 @@ NoteEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/Note.hpp b/src/engine/events/Note.hpp index eba0ff6b..bb9d7989 100644 --- a/src/engine/events/Note.hpp +++ b/src/engine/events/Note.hpp @@ -25,6 +25,8 @@ namespace Ingen { class NodeImpl; +namespace Events { + /** A note on event. * @@ -62,5 +64,6 @@ private: } // namespace Ingen +} // namespace Events #endif // NOTEEVENT_H diff --git a/src/engine/events/Ping.hpp b/src/engine/events/Ping.hpp index 108948a0..cfb574ac 100644 --- a/src/engine/events/Ping.hpp +++ b/src/engine/events/Ping.hpp @@ -26,6 +26,8 @@ namespace Ingen { class PortImpl; +namespace Events { + /** A ping that travels through the pre-processed event queue before responding * (useful for the order guarantee). @@ -44,5 +46,6 @@ public: } // namespace Ingen +} // namespace Events #endif // PINGQUEUEDEVENT_H diff --git a/src/engine/events/RegisterClient.cpp b/src/engine/events/RegisterClient.cpp index dab1c739..701075be 100644 --- a/src/engine/events/RegisterClient.cpp +++ b/src/engine/events/RegisterClient.cpp @@ -23,6 +23,7 @@ using namespace Raul; namespace Ingen { +namespace Events { RegisterClientEvent::RegisterClientEvent(Engine& engine, @@ -54,4 +55,5 @@ RegisterClientEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/RegisterClient.hpp b/src/engine/events/RegisterClient.hpp index 6016d949..d72c1d5a 100644 --- a/src/engine/events/RegisterClient.hpp +++ b/src/engine/events/RegisterClient.hpp @@ -23,6 +23,7 @@ #include "QueuedEvent.hpp" namespace Ingen { +namespace Events { /** Registers a new client with the OSC system, so it can receive updates. @@ -48,5 +49,6 @@ private: } // namespace Ingen +} // namespace Events #endif // REGISTERCLIENTEVENT_H diff --git a/src/engine/events/RequestAllObjects.cpp b/src/engine/events/RequestAllObjects.cpp index 986cbb0c..998566a4 100644 --- a/src/engine/events/RequestAllObjects.cpp +++ b/src/engine/events/RequestAllObjects.cpp @@ -24,6 +24,7 @@ #include "PatchImpl.hpp" namespace Ingen { +namespace Events { RequestAllObjectsEvent::RequestAllObjectsEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp) @@ -57,4 +58,5 @@ RequestAllObjectsEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/RequestAllObjects.hpp b/src/engine/events/RequestAllObjects.hpp index c473512c..260c70ac 100644 --- a/src/engine/events/RequestAllObjects.hpp +++ b/src/engine/events/RequestAllObjects.hpp @@ -21,6 +21,7 @@ #include "QueuedEvent.hpp" namespace Ingen { +namespace Events { /** A request from a client to send notification of all objects (ie refresh). @@ -38,5 +39,6 @@ public: } // namespace Ingen +} // namespace Events #endif // REQUESTALLOBJECTSEVENT_H diff --git a/src/engine/events/RequestMetadata.cpp b/src/engine/events/RequestMetadata.cpp index 26400fef..8ffcb513 100644 --- a/src/engine/events/RequestMetadata.cpp +++ b/src/engine/events/RequestMetadata.cpp @@ -30,6 +30,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -125,4 +126,5 @@ RequestMetadataEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/RequestMetadata.hpp b/src/engine/events/RequestMetadata.hpp index ead39a50..23a528b7 100644 --- a/src/engine/events/RequestMetadata.hpp +++ b/src/engine/events/RequestMetadata.hpp @@ -25,9 +25,11 @@ namespace Ingen { namespace Shared { class ResourceImpl; } - class GraphObjectImpl; +namespace Events { + + /** \page methods * <h2>GET</h2> * As per HTTP (RFC2616 S9.3). @@ -69,5 +71,6 @@ private: } // namespace Ingen +} // namespace Events #endif // REQUESTMETADATAEVENT_H diff --git a/src/engine/events/RequestPlugins.cpp b/src/engine/events/RequestPlugins.cpp index 9daa24d1..b54888c3 100644 --- a/src/engine/events/RequestPlugins.cpp +++ b/src/engine/events/RequestPlugins.cpp @@ -22,6 +22,7 @@ #include "NodeFactory.hpp" namespace Ingen { +namespace Events { RequestPluginsEvent::RequestPluginsEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp) @@ -54,4 +55,5 @@ RequestPluginsEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/RequestPlugins.hpp b/src/engine/events/RequestPlugins.hpp index d4f2d05a..8eb98492 100644 --- a/src/engine/events/RequestPlugins.hpp +++ b/src/engine/events/RequestPlugins.hpp @@ -25,6 +25,9 @@ namespace Ingen { class Responder; +namespace Events { + + /** A request from a client to send notification of all objects (ie refresh). * * \ingroup engine @@ -43,5 +46,6 @@ private: } // namespace Ingen +} // namespace Events #endif // REQUESTPLUGINSEVENT_H diff --git a/src/engine/events/SendPortActivity.cpp b/src/engine/events/SendPortActivity.cpp index 9dc26365..580f347f 100644 --- a/src/engine/events/SendPortActivity.cpp +++ b/src/engine/events/SendPortActivity.cpp @@ -21,6 +21,7 @@ #include "ClientBroadcaster.hpp" namespace Ingen { +namespace Events { void @@ -31,4 +32,5 @@ SendPortActivityEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/SendPortActivity.hpp b/src/engine/events/SendPortActivity.hpp index 45a4cd36..bc2cb21f 100644 --- a/src/engine/events/SendPortActivity.hpp +++ b/src/engine/events/SendPortActivity.hpp @@ -25,6 +25,8 @@ namespace Ingen { class PortImpl; +namespace Events { + /** A special event used internally to send port activity notification (e.g. * MIDI event activity) from the audio thread. @@ -61,5 +63,6 @@ private: } // namespace Ingen +} // namespace Events #endif // SENDPORTACTIVITYEVENT_H diff --git a/src/engine/events/SendPortValue.cpp b/src/engine/events/SendPortValue.cpp index 56292bf0..170399a4 100644 --- a/src/engine/events/SendPortValue.cpp +++ b/src/engine/events/SendPortValue.cpp @@ -24,6 +24,7 @@ using namespace std; namespace Ingen { +namespace Events { void @@ -40,4 +41,5 @@ SendPortValueEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/SendPortValue.hpp b/src/engine/events/SendPortValue.hpp index 87d42e7a..051070b7 100644 --- a/src/engine/events/SendPortValue.hpp +++ b/src/engine/events/SendPortValue.hpp @@ -25,6 +25,8 @@ namespace Ingen { class PortImpl; +namespace Events { + /** A special event used internally to send port values from the audio thread. * @@ -72,5 +74,6 @@ private: } // namespace Ingen +} // namespace Events #endif // SENDPORTVALUEEVENT_H diff --git a/src/engine/events/SetMetadata.cpp b/src/engine/events/SetMetadata.cpp index f722d3b2..ad0be1f9 100644 --- a/src/engine/events/SetMetadata.cpp +++ b/src/engine/events/SetMetadata.cpp @@ -36,6 +36,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; typedef Shared::Resource::Properties Properties; @@ -239,4 +240,5 @@ SetMetadataEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/SetMetadata.hpp b/src/engine/events/SetMetadata.hpp index a3aadfa9..f9f375fc 100644 --- a/src/engine/events/SetMetadata.hpp +++ b/src/engine/events/SetMetadata.hpp @@ -30,6 +30,9 @@ class GraphObjectImpl; class PatchImpl; class CompiledPatch; +namespace Events { + + /** \page methods * <h2>POST</h2> * As per HTTP (RFC2616 S9.5). @@ -96,5 +99,6 @@ private: } // namespace Ingen +} // namespace Events #endif // SETMETADATAEVENT_H diff --git a/src/engine/events/SetPortValue.cpp b/src/engine/events/SetPortValue.cpp index 14892bcf..4078b7c2 100644 --- a/src/engine/events/SetPortValue.cpp +++ b/src/engine/events/SetPortValue.cpp @@ -36,6 +36,7 @@ using namespace std; using namespace Raul; namespace Ingen { +namespace Events { using namespace Shared; @@ -227,4 +228,5 @@ SetPortValueEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/SetPortValue.hpp b/src/engine/events/SetPortValue.hpp index 31eb67de..701ab09f 100644 --- a/src/engine/events/SetPortValue.hpp +++ b/src/engine/events/SetPortValue.hpp @@ -26,6 +26,8 @@ namespace Ingen { class PortImpl; +namespace Events { + /** An event to change the value of a port. * @@ -82,5 +84,6 @@ private: } // namespace Ingen +} // namespace Events #endif // SETPORTVALUEEVENT_H diff --git a/src/engine/events/UnregisterClient.cpp b/src/engine/events/UnregisterClient.cpp index 9e0572d5..13bf2d47 100644 --- a/src/engine/events/UnregisterClient.cpp +++ b/src/engine/events/UnregisterClient.cpp @@ -24,6 +24,7 @@ using namespace Raul; namespace Ingen { +namespace Events { UnregisterClientEvent::UnregisterClientEvent(Engine& engine, SharedPtr<Responder> responder, SampleCount timestamp, const URI& uri) @@ -44,4 +45,5 @@ UnregisterClientEvent::post_process() } // namespace Ingen +} // namespace Events diff --git a/src/engine/events/UnregisterClient.hpp b/src/engine/events/UnregisterClient.hpp index d33ea554..8d313fb2 100644 --- a/src/engine/events/UnregisterClient.hpp +++ b/src/engine/events/UnregisterClient.hpp @@ -22,6 +22,7 @@ #include "raul/URI.hpp" namespace Ingen { +namespace Events { /** Unregisters an OSC client so it no longer receives notifications. @@ -44,5 +45,6 @@ private: } // namespace Ingen +} // namespace Events #endif // UNREGISTERCLIENTEVENT_H |