QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
src
core
externalstorage
qgsexternalstorageregistry.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsexternalstorageregistry.h
3
--------------------------------------
4
Date : March 2021
5
Copyright : (C) 2021 by Julien Cabieces
6
Email : julien dot cabieces at oslandia dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
#ifndef QGSEXTERNALSTORAGEREGISTRY_H
17
#define QGSEXTERNALSTORAGEREGISTRY_H
18
19
#include "qgis_core.h"
20
#include "
qgis_sip.h
"
21
22
#include <QList>
23
#include <QHash>
24
25
class
QgsExternalStorage
;
26
36
class
CORE_EXPORT
QgsExternalStorageRegistry
37
{
38
public
:
39
43
QgsExternalStorageRegistry
();
44
48
~
QgsExternalStorageRegistry
();
49
54
QgsExternalStorage
*externalStorageFromType(
const
QString &type )
const
;
55
59
QList<QgsExternalStorage *> externalStorages()
const
;
60
64
void
registerExternalStorage(
QgsExternalStorage
*storage
SIP_TRANSFER
);
65
69
void
unregisterExternalStorage(
QgsExternalStorage
*storage );
70
71
private
:
72
QList< QgsExternalStorage * > mBackends;
73
};
74
75
#endif // QGSEXTERNALSTORAGEREGISTRY_H
QgsExternalStorageRegistry
Registry of external storage backends used by QgsExternalResourceWidget.
Definition:
qgsexternalstorageregistry.h:36
qgis_sip.h
SIP_TRANSFER
#define SIP_TRANSFER
Definition:
qgis_sip.h:36
QgsExternalStorage
Abstract interface for external storage - to be implemented by various backends and registered in Qgs...
Definition:
qgsexternalstorage.h:36
Generated on Sun Sep 11 2022 00:03:17 for QGIS API Documentation by
1.8.17