diff options
author | David Robillard <d@drobilla.net> | 2007-07-25 06:07:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-25 06:07:42 +0000 |
commit | 75911e8ae28f011727ce303961a1adb56643689d (patch) | |
tree | ed83fcfc6bf11a6c5d48ef2337f7458fe29ea7a3 /src/libs/gui/LoadRemotePatchWindow.cpp | |
parent | 68861e30d860010424112ebaacf960a7839a009a (diff) | |
download | ingen-75911e8ae28f011727ce303961a1adb56643689d.tar.gz ingen-75911e8ae28f011727ce303961a1adb56643689d.tar.bz2 ingen-75911e8ae28f011727ce303961a1adb56643689d.zip |
Fix running with ingen -eg.
Start basic framework of an Ingen "Core" system/library (in module library for now).
git-svn-id: http://svn.drobilla.net/lad/ingen@624 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/gui/LoadRemotePatchWindow.cpp')
-rw-r--r-- | src/libs/gui/LoadRemotePatchWindow.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/gui/LoadRemotePatchWindow.cpp b/src/libs/gui/LoadRemotePatchWindow.cpp index 096f6d61..77a03386 100644 --- a/src/libs/gui/LoadRemotePatchWindow.cpp +++ b/src/libs/gui/LoadRemotePatchWindow.cpp @@ -15,6 +15,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "module/module.h" #include "LoadRemotePatchWindow.hpp" #include <sys/types.h> #include <dirent.h> @@ -65,17 +66,17 @@ LoadRemotePatchWindow::present(SharedPtr<PatchModel> patch, MetadataMap data) set_patch(patch); _initial_data = data; - RDF::Model model(*App::instance().rdf_world(), + RDF::Model model(App::instance().world()->rdf_world, "http://rdf.drobilla.net/ingen_patches/index.ttl", "http://rdf.drobilla.net/ingen_patches/"); - RDF::Query query(*App::instance().rdf_world(), Glib::ustring( + RDF::Query query(App::instance().world()->rdf_world, Glib::ustring( "SELECT DISTINCT ?name ?uri WHERE {" " ?uri a ingen:Patch ;" " doap:name ?name ." "}")); - RDF::Query::Results results = query.run(*App::instance().rdf_world(), model); + RDF::Query::Results results = query.run(App::instance().world()->rdf_world, model); for (RDF::Query::Results::iterator i = results.begin(); i != results.end(); ++i) { Gtk::TreeModel::iterator iter = _liststore->append(); |