changeset 282:64a8ee011004

* Add Redland datastore support to SimpleSPARQLQuery
author Chris Cannam
date Thu, 13 Nov 2008 14:23:23 +0000
parents b9c35cbfb39c
children d27c322b5d6e
files main/MainWindow.cpp main/main.cpp sv.pro
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Nov 11 09:41:45 2008 +0000
+++ b/main/MainWindow.cpp	Thu Nov 13 14:23:23 2008 +0000
@@ -271,7 +271,7 @@
 
     newSession();
     
-    TransformFactory::getInstance()->startPopulationThread();
+//!!!    TransformFactory::getInstance()->startPopulationThread();
 }
 
 MainWindow::~MainWindow()
--- a/main/main.cpp	Tue Nov 11 09:41:45 2008 +0000
+++ b/main/main.cpp	Thu Nov 13 14:23:23 2008 +0000
@@ -21,6 +21,7 @@
 #include "base/PropertyContainer.h"
 #include "base/Preferences.h"
 #include "widgets/TipDialog.h"
+#include "rdf/SimpleSPARQLQuery.h"
 
 #include <QMetaType>
 #include <QApplication>
@@ -256,6 +257,10 @@
     }
     settings.endGroup();
 
+    SimpleSPARQLQuery::setImplementationPreference
+        (SimpleSPARQLQuery::UseDatastore);
+//        (SimpleSPARQLQuery::UseDirectParser);
+
     QIcon icon;
     int sizes[] = { 16, 22, 24, 32, 48, 64, 128 };
     for (int i = 0; i < sizeof(sizes)/sizeof(sizes[0]); ++i) {
--- a/sv.pro	Tue Nov 11 09:41:45 2008 +0000
+++ b/sv.pro	Thu Nov 13 14:23:23 2008 +0000
@@ -1,7 +1,7 @@
 
 TEMPLATE = app
 
-SV_UNIT_PACKAGES = vamp vamp-hostsdk rubberband fftw3 fftw3f samplerate jack libpulse portaudio-2.0 mad id3tag oggz fishsound lrdf rasqal raptor sndfile liblo
+SV_UNIT_PACKAGES = vamp vamp-hostsdk rubberband fftw3 fftw3f samplerate jack libpulse portaudio-2.0 mad id3tag oggz fishsound lrdf redland rasqal raptor sndfile liblo
 
 load(../sv.prf)