From 394b01da8e26dbe1b6a0520944d954ca0b16b1b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Sep 2018 17:31:12 +0200 Subject: Use lowercase namespace names --- ingen/client/ArcModel.hpp | 8 ++++---- ingen/client/BlockModel.hpp | 8 ++++---- ingen/client/ClientStore.hpp | 8 ++++---- ingen/client/GraphModel.hpp | 16 ++++++++-------- ingen/client/ObjectModel.hpp | 8 ++++---- ingen/client/PluginModel.hpp | 14 +++++++------- ingen/client/PluginUI.hpp | 16 ++++++++-------- ingen/client/PortModel.hpp | 8 ++++---- ingen/client/SigClientInterface.hpp | 10 +++++----- ingen/client/SocketClient.hpp | 14 +++++++------- 10 files changed, 55 insertions(+), 55 deletions(-) (limited to 'ingen/client') diff --git a/ingen/client/ArcModel.hpp b/ingen/client/ArcModel.hpp index 8b129a00..84b989a0 100644 --- a/ingen/client/ArcModel.hpp +++ b/ingen/client/ArcModel.hpp @@ -26,8 +26,8 @@ #include "ingen/client/PortModel.hpp" #include "ingen/ingen.h" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { class ClientStore; @@ -62,7 +62,7 @@ private: const SPtr _head; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_ARCMODEL_HPP diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp index 38e8987e..da1da734 100644 --- a/ingen/client/BlockModel.hpp +++ b/ingen/client/BlockModel.hpp @@ -30,11 +30,11 @@ namespace Raul { class Path; } -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class PluginModel; class ClientStore; @@ -112,7 +112,7 @@ private: mutable float* _max_values; ///< Port max values (cached for LV2) }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_BLOCKMODEL_HPP diff --git a/ingen/client/ClientStore.hpp b/ingen/client/ClientStore.hpp index 797052ef..0d7cb185 100644 --- a/ingen/client/ClientStore.hpp +++ b/ingen/client/ClientStore.hpp @@ -30,13 +30,13 @@ namespace Raul { class Atom; } -namespace Ingen { +namespace ingen { class Log; class Node; class URIs; -namespace Client { +namespace client { class BlockModel; class GraphModel; @@ -121,7 +121,7 @@ private: SPtr _plugins; ///< Map, keyed by plugin URI }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_CLIENTSTORE_HPP diff --git a/ingen/client/GraphModel.hpp b/ingen/client/GraphModel.hpp index ef072d87..d5f4904a 100644 --- a/ingen/client/GraphModel.hpp +++ b/ingen/client/GraphModel.hpp @@ -21,8 +21,8 @@ #include "ingen/ingen.h" #include "ingen/types.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { class ArcModel; class ClientStore; @@ -38,8 +38,8 @@ public: GraphType graph_type() const { return Node::GraphType::GRAPH; } - SPtr get_arc(const Ingen::Node* tail, - const Ingen::Node* head); + SPtr get_arc(const ingen::Node* tail, + const ingen::Node* head); bool enabled() const; bool polyphonic() const; @@ -64,11 +64,11 @@ private: void remove_arcs_on(SPtr p); void add_arc(SPtr arc); - void remove_arc(const Ingen::Node* tail, - const Ingen::Node* head); + void remove_arc(const ingen::Node* tail, + const ingen::Node* head); }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_GRAPHMODEL_HPP diff --git a/ingen/client/ObjectModel.hpp b/ingen/client/ObjectModel.hpp index a5a68f1e..62b115e3 100644 --- a/ingen/client/ObjectModel.hpp +++ b/ingen/client/ObjectModel.hpp @@ -33,11 +33,11 @@ #include "ingen/client/signal.hpp" #include "ingen/ingen.h" -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class ClientStore; @@ -97,7 +97,7 @@ private: Raul::Symbol _symbol; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_OBJECTMODEL_HPP diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index 61de0f1a..381d289b 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -32,11 +32,11 @@ #include "raul/Symbol.hpp" #include "sord/sordmm.hpp" -namespace Ingen { +namespace ingen { class URIs; -namespace Client { +namespace client { class GraphModel; class BlockModel; @@ -46,13 +46,13 @@ class PluginUI; * * @ingroup IngenClient */ -class INGEN_API PluginModel : public Ingen::Resource +class INGEN_API PluginModel : public ingen::Resource { public: PluginModel(URIs& uris, const URI& uri, const Atom& type, - const Ingen::Properties& properties); + const ingen::Properties& properties); const Atom& type() const { return _type; } @@ -83,7 +83,7 @@ public: bool has_ui() const; - SPtr ui(Ingen::World* world, + SPtr ui(ingen::World* world, SPtr block) const; std::string documentation(bool html) const; @@ -122,7 +122,7 @@ private: bool _fetched; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PLUGINMODEL_HPP diff --git a/ingen/client/PluginUI.hpp b/ingen/client/PluginUI.hpp index a98df61d..6a6d6db9 100644 --- a/ingen/client/PluginUI.hpp +++ b/ingen/client/PluginUI.hpp @@ -25,12 +25,12 @@ #include "lilv/lilv.h" #include "suil/suil.h" -namespace Ingen { +namespace ingen { class Interface; class World; -namespace Client { +namespace client { class BlockModel; @@ -48,7 +48,7 @@ public: * connected first. The caller should connect to signal_property_changed, * then call instantiate(). */ - static SPtr create(Ingen::World* world, + static SPtr create(ingen::World* world, SPtr block, const LilvPlugin* plugin); @@ -81,17 +81,17 @@ public: const Atom&, // Object Resource::Graph); // Context - Ingen::World* world() const { return _world; } + ingen::World* world() const { return _world; } SPtr block() const { return _block; } private: - PluginUI(Ingen::World* world, + PluginUI(ingen::World* world, SPtr block, LilvUIs* uis, const LilvUI* ui, const LilvNode* ui_type); - Ingen::World* _world; + ingen::World* _world; SPtr _block; SuilInstance* _instance; LilvUIs* _uis; @@ -105,7 +105,7 @@ private: SPtr _features; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PLUGINUI_HPP diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp index 3634d31f..a544b00b 100644 --- a/ingen/client/PortModel.hpp +++ b/ingen/client/PortModel.hpp @@ -28,8 +28,8 @@ namespace Raul { class Path; } -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** Model of a port. * @@ -91,7 +91,7 @@ private: Direction _direction; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_PORTMODEL_HPP diff --git a/ingen/client/SigClientInterface.hpp b/ingen/client/SigClientInterface.hpp index 8ac8dca4..461a7470 100644 --- a/ingen/client/SigClientInterface.hpp +++ b/ingen/client/SigClientInterface.hpp @@ -26,8 +26,8 @@ #include "ingen/client/signal.hpp" #include "ingen/ingen.h" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** A LibSigC++ signal emitting interface for clients to use. * @@ -39,7 +39,7 @@ namespace Client { * * @ingroup IngenClient */ -class INGEN_API SigClientInterface : public Ingen::Interface, +class INGEN_API SigClientInterface : public ingen::Interface, public INGEN_TRACKABLE { public: @@ -58,7 +58,7 @@ protected: } }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif diff --git a/ingen/client/SocketClient.hpp b/ingen/client/SocketClient.hpp index 8236200b..9703cf29 100644 --- a/ingen/client/SocketClient.hpp +++ b/ingen/client/SocketClient.hpp @@ -22,8 +22,8 @@ #include "ingen/ingen.h" #include "raul/Socket.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { /** The client side of an Ingen socket connection. */ class INGEN_API SocketClient : public SocketWriter @@ -46,10 +46,10 @@ public: _respondee = respondee; } - static SPtr - new_socket_interface(Ingen::World* world, + static SPtr + new_socket_interface(ingen::World* world, const URI& uri, - SPtr respondee) + SPtr respondee) { const Raul::Socket::Type type = (uri.scheme() == "unix" ? Raul::Socket::Type::UNIX @@ -74,7 +74,7 @@ private: SocketReader _reader; }; -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen #endif // INGEN_CLIENT_SOCKET_CLIENT_HPP -- cgit v1.2.1