nx_server_plugin_sdk 1.0 Server Plugin SDK

stub_cloud_storage_plugin_ini.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/kit/ini_config.h>
6
7 namespace nx::vms_server_plugins::cloud_storage::stub {
8
9 struct Ini: public nx::kit::IniConfig
10 {
11 Ini(): IniConfig("stub_cloud_storage_plugin.ini") { reload(); }
12
13 NX_INI_FLAG(0, enableOutput, "");
14 NX_INI_STRING(".", workDir, "Working directory");
15 };
16
17 Ini& ini();
18
19 } // namespace nx::vms_server_plugins::cloud_storage::stub
nx::kit::IniConfig
Definition: ini_config.h:77
nx::vms_server_plugins::cloud_storage::stub
Definition: data_manager.cpp:36
ini
static TestIni & ini()
Definition: ini_config_ut.cpp:69
nx::kit::IniConfig::IniConfig
IniConfig(const char *iniFile)
Definition: ini_config.cpp:541
nx::kit::IniConfig::reload
void reload()
Definition: ini_config.cpp:589
nx::vms_server_plugins::cloud_storage::stub::Ini
Definition: stub_cloud_storage_plugin_ini.h:9