/************************************************************************ * This file has been generated automatically from * * * * src/server/qgsconfigcache.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsConfigCache : QObject { %Docstring Cache for server configuration. .. versionadded:: 2.8 %End %TypeHeaderCode #include "qgsconfigcache.h" %End public: static QgsConfigCache *instance(); %Docstring Returns the current instance. %End void removeEntry( const QString &path ); %Docstring Removes an entry from cache. :param path: The path of the project %End const QgsProject *project( const QString &path ); %Docstring If the project is not cached yet, then the project is read thanks to the path. If the project is not available, then ``None`` is returned. :param path: the filename of the QGIS project :return: the project or ``None`` if an error happened .. versionadded:: 3.0 %End private: QgsConfigCache(); }; /************************************************************************ * This file has been generated automatically from * * * * src/server/qgsconfigcache.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/