comparison rdf/RDFImporter.h @ 499:b71116d3c180

* Much more sensible pane layouts, etc., when loading RDF; also offer choice of adding to current session or starting new session if RDF references audio (needs some refinement)
author Chris Cannam
date Fri, 28 Nov 2008 15:45:20 +0000
parents c3fb8258e34d
children a1cd5abcb38b
comparison
equal deleted inserted replaced
498:fdf5930b7ccc 499:b71116d3c180
43 void setSampleRate(int sampleRate); 43 void setSampleRate(int sampleRate);
44 44
45 bool isOK(); 45 bool isOK();
46 QString getErrorString() const; 46 QString getErrorString() const;
47 47
48 QString getAudioAvailableUrl() const;
49
50 std::vector<Model *> getDataModels(ProgressReporter *reporter); 48 std::vector<Model *> getDataModels(ProgressReporter *reporter);
51 49
52 enum RDFDocumentType { 50 enum RDFDocumentType {
53 AudioRefAndAnnotations, 51 AudioRefAndAnnotations,
54 Annotations, 52 Annotations,
55 AudioRef, 53 AudioRef,
56 OtherDocument 54 OtherRDFDocument,
55 NotRDF
57 }; 56 };
58 57
59 static RDFDocumentType identifyDocumentType(QString url); 58 static RDFDocumentType identifyDocumentType(QString url);
60 59
61 protected: 60 protected: