QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
qgsprofilesourceregistry.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprofilesourceregistry.h
3 --------------------------------------
4 Date : April 2024
5 Copyright : (C) 2024 by Germán Carrillo
6 Email : german at opengis dot ch
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 QGSPROFILESOURCEREGISTRY_H
17#define QGSPROFILESOURCEREGISTRY_H
18
19#include "qgis_core.h"
20#include "qgis_sip.h"
21
23
24#include <QList>
25
26
36class CORE_EXPORT QgsProfileSourceRegistry
37{
38 public:
39
44
49
53 QList< QgsAbstractProfileSource * > profileSources() const;
54
58 void registerProfileSource( QgsAbstractProfileSource *source SIP_TRANSFER );
59
63 void unregisterProfileSource( QgsAbstractProfileSource *source );
64
65 private:
66 QList< QgsAbstractProfileSource * > mSources;
67};
68
69#endif // QGSPROFILESOURCEREGISTRY_H
Interface for classes which can generate elevation profiles.
Registry of profile sources used by QgsProfilePlotRenderer.
#define SIP_TRANSFER
Definition qgis_sip.h:36