summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/ThreadedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-12-13 07:09:22 +0000
committerDavid Robillard <d@drobilla.net>2006-12-13 07:09:22 +0000
commite5c8e0d9752cfa6de4e6e0e8314ac572a9d113b1 (patch)
treeb5fe5c74ba99e604f7beca12617ff71b6c075ae1 /src/progs/ingenuity/ThreadedLoader.cpp
parentf4bec186d0dfe1e9f0a136c11a6ab0c5e1d74aa9 (diff)
downloadingen-e5c8e0d9752cfa6de4e6e0e8314ac572a9d113b1.tar.gz
ingen-e5c8e0d9752cfa6de4e6e0e8314ac572a9d113b1.tar.bz2
ingen-e5c8e0d9752cfa6de4e6e0e8314ac572a9d113b1.zip
Path parent/child bug fixes, added unit tests.
Breadcrumb/browsing/subsubpatch bug fixes. Fixed about window icon and glade error messages. git-svn-id: http://svn.drobilla.net/lad/ingen@223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/ThreadedLoader.cpp')
-rw-r--r--src/progs/ingenuity/ThreadedLoader.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/progs/ingenuity/ThreadedLoader.cpp b/src/progs/ingenuity/ThreadedLoader.cpp
index a3920665..79cd8507 100644
--- a/src/progs/ingenuity/ThreadedLoader.cpp
+++ b/src/progs/ingenuity/ThreadedLoader.cpp
@@ -55,12 +55,13 @@ ThreadedLoader::_whipped()
_mutex.unlock();
}
+/** FIXME: most of these paramteres do nothing */
void
ThreadedLoader::load_patch(bool merge,
const string& data_base_uri,
const Path& data_path,
MetadataMap engine_data,
- optional<const Path&> engine_parent,
+ const Path& engine_parent,
optional<const string&> engine_name,
optional<size_t> engine_poly)
{
@@ -75,7 +76,11 @@ ThreadedLoader::load_patch(bool merge,
_events.push_back(sigc::hide_return(sigc::bind(
sigc::mem_fun(_loader, &Loader::load),
- data_base_uri, "/", "", engine_data)));
+ data_base_uri,
+ engine_parent,
+ (engine_name) ? engine_name.get() : "",
+ "",
+ engine_data )));
_mutex.unlock();