nx_server_plugin_sdk 1.0 Server Plugin SDK

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/cloud_storage/i_integration.h>
6 #include <nx/sdk/helpers/ref_countable.h>
7 #include <nx/sdk/result.h>
8
9 namespace nx::vms_server_plugins::cloud_storage::sample {
10
11 class Integration: public nx::sdk::RefCountable<nx::sdk::cloud_storage::IIntegration>
12 {
13 public:
14 virtual ~Integration() override;
15 virtual void setUtilityProvider(nx::sdk::IUtilityProvider* utilityProvider) override;
16 virtual void getManifest(nx::sdk::Result<const nx::sdk::IString*>* outResult) const override;
17
18 private:
19 virtual void doObtainEngine(
20 const char* url,
21 const nx::sdk::cloud_storage::IAsyncOperationHandler* asyncOperationHandler,
22 nx::sdk::Result<nx::sdk::cloud_storage::IEngine*>* outResult) override;
23 };
24
25 } // nx::vms_server_plugins::cloud_storage::sample
nx::vms_server_plugins::cloud_storage::sample::Integration
Definition: integration.h:11
nx::vms_server_plugins::cloud_storage::sample::Integration::setUtilityProvider
virtual void setUtilityProvider(nx::sdk::IUtilityProvider *utilityProvider) override
Definition: integration.cpp:32
nx::sdk::cloud_storage::IAsyncOperationHandler
Definition: i_async_operation_handler.h:62
nx::sdk::Result
Definition: result.h:52
nx::sdk::IUtilityProvider
Definition: i_utility_provider.h:166
nx::vms_server_plugins::cloud_storage::sample
Definition: device_agent.cpp:13
nx::sdk::RefCountable
Definition: ref_countable.h:83