QGIS/python/server/auto_generated/qgsconfigcache.sip.in
2018-07-13 08:22:28 +01:00

58 lines
1.7 KiB
Plaintext

/************************************************************************
* 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.
%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.
%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 a 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 *
************************************************************************/