Mercurial > hg > svcore
comparison rdf/PluginRDFDescription.h @ 457:ef14acd6d102
* Add beginnings of capability to search plugins that are not yet
installed -- lots more work to do here, though
author | Chris Cannam |
---|---|
date | Tue, 14 Oct 2008 16:36:35 +0000 |
parents | 5746c559af15 |
children | 957e6a5c8495 |
comparison
equal
deleted
inserted
replaced
456:64e64e304a12 | 457:ef14acd6d102 |
---|---|
15 | 15 |
16 #ifndef _PLUGIN_RDF_DESCRIPTION_H_ | 16 #ifndef _PLUGIN_RDF_DESCRIPTION_H_ |
17 #define _PLUGIN_RDF_DESCRIPTION_H_ | 17 #define _PLUGIN_RDF_DESCRIPTION_H_ |
18 | 18 |
19 #include <QString> | 19 #include <QString> |
20 #include <QStringList> | |
20 #include <map> | 21 #include <map> |
21 | 22 |
22 class FileSource; | 23 class FileSource; |
23 | 24 |
24 class PluginRDFDescription | 25 class PluginRDFDescription |
35 OutputDense, | 36 OutputDense, |
36 OutputTrackLevel | 37 OutputTrackLevel |
37 }; | 38 }; |
38 | 39 |
39 bool haveDescription() const; | 40 bool haveDescription() const; |
41 | |
42 QString getPluginName() const; | |
43 QString getPluginDescription() const; | |
44 QString getPluginMaker() const; | |
45 | |
46 QStringList getOutputIds() const; | |
47 QString getOutputName(QString outputId) const; | |
40 OutputDisposition getOutputDisposition(QString outputId) const; | 48 OutputDisposition getOutputDisposition(QString outputId) const; |
41 QString getOutputEventTypeURI(QString outputId) const; | 49 QString getOutputEventTypeURI(QString outputId) const; |
42 QString getOutputFeatureAttributeURI(QString outputId) const; | 50 QString getOutputFeatureAttributeURI(QString outputId) const; |
43 QString getOutputSignalTypeURI(QString outputId) const; | 51 QString getOutputSignalTypeURI(QString outputId) const; |
44 QString getOutputUnit(QString outputId) const; | 52 QString getOutputUnit(QString outputId) const; |
45 | 53 |
46 protected: | 54 protected: |
47 typedef std::map<QString, OutputDisposition> OutputDispositionMap; | 55 typedef std::map<QString, OutputDisposition> OutputDispositionMap; |
48 typedef std::map<QString, QString> OutputStringMap; | 56 typedef std::map<QString, QString> OutputStringMap; |
49 | 57 |
58 FileSource *m_source; | |
50 QString m_pluginId; | 59 QString m_pluginId; |
51 bool m_haveDescription; | 60 bool m_haveDescription; |
61 QString m_pluginName; | |
62 QString m_pluginDescription; | |
63 QString m_pluginMaker; | |
64 OutputStringMap m_outputNames; | |
52 OutputDispositionMap m_outputDispositions; | 65 OutputDispositionMap m_outputDispositions; |
53 OutputStringMap m_outputEventTypeURIMap; | 66 OutputStringMap m_outputEventTypeURIMap; |
54 OutputStringMap m_outputFeatureAttributeURIMap; | 67 OutputStringMap m_outputFeatureAttributeURIMap; |
55 OutputStringMap m_outputSignalTypeURIMap; | 68 OutputStringMap m_outputSignalTypeURIMap; |
56 OutputStringMap m_outputUnitMap; | 69 OutputStringMap m_outputUnitMap; |
57 bool indexURL(QString url); | 70 bool indexURL(QString url); |
71 bool indexMetadata(QString url, QString label); | |
72 bool indexOutputs(QString url, QString label); | |
58 }; | 73 }; |
59 | 74 |
60 #endif | 75 #endif |
61 | 76 |