18 #ifndef QGSCAPABILITIESCACHE_H 19 #define QGSCAPABILITIESCACHE_H 21 #include <QDomDocument> 22 #include <QFileSystemWatcher> 28 #include "qgis_server.h" 45 const QDomDocument *searchCapabilitiesDocument(
const QString &configFilePath,
const QString &key );
53 void insertCapabilitiesDocument(
const QString &configFilePath,
const QString &key,
const QDomDocument *doc );
60 void removeCapabilitiesDocument(
const QString &path );
63 QHash< QString, QHash< QString, QDomDocument > > mCachedCapabilities;
64 QHash< QString, QDateTime> mCachedCapabilitiesTimestamps;
65 QFileSystemWatcher mFileSystemWatcher;
70 void removeChangedEntry(
const QString &path );
72 void removeOutdatedEntries();
75 #endif // QGSCAPABILITIESCACHE_H A cache for capabilities xml documents (by configuration file path)