nx_server_plugin_sdk 1.0 Server Plugin SDK

stub_analytics_plugin_special_objects_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 #include <nx/sdk/analytics/helpers/pixel_format.h>
7
8 namespace nx {
9 namespace vms_server_plugins {
10 namespace analytics {
11 namespace stub {
12 namespace special_objects {
13
14 struct Ini: public nx::kit::IniConfig
15 {
16 Ini(): IniConfig("stub_analytics_plugin_special_objects.ini") { reload(); }
17
18 NX_INI_FLAG(0, enableOutput, "");
19
20 NX_INI_FLAG(0, deviceDependent, "Respective capability in the manifest.");
21
22 NX_INI_STRING("http://internal.server/addPerson?trackId=", addPersonActionUrlPrefix,
23 "Prefix for the URL returned by addPerson action; track id will be appended to this "
24 "prefix.");
25
26 NX_INI_FLAG(0, keepObjectBoundingBoxRotation,
27 "If set, Engine will declare the corresponding capability in the manifest.");
28 };
29
30 Ini& ini();
31
32 } // namespace special_objects
33 } // namespace stub
34 } // namespace analytics
35 } // namespace vms_server_plugins
36 } // namespace nx
nx::kit::IniConfig
Definition: ini_config.h:77
ini
static TestIni & ini()
Definition: ini_config_ut.cpp:69
nx::vms_server_plugins::analytics::stub::special_objects::Ini
Definition: stub_analytics_plugin_special_objects_ini.h:14
nx
Definition: apple_utils.h:6
nx::kit::IniConfig::IniConfig
IniConfig(const char *iniFile)
Definition: ini_config.cpp:546
nx::kit::IniConfig::reload
void reload()
Definition: ini_config.cpp:594