QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
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
46
50 QList< QgsAbstractProfileSource * > profileSources() const;
51
55 void registerProfileSource( QgsAbstractProfileSource *source SIP_TRANSFER );
56
60 void unregisterProfileSource( QgsAbstractProfileSource *source );
61
62 private:
63 QList< QgsAbstractProfileSource * > mSources;
64};
65
66#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