1#ifndef AUBO_SCOPE_INSTALLATION_SERVICE_H
2#define AUBO_SCOPE_INSTALLATION_SERVICE_H
88 InstallationContributionConfigurationPtr configuration) = 0;
109 ViewApiProviderPtr api_provider) = 0;
146 InstallationApiProviderPtr api_provider, InstallationNodeViewPtr view,
147 DataModelPtr model, InstallationCreationContextPtr context) = 0;
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
\chinese 安装节点服务 定义了在 AuboScope 中定义和添加安装节点及对应界面(用户界面基于 Qt)所需的 API。 \endchinese \english InstallationNo...
virtual std::string getIcon()=0
\chinese
virtual InstallationNodeViewPtr createView(ViewApiProviderPtr api_provider)=0
\chinese 创建一个新的视图实例,实现安装节点画面的 UI。在加载或创建新安装时调用一次。
virtual ~InstallationNodeService()=default
virtual InstallationNodeContributionPtr createInstallationNode(InstallationApiProviderPtr api_provider, InstallationNodeViewPtr view, DataModelPtr model, InstallationCreationContextPtr context)=0
\chinese
virtual std::string getTitle()=0
\chinese
virtual void configureContribution(InstallationContributionConfigurationPtr configuration)=0
\chinese 此方法在服务注册后调用一次。修改 configuration 参数来配置您的贡献。 配置对象将已经具有匹配大多数用例的默认属性值。