39 lines
1.1 KiB
C++
Executable File
39 lines
1.1 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* HMI Plugin for InfrastructureManagement (Interface for access from other Plugins)
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*
|
|
* Created by Mike Wille, SLSE, 2016-08-24
|
|
*/
|
|
|
|
#pragma once
|
|
#include <Services/InfrastructureManagement/ism_enums.hpp>
|
|
#include <QString>
|
|
|
|
class QWidget;
|
|
|
|
namespace InfrastructureManagement
|
|
{
|
|
class MountingPointSelector;
|
|
|
|
class ForeignResourceManagementGuiInterface
|
|
{
|
|
public:
|
|
ForeignResourceManagementGuiInterface() = default;
|
|
virtual ~ForeignResourceManagementGuiInterface() = default;
|
|
|
|
static QString pluginName() { return QStringLiteral("InfrastructureManagement.GuiPlugin.ResourceManagement"); }
|
|
|
|
virtual void setPlanId(const int planId) = 0;
|
|
virtual int getPlanId() const = 0;
|
|
virtual bool isInSelectionMode() const = 0;
|
|
virtual void setSelector(MountingPointSelector *selector) = 0;
|
|
virtual void addToSelection(int32_t mountingPointId) = 0;
|
|
virtual void addToSelection(const QVector<int32_t> &mountingPointIds) = 0;
|
|
virtual void showMountingPointInfoWindows(const QVector<int32_t> &entityIds, bool force = false) = 0;
|
|
};
|
|
|
|
} // namespace InfrastructureManagement
|