summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Builder.cpp6
-rw-r--r--src/shared/Builder.hpp6
-rw-r--r--src/shared/ClashAvoider.cpp16
-rw-r--r--src/shared/ClashAvoider.hpp36
-rw-r--r--src/shared/HTTPSender.cpp14
-rw-r--r--src/shared/HTTPSender.hpp10
-rw-r--r--src/shared/LV2Features.cpp12
-rw-r--r--src/shared/LV2Features.hpp14
-rw-r--r--src/shared/LV2URIMap.cpp14
-rw-r--r--src/shared/LV2URIMap.hpp16
-rw-r--r--src/shared/OSCSender.cpp18
-rw-r--r--src/shared/OSCSender.hpp10
-rw-r--r--src/shared/ResourceImpl.cpp6
-rw-r--r--src/shared/ResourceImpl.hpp6
-rw-r--r--src/shared/Store.cpp8
-rw-r--r--src/shared/Store.hpp12
-rw-r--r--src/shared/runtime_paths.cpp8
-rw-r--r--src/shared/runtime_paths.hpp6
18 files changed, 109 insertions, 109 deletions
diff --git a/src/shared/Builder.cpp b/src/shared/Builder.cpp
index d1ddee32..dee39b2d 100644
--- a/src/shared/Builder.cpp
+++ b/src/shared/Builder.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/src/shared/Builder.hpp b/src/shared/Builder.hpp
index c49937fe..f6f083a2 100644
--- a/src/shared/Builder.hpp
+++ b/src/shared/Builder.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index 4995aa5e..f57db45e 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -41,7 +41,7 @@ ClashAvoider::map_path(const Raul::Path& in)
{
//cout << "MAP PATH: " << in;
//cout << endl << "**** MAP PATH: " << in << endl;
-
+
unsigned offset = 0;
bool has_offset = false;
size_t pos = in.find_last_of("_");
@@ -51,7 +51,7 @@ ClashAvoider::map_path(const Raul::Path& in)
}
//cout << "OFFSET: " << offset << endl;
-
+
// Path without _n suffix
Path base_path = in;
if (has_offset)
@@ -65,7 +65,7 @@ ClashAvoider::map_path(const Raul::Path& in)
return m->second;
} else {
typedef std::pair<SymbolMap::iterator, bool> InsertRecord;
-
+
// See if parent is mapped
Path parent = in.parent();
do {
@@ -86,7 +86,7 @@ ClashAvoider::map_path(const Raul::Path& in)
assert(i.second);
//cout << " (3) " << i.first->second << endl;;
return i.first->second;
-
+
// Append _2 _3 etc until an unused symbol is found
} else {
while (true) {
@@ -100,7 +100,7 @@ ClashAvoider::map_path(const Raul::Path& in)
parent_str = "/";
//cout << "***** PARENT: " << parent_str << endl;
}
-
+
if (offset == 0)
offset = 2;
diff --git a/src/shared/ClashAvoider.hpp b/src/shared/ClashAvoider.hpp
index 0334610d..221cba32 100644
--- a/src/shared/ClashAvoider.hpp
+++ b/src/shared/ClashAvoider.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -41,54 +41,54 @@ public:
: _store(store), _target(target), _also_avoid(also_avoid) {}
void set_target(CommonInterface& target) { _target = target; }
-
+
// Bundles
void bundle_begin() { _target.bundle_begin(); }
void bundle_end() { _target.bundle_end(); }
-
+
// Object commands
-
+
virtual bool new_object(const GraphObject* object);
virtual void new_patch(const Raul::Path& path,
uint32_t poly);
-
+
virtual void new_node(const Raul::Path& path,
const Raul::URI& plugin_uri);
-
+
virtual void new_port(const Raul::Path& path,
const Raul::URI& type,
uint32_t index,
bool is_output);
-
+
virtual void rename(const Raul::Path& old_path,
const Raul::Path& new_path);
-
+
virtual void connect(const Raul::Path& src_port_path,
const Raul::Path& dst_port_path);
-
+
virtual void disconnect(const Raul::Path& src_port_path,
const Raul::Path& dst_port_path);
-
+
virtual void set_variable(const Raul::URI& subject_path,
const Raul::URI& predicate,
const Raul::Atom& value);
-
+
virtual void set_property(const Raul::URI& subject_path,
const Raul::URI& predicate,
const Raul::Atom& value);
-
+
virtual void set_port_value(const Raul::Path& port_path,
const Raul::Atom& value);
-
+
virtual void set_voice_value(const Raul::Path& port_path,
uint32_t voice,
const Raul::Atom& value);
-
+
virtual void destroy(const Raul::Path& path);
-
+
virtual void clear_patch(const Raul::Path& patch_path);
-
+
private:
const Raul::URI map_uri(const Raul::URI& in);
const Raul::Path map_path(const Raul::Path& in);
diff --git a/src/shared/HTTPSender.cpp b/src/shared/HTTPSender.cpp
index e5cd80dc..6d036989 100644
--- a/src/shared/HTTPSender.cpp
+++ b/src/shared/HTTPSender.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -59,7 +59,7 @@ HTTPSender::HTTPSender()
fprintf(stderr, "Error calling bind (%s)\n", strerror(errno));
_listen_sock = -1;
}
-
+
// Find port number
socklen_t length = sizeof(addr);
if (getsockname(_listen_sock, (struct sockaddr*)&addr, &length) == -1) {
@@ -67,7 +67,7 @@ HTTPSender::HTTPSender()
_listen_sock = -1;
return;
}
-
+
if (listen(_listen_sock, 1) < 0 ) {
cerr << "Error calling listen: %s" << strerror(errno) << endl;
_listen_sock = -1;
@@ -96,7 +96,7 @@ HTTPSender::_run()
cerr << "Unable to open socket, exiting sender thread" << endl;
return;
}
-
+
// Accept connection
if ((_client_sock = accept(_listen_sock, NULL, NULL) ) < 0) {
cerr << "Error calling accept: " << strerror(errno) << endl;
@@ -139,7 +139,7 @@ HTTPSender::bundle_end()
_mutex.unlock();
}
-
+
void
HTTPSender::send_chunk(const std::string& buf)
{
diff --git a/src/shared/HTTPSender.hpp b/src/shared/HTTPSender.hpp
index 1077b76d..61cd4142 100644
--- a/src/shared/HTTPSender.hpp
+++ b/src/shared/HTTPSender.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -34,7 +34,7 @@ public:
// Message bundling
void bundle_begin();
void bundle_end();
-
+
// Transfers (loose bundling)
void transfer_begin() { bundle_begin(); }
void transfer_end() { bundle_end(); }
@@ -45,7 +45,7 @@ protected:
void _run();
void send_chunk(const std::string& buf);
-
+
enum SendState { Immediate, SendingBundle };
Glib::Mutex _mutex;
diff --git a/src/shared/LV2Features.cpp b/src/shared/LV2Features.cpp
index 2e7eb10e..99e181a2 100644
--- a/src/shared/LV2Features.cpp
+++ b/src/shared/LV2Features.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -23,8 +23,8 @@ using namespace std;
namespace Ingen {
namespace Shared {
-
-
+
+
LV2Features::LV2Features()
: _lv2_features((LV2_Feature**)malloc(sizeof(LV2_Feature*)))
{
@@ -60,7 +60,7 @@ LV2Features::add_feature(const std::string& uri, LV2_Feature* feature, void* con
_lv2_features[_features.size()-1] = feature;
_lv2_features[_features.size()] = NULL;
}
-
+
} // namespace Shared
} // namespace Ingen
diff --git a/src/shared/LV2Features.hpp b/src/shared/LV2Features.hpp
index 3ffbe520..8636d993 100644
--- a/src/shared/LV2Features.hpp
+++ b/src/shared/LV2Features.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -26,10 +26,10 @@
#include <map>
#include <string>
#include "slv2/slv2.h"
-
+
namespace Ingen {
namespace Shared {
-
+
/** Stuff that may need to be passed to an LV2 plugin (i.e. LV2 features).
*/
@@ -44,9 +44,9 @@ public:
};
typedef std::map<std::string, Feature> Features;
-
+
const Feature* feature(const std::string& uri);
-
+
void add_feature(const std::string& uri, LV2_Feature* feature, void* controller);
LV2_Feature** lv2_features() const { return _lv2_features; }
diff --git a/src/shared/LV2URIMap.cpp b/src/shared/LV2URIMap.cpp
index c01dfea0..55ed659f 100644
--- a/src/shared/LV2URIMap.cpp
+++ b/src/shared/LV2URIMap.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -25,7 +25,7 @@ using namespace std;
namespace Ingen {
namespace Shared {
-
+
LV2URIMap::LV2URIMap()
: next_uri_id(1)
@@ -36,7 +36,7 @@ LV2URIMap::LV2URIMap()
uri_map_feature.data = &uri_map_feature_data;
}
-
+
uint32_t
LV2URIMap::uri_to_id(const char* map,
const char* uri)
@@ -51,7 +51,7 @@ LV2URIMap::uri_map_uri_to_id(LV2_URI_Map_Callback_Data callback_data,
const char* uri)
{
// TODO: map ignored, < UINT16_MAX assumed
-
+
LV2URIMap* me = (LV2URIMap*)callback_data;
uint32_t ret = 0;
@@ -62,7 +62,7 @@ LV2URIMap::uri_map_uri_to_id(LV2_URI_Map_Callback_Data callback_data,
ret = me->next_uri_id++;
me->uri_map.insert(make_pair(string(uri), ret));
}
-
+
/*cout << "URI MAP (" << (map ? (void*)map : NULL)
<< "): " << uri << " -> " << ret << endl;*/
diff --git a/src/shared/LV2URIMap.hpp b/src/shared/LV2URIMap.hpp
index 7da53a09..239e220e 100644
--- a/src/shared/LV2URIMap.hpp
+++ b/src/shared/LV2URIMap.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -28,17 +28,17 @@
#include <boost/utility.hpp>
#include "slv2/slv2.h"
#include "common/lv2ext/lv2_uri_map.h"
-
+
namespace Ingen {
namespace Shared {
-
+
/** Implementation of the LV2 URI Map extension
*/
class LV2URIMap : public boost::noncopyable {
public:
LV2URIMap();
-
+
LV2_Feature* feature() { return &uri_map_feature; }
uint32_t uri_to_id(const char* map,
@@ -46,11 +46,11 @@ public:
private:
typedef std::map<std::string, uint32_t> URIMap;
-
+
static uint32_t uri_map_uri_to_id(LV2_URI_Map_Callback_Data callback_data,
const char* map,
const char* uri);
-
+
LV2_Feature uri_map_feature;
LV2_URI_Map_Feature uri_map_feature_data;
URIMap uri_map;
diff --git a/src/shared/OSCSender.cpp b/src/shared/OSCSender.cpp
index dab5338e..834675b5 100644
--- a/src/shared/OSCSender.cpp
+++ b/src/shared/OSCSender.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -52,7 +52,7 @@ OSCSender::bundle_end()
transfer_end();
}
-
+
void
OSCSender::transfer_begin()
{
@@ -74,7 +74,7 @@ OSCSender::transfer_end()
_send_state = Immediate;
}
-
+
int
OSCSender::send(const char *path, const char *types, ...)
{
@@ -83,13 +83,13 @@ OSCSender::send(const char *path, const char *types, ...)
va_list args;
va_start(args, types);
-
+
lo_message msg = lo_message_new();
int ret = lo_message_add_varargs(msg, types, args);
-
+
if (!ret)
send_message(path, msg);
-
+
va_end(args);
return ret;
@@ -105,7 +105,7 @@ OSCSender::send_message(const char* path, lo_message msg)
if (!_enabled)
return;
-
+
if (_transfer) {
if (lo_bundle_length(_transfer) + lo_message_length(msg, path) > MAX_BUNDLE_SIZE) {
if (_send_state == SendingBundle)
diff --git a/src/shared/OSCSender.hpp b/src/shared/OSCSender.hpp
index da91caed..08f212be 100644
--- a/src/shared/OSCSender.hpp
+++ b/src/shared/OSCSender.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -30,11 +30,11 @@ public:
virtual ~OSCSender() {}
lo_address address() const { return _address; }
-
+
// Message bundling
void bundle_begin();
void bundle_end();
-
+
// Transfers (loose bundling)
void transfer_begin();
void transfer_end();
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp
index e8fbec35..fc2004af 100644
--- a/src/shared/ResourceImpl.cpp
+++ b/src/shared/ResourceImpl.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/src/shared/ResourceImpl.hpp b/src/shared/ResourceImpl.hpp
index 9cddbbf6..f164ce8d 100644
--- a/src/shared/ResourceImpl.hpp
+++ b/src/shared/ResourceImpl.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
diff --git a/src/shared/Store.cpp b/src/shared/Store.cpp
index 481f81c8..b843d80f 100644
--- a/src/shared/Store.cpp
+++ b/src/shared/Store.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -79,7 +79,7 @@ Store::find_child(SharedPtr<Shared::GraphObject> parent, const string& child_nam
else
return SharedPtr<Shared::GraphObject>();
}
-
+
unsigned
Store::child_name_offset(const Raul::Path& parent,
diff --git a/src/shared/Store.hpp b/src/shared/Store.hpp
index 1f52e1e9..4fa53773 100644
--- a/src/shared/Store.hpp
+++ b/src/shared/Store.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -30,21 +30,21 @@ namespace Shared {
class Store : public Raul::PathTable< SharedPtr<Shared::GraphObject> > {
public:
virtual ~Store() {}
-
+
virtual void add(Shared::GraphObject* o);
typedef Raul::Table< Raul::Path, SharedPtr<Shared::GraphObject> > Objects;
const_iterator children_begin(SharedPtr<Shared::GraphObject> o) const;
const_iterator children_end(SharedPtr<Shared::GraphObject> o) const;
-
+
SharedPtr<Shared::GraphObject> find_child(SharedPtr<Shared::GraphObject> parent,
const std::string& child_name) const;
unsigned child_name_offset(const Raul::Path& parent,
const Raul::Symbol& symbol,
bool allow_zero=true);
-
+
Glib::RWLock& lock() { return _lock; }
private:
diff --git a/src/shared/runtime_paths.cpp b/src/shared/runtime_paths.cpp
index 15bafa50..f487deae 100644
--- a/src/shared/runtime_paths.cpp
+++ b/src/shared/runtime_paths.cpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -42,7 +42,7 @@ set_bundle_path_from_code(void* function)
char bin_loc[PATH_MAX];
realpath(dli.dli_fname, bin_loc);
-
+
#ifdef BUNDLE
string bundle = bin_loc;
bundle = bundle.substr(0, bundle.find_last_of("/"));
diff --git a/src/shared/runtime_paths.hpp b/src/shared/runtime_paths.hpp
index 5ee1aebc..e654b684 100644
--- a/src/shared/runtime_paths.hpp
+++ b/src/shared/runtime_paths.hpp
@@ -1,15 +1,15 @@
/* This file is part of Ingen.
* Copyright (C) 2008 Dave Robillard <http://drobilla.net>
- *
+ *
* Ingen is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA