nx_server_plugin_sdk 1.0 Server Plugin SDK

i_integration.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
5 #include <nx/sdk/interface.h>
6
7 namespace nx::sdk {
8
9 class IUtilityProvider;
10
23 class IIntegration: public Interface<IIntegration>
24 {
25 public:
26 static auto interfaceId()
27 {
28 return makeIdWithAlternative("nx::sdk::IIntegration",
29 /* Old name from 6.0. */ "nx::sdk::IPlugin");
30 }
31
38 virtual void setUtilityProvider(IUtilityProvider* utilityProvider) = 0;
39 };
40 using IIntegration0 = IIntegration;
41
42 } // namespace nx::sdk
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::IUtilityProvider
Definition: i_utility_provider.h:172
nx::sdk
Definition: device_agent.h:12
nx::sdk::IIntegration::setUtilityProvider
virtual void setUtilityProvider(IUtilityProvider *utilityProvider)=0
nx::sdk::IIntegration
Definition: i_integration.h:23
nx::sdk::IRefCountable::makeIdWithAlternative
static std::vector< const InterfaceId * > makeIdWithAlternative(const char(&charArray)[len], const char(&alternativeCharArray)[alternativeLen])
Definition: i_ref_countable.h:87