comparison rdf/RDFImporter.h @ 1069:32ab6c48efaa

Merge from branch tonioni
author Chris Cannam
date Mon, 20 Apr 2015 09:11:34 +0100
parents a1cd5abcb38b
children ad5f892c0c4d
comparison
equal deleted inserted replaced
1036:682d64f05e72 1069:32ab6c48efaa
19 #include <QObject> 19 #include <QObject>
20 #include <QString> 20 #include <QString>
21 21
22 #include <vector> 22 #include <vector>
23 23
24 #include "base/BaseTypes.h"
25
24 class Model; 26 class Model;
25 class RDFImporterImpl; 27 class RDFImporterImpl;
26 class ProgressReporter; 28 class ProgressReporter;
27 29
28 class RDFImporter : public QObject 30 class RDFImporter : public QObject
35 * in a format suitable for use with QFileDialog. For example, 37 * in a format suitable for use with QFileDialog. For example,
36 * "*.rdf *.n3". 38 * "*.rdf *.n3".
37 */ 39 */
38 static QString getKnownExtensions(); 40 static QString getKnownExtensions();
39 41
40 RDFImporter(QString url, int sampleRate = 0); 42 RDFImporter(QString url, sv_samplerate_t sampleRate = 0);
41 virtual ~RDFImporter(); 43 virtual ~RDFImporter();
42 44
43 void setSampleRate(int sampleRate); 45 void setSampleRate(sv_samplerate_t sampleRate);
44 46
45 bool isOK(); 47 bool isOK();
46 QString getErrorString() const; 48 QString getErrorString() const;
47 49
48 std::vector<Model *> getDataModels(ProgressReporter *reporter); 50 std::vector<Model *> getDataModels(ProgressReporter *reporter);