Revision utilities

View differences:

utilities/composer/composer.cpp
10 10
#include <dataquay/objectmapper/ObjectStorer.h>
11 11
#include <dataquay/objectmapper/ObjectMapper.h>
12 12
#include <dataquay/objectmapper/TypeMapping.h>
13
#include <dataquay/Debug.h>
14 13

  
15 14
#include <QMultiMap>
16 15
#include <QFileInfo>
......
21 20
using namespace ClassicalData;
22 21
using namespace std;
23 22

  
23
/*
24 24
ostream &operator<<(ostream &target, const QString &str)
25 25
{
26 26
    return target << str.toLocal8Bit().data();
......
30 30
{
31 31
    return target << "<" << u.toString() << ">";
32 32
}
33

  
33
*/
34 34

  
35 35
bool
36 36
load(BasicStore *store, QString fileName)
......
423 423
        storer->setTypeMapping(tm);
424 424

  
425 425
        storer->setPropertyStorePolicy(ObjectStorer::StoreIfChanged);
426
        storer->setBlankNodePolicy(ObjectStorer::NoBlankNodes);
426
        storer->setBlankNodePolicy(Dataquay::NeverUseBlankNodes);
427 427

  
428 428
        cerr << "Mapping results back to store...";
429 429
        storer->setFollowPolicy(ObjectStorer::FollowObjectProperties);
utilities/composer/composer.pro
2 2
TARGET = composer
3 3
#QT -= gui network xml
4 4

  
5
load(../../../all.prf)
5
CONFIG += debug
6

  
7
QT += network
6 8

  
7 9
SOURCES += composer.cpp
8 10

  
9 11
PRE_TARGETDEPS += ../../common/libcommon.a
10 12

  
11
INCLUDEPATH += ../../common
13
INCLUDEPATH += ../../common ../../../dataquay ../../../sonic-visualiser/svcore
12 14

  
13
DEPENDPATH += ../../../svcore
14
INCLUDEPATH += ../../../svcore
15

  
16
LIBS += ../../common/libcommon.a -L../../../svcore -lsvcore ../../../../dataquay/libdataquay.a
17

  
15
LIBS += ../../common/libcommon.a -L../../../sonic-visualiser/svcore -lsvcore ../../../dataquay/libdataquay.a -lsndfile -lsamplerate -lid3tag -lmad -I/usr/include/sord-0 -I/usr/include/serd-0 -lsord-0 -lserd-0 -lvamp-hostsdk
utilities/the-application/the-application.cpp
11 11
#include <dataquay/objectmapper/ObjectStorer.h>
12 12
#include <dataquay/objectmapper/ObjectMapper.h>
13 13
#include <dataquay/objectmapper/TypeMapping.h>
14
#include <dataquay/Debug.h>
15 14

  
16 15
#include "data/fileio/AudioFileReaderFactory.h"
17 16
#include "data/fileio/AudioFileReader.h"
......
33 32
using namespace std;
34 33
using namespace Vamp;
35 34
using namespace Vamp::HostExt;
36

  
35
/*
37 36
ostream &operator<<(ostream &target, const QString &str)
38 37
{
39 38
    return target << str.toLocal8Bit().data();
......
43 42
{
44 43
    return target << "<" << u.toString() << ">";
45 44
}
46

  
45
*/
47 46

  
48 47
bool
49 48
load(BasicStore *store, QString fileName)
utilities/the-application/the-application.pro
2 2
TARGET = the-application
3 3
#QT -= gui network xml
4 4

  
5
load(../../../all.prf)
5
QT += widgets network
6 6

  
7 7
SOURCES += the-application.cpp
8 8

  
9 9
PRE_TARGETDEPS += ../../common/libcommon.a
10 10

  
11
INCLUDEPATH += ../../common ../../../svcore
11
INCLUDEPATH += ../../common ../../../dataquay ../../../sonic-visualiser/svcore
12 12

  
13
LIBS += ../../common/libcommon.a -L../../../svcore -lsvcore ../../../../dataquay/libdataquay.a
14

  
13
LIBS += ../../common/libcommon.a -L../../../sonic-visualiser/svcore -lsvcore ../../../dataquay/libdataquay.a -lsndfile -lsamplerate -lid3tag -lmad -I/usr/include/sord-0 -I/usr/include/serd-0 -lsord-0 -lserd-0 -lvamp-hostsdk
utilities/widgettest/widgettest.cpp
8 8
#include "Matcher.h"
9 9

  
10 10
#include <dataquay/BasicStore.h>
11
#include <dataquay/Debug.h>
12 11
#include <dataquay/RDFException.h>
13 12
#include <dataquay/objectmapper/ObjectLoader.h>
14 13
#include <dataquay/objectmapper/TypeMapping.h>
......
21 20
using namespace Dataquay;
22 21
using namespace std;
23 22

  
23
/*
24 24
ostream &operator<<(ostream &target, const QString &str)
25 25
{
26 26
    return target << str.toLocal8Bit().data();
......
30 30
{
31 31
    return target << "<" << u.toString() << ">";
32 32
}
33
*/
33 34

  
34 35
void
35 36
usage(const char *name)
utilities/widgettest/widgettest.pro
1 1
TEMPLATE = app
2 2
TARGET = widgettest
3 3

  
4
load(../../../all.prf)
4
QT += gui widgets network
5 5

  
6 6
PRE_TARGETDEPS += ../../common/libcommon.a ../../widgets/libwidgets.a
7 7

  
8 8
INCLUDEPATH += ../../widgets ../../common
9 9

  
10
DEPENDPATH += ../../../svcore
11
INCLUDEPATH += ../../../svcore
10
DEPENDPATH += ../../../sonic-visualiser/svcore
11
INCLUDEPATH += ../../../sonic-visualiser/svcore ../../../dataquay
12 12

  
13
LIBS += ../../widgets/libwidgets.a ../../common/libcommon.a -L../../../svcore -lsvcore ../../../../dataquay/libdataquay.a
13
LIBS += ../../widgets/libwidgets.a ../../common/libcommon.a -L../../../sonic-visualiser/svcore -lsvcore ../../../dataquay/libdataquay.a -I/usr/include/sord-0 -I/usr/include/serd-0 -lsord-0 -lserd-0 -lvamp-hostsdk
14 14

  
15 15
HEADERS += widgettest.h
16 16
SOURCES += widgettest.cpp

Also available in: Unified diff