comparison rdf/PluginRDFIndexer.h @ 1844:5b1b03c1d8d4

Accept more than one library URI for a plugin; consistency checks for packs
author Chris Cannam
date Mon, 20 Apr 2020 15:42:51 +0100
parents ad5f892c0c4d
children
comparison
equal deleted inserted replaced
1843:3ec563af0a4f 1844:5b1b03c1d8d4
50 QString getURIForPluginId(QString pluginId); 50 QString getURIForPluginId(QString pluginId);
51 QString getIdForPluginURI(QString uri); 51 QString getIdForPluginURI(QString uri);
52 52
53 QStringList getIndexedPluginIds(); 53 QStringList getIndexedPluginIds();
54 54
55 /**
56 * Perform various checks for consistency of RDF definitions,
57 * printing warnings to stderr/logfile as appropriate.
58 */
59 void performConsistencyChecks();
60
55 const Dataquay::BasicStore *getIndex(); 61 const Dataquay::BasicStore *getIndex();
56 62
57 ~PluginRDFIndexer(); 63 ~PluginRDFIndexer();
58 64
59 protected: 65 protected:
67 void indexInstalledURLs(); 73 void indexInstalledURLs();
68 74
69 bool pullFile(QString path); 75 bool pullFile(QString path);
70 bool pullURL(QString urlString); 76 bool pullURL(QString urlString);
71 bool reindex(); 77 bool reindex();
72 78
73 Dataquay::BasicStore *m_index; 79 Dataquay::BasicStore *m_index;
74 80
75 static PluginRDFIndexer *m_instance; 81 static PluginRDFIndexer *m_instance;
76 }; 82 };
77 83