QGIS/python/server/qgsconfigcache.sip

59 lines
2.0 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
*************************************************************************
2017-12-15 10:36:55 -04:00
*
This program is free software; you can redistribute it and/or modify *
it under the terms of the GNU General Public License as published by *
the Free Software Foundation; either version 2 of the License, or *
(at your option) any later version. *
*
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:
QgsConfigCache() ;
};
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 *
************************************************************************/