summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 17:31:12 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 17:31:12 +0200
commit394b01da8e26dbe1b6a0520944d954ca0b16b1b5 (patch)
tree1c079badda98cb366d72d59aabcb68fcc38760cf /src/client
parent367f7c57028ce05f3d765fed678a64ad54a73312 (diff)
downloadingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.tar.gz
ingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.tar.bz2
ingen-394b01da8e26dbe1b6a0520944d954ca0b16b1b5.zip
Use lowercase namespace names
Diffstat (limited to 'src/client')
-rw-r--r--src/client/BlockModel.cpp14
-rw-r--r--src/client/ClientStore.cpp8
-rw-r--r--src/client/GraphModel.cpp8
-rw-r--r--src/client/ObjectModel.cpp8
-rw-r--r--src/client/PluginModel.cpp10
-rw-r--r--src/client/PluginUI.cpp12
-rw-r--r--src/client/PortModel.cpp8
-rw-r--r--src/client/ingen_client.cpp6
8 files changed, 37 insertions, 37 deletions
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<PluginModel> 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<Ingen::Node*>(
- dynamic_cast<const Ingen::Node*>(_ports[index].get()));
+ return const_cast<ingen::Node*>(
+ dynamic_cast<const ingen::Node*>(_ports[index].get()));
}
void
@@ -281,5 +281,5 @@ BlockModel::set(SPtr<ObjectModel> 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<ObjectModel> c)
@@ -172,5 +172,5 @@ GraphModel::polyphonic() const
return poly.is_valid() && poly.get<int32_t>();
}
-} // 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<ObjectModel> 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<PluginUI>
-PluginModel::ui(Ingen::World* world,
+PluginModel::ui(ingen::World* world,
SPtr<const BlockModel> 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<const BlockModel> block,
LilvUIs* uis,
const LilvUI* ui,
@@ -173,7 +173,7 @@ PluginUI::~PluginUI()
}
SPtr<PluginUI>
-PluginUI::create(Ingen::World* world,
+PluginUI::create(ingen::World* world,
SPtr<const BlockModel> 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<ObjectModel> 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();