QGIS/python/server/auto_generated/qgsconfigcache.sip.in

51 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-06-26 09:57:09 +02:00
/************************************************************************
* 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
{
2017-06-26 09:57:09 +02:00
%Docstring
2018-05-25 07:49:20 +10:00
Cache for server configuration.
2017-06-26 09:57:09 +02:00
%End
%TypeHeaderCode
#include "qgsconfigcache.h"
%End
public:
static QgsConfigCache *instance();
2017-06-26 09:57:09 +02:00
void removeEntry( const QString &path );
2017-06-26 09:57:09 +02:00
const QgsProject *project( const QString &path );
%Docstring
2017-12-15 10:36:55 -04:00
If the project is not cached yet, then the project is read thank to the
path. If the project is not available, then a None is returned.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param path: the filename of the QGIS project
:return: the project or None if an error happened
2017-06-26 09:57:09 +02:00
.. versionadded:: 3.0
%End
2017-06-26 09:57:09 +02:00
private:
2018-01-16 11:41:23 -04:00
QgsConfigCache();
2017-06-26 09:57:09 +02:00
};
2017-06-26 09:57:09 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/server/qgsconfigcache.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/