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 --- src/client/BlockModel.cpp | 14 +++++++------- src/client/ClientStore.cpp | 8 ++++---- src/client/GraphModel.cpp | 8 ++++---- src/client/ObjectModel.cpp | 8 ++++---- src/client/PluginModel.cpp | 10 +++++----- src/client/PluginUI.cpp | 12 ++++++------ src/client/PortModel.cpp | 8 ++++---- src/client/ingen_client.cpp | 6 +++--- 8 files changed, 37 insertions(+), 37 deletions(-) (limited to 'src/client') diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index 910f7037..a15674d4 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -22,8 +22,8 @@ #include "ingen/URIs.hpp" #include "ingen/World.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { BlockModel::BlockModel(URIs& uris, SPtr plugin, @@ -157,12 +157,12 @@ BlockModel::get_port(uint32_t index) const return _ports[index]; } -Ingen::Node* +ingen::Node* BlockModel::port(uint32_t index) const { assert(index < num_ports()); - return const_cast( - dynamic_cast(_ports[index].get())); + return const_cast( + dynamic_cast(_ports[index].get())); } void @@ -281,5 +281,5 @@ BlockModel::set(SPtr model) ObjectModel::set(model); } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp index 792f8949..ad3b3c0d 100644 --- a/src/client/ClientStore.cpp +++ b/src/client/ClientStore.cpp @@ -26,8 +26,8 @@ #include "ingen/client/PortModel.hpp" #include "ingen/client/SigClientInterface.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { ClientStore::ClientStore(URIs& uris, Log& log, @@ -483,5 +483,5 @@ ClientStore::operator()(const DisconnectAll& msg) } } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index 0723e59b..31947ba7 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -22,8 +22,8 @@ #include "ingen/client/ClientStore.hpp" #include "ingen/client/GraphModel.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { void GraphModel::add_child(SPtr c) @@ -172,5 +172,5 @@ GraphModel::polyphonic() const return poly.is_valid() && poly.get(); } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index 8d40b120..65dd1a37 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -18,8 +18,8 @@ #include "ingen/URIs.hpp" #include "ingen/client/ObjectModel.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { ObjectModel::ObjectModel(URIs& uris, const Raul::Path& path) : Node(uris, path) @@ -104,5 +104,5 @@ ObjectModel::set_parent(SPtr p) _parent = p; } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 5427b75e..99269831 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -30,8 +30,8 @@ using std::string; -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { LilvWorld* PluginModel::_lilv_world = nullptr; const LilvPlugins* PluginModel::_lilv_plugins = nullptr; @@ -240,7 +240,7 @@ PluginModel::has_ui() const } SPtr -PluginModel::ui(Ingen::World* world, +PluginModel::ui(ingen::World* world, SPtr block) const { if (!_lilv_plugin) { @@ -356,5 +356,5 @@ PluginModel::set_lilv_world(LilvWorld* world) _lilv_plugins = lilv_world_get_all_plugins(_lilv_world); } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index 222a7d55..2368ad63 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -23,8 +23,8 @@ #include "lv2/atom/atom.h" #include "lv2/ui/ui.h" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { SuilHost* PluginUI::ui_host = nullptr; @@ -145,7 +145,7 @@ lv2_ui_unsubscribe(SuilController controller, return 0; } -PluginUI::PluginUI(Ingen::World* world, +PluginUI::PluginUI(ingen::World* world, SPtr block, LilvUIs* uis, const LilvUI* ui, @@ -173,7 +173,7 @@ PluginUI::~PluginUI() } SPtr -PluginUI::create(Ingen::World* world, +PluginUI::create(ingen::World* world, SPtr block, const LilvPlugin* plugin) { @@ -332,5 +332,5 @@ PluginUI::is_resizable() const return !fs_matches && !nrs_matches; } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index 5c9a8c77..f83e043b 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -17,8 +17,8 @@ #include "ingen/client/BlockModel.hpp" #include "ingen/client/PortModel.hpp" -namespace Ingen { -namespace Client { +namespace ingen { +namespace client { void PortModel::on_property(const URI& uri, const Atom& value) @@ -74,5 +74,5 @@ PortModel::set(SPtr model) } } -} // namespace Client -} // namespace Ingen +} // namespace client +} // namespace ingen diff --git a/src/client/ingen_client.cpp b/src/client/ingen_client.cpp index fe9d6605..64162ed6 100644 --- a/src/client/ingen_client.cpp +++ b/src/client/ingen_client.cpp @@ -19,13 +19,13 @@ #include "ingen_config.h" -struct IngenClientModule : public Ingen::Module { - void load(Ingen::World* world) {} +struct IngenClientModule : public ingen::Module { + void load(ingen::World* world) {} }; extern "C" { -Ingen::Module* +ingen::Module* ingen_module_load() { return new IngenClientModule(); -- cgit v1.2.1