SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
IPreviewLayers.hpp
Go to the documentation of this file.
1
14#pragma once
15#include <QList>
16#include <QObject>
17#include <QUuid>
18
20#define OPENSWMM_PREVIEW_LAYERS_IID "io.opensimulator.openswmm.IPreviewLayers/1.0"
21
22namespace OpenSWMM::Sdk
23{
26{
27public:
29 virtual ~IPreviewLayers() = default;
39 virtual QUuid previewLayer(const QUuid &sessionId,
40 QList<qint64> *featureIds = nullptr) const = 0;
41};
42}
#define OPENSWMM_PREVIEW_LAYERS_IID
Frozen discovery identity for native preview-layer resolution.
Definition IPreviewLayers.hpp:20
Optional GUI-thread lookup of this extension's attached native preview layer.
Definition IPreviewLayers.hpp:26
virtual QUuid previewLayer(const QUuid &sessionId, QList< qint64 > *featureIds=nullptr) const =0
Identify this extension's native preview layer in one Ready session.
virtual ~IPreviewLayers()=default
Destroy an implementation; plugins only borrow the host capability.
Public header-only ABI for independently compiled native GUI extensions.
Definition ExtensionHost.hpp:24