QGIS/python/server/auto_generated/qgsconfigcache.sip.in
Nyall Dawson 928779bf51 Sipify
2018-11-04 19:22:09 +10:00

62 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.
.. 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 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 *
************************************************************************/