nx_server_plugin_sdk 1.0 Server Plugin SDK

active_settings_rules.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/i_string.h>
6 #include <nx/sdk/i_string_map.h>
7
8 #include "active_settings_builder.h"
9
10 namespace nx {
11 namespace vms_server_plugins {
12 namespace analytics {
13 namespace stub {
14 namespace settings {
15
16 extern const std::map<
17 ActiveSettingsBuilder::ActiveSettingKey,
18 ActiveSettingsBuilder::ActiveSettingHandler> kActiveSettingsRules;
19
20 extern const std::map<
21 /*activeSettingName*/ std::string,
22 ActiveSettingsBuilder::ActiveSettingHandler> kDefaultActiveSettingsRules;
23
24 void showAdditionalComboBox(
25 nx::kit::Json* inOutModel,
26 std::map<std::string, std::string>* inOutValues);
27
28 void hideAdditionalComboBox(
29 nx::kit::Json* inOutModel,
30 std::map<std::string, std::string>* inOutValues);
31
32 void showAdditionalCheckBox(
33 nx::kit::Json* inOutModel,
34 std::map<std::string, std::string>* inOutValues);
35
36 void hideAdditionalCheckBox(
37 nx::kit::Json* inOutModel,
38 std::map<std::string, std::string>* inOutValues);
39
40 void showAdditionalRadioButton(
41 nx::kit::Json* inOutModel,
42 std::map<std::string, std::string>* inOutValues);
43
44 void hideAdditionalRadioButton(
45 nx::kit::Json* inOutModel,
46 std::map<std::string, std::string>* inOutValues);
47
48 void updateMinMaxSpinBoxes(
49 nx::kit::Json* inOutModel,
50 std::map<std::string, std::string>* inOutValues);
51
52 void addOptionalValueToComboBox(
53 nx::kit::Json* inOutModel,
54 std::map<std::string, std::string>* inOutValues);
55
56 void removeOptionalValueToComboBox(
57 nx::kit::Json* inOutModel,
58 std::map<std::string, std::string>* inOutValues);
59
60 } // namespace settings
61 } // namespace stub
62 } // namespace analytics
63 } // namespace vms_server_plugins
64 } // namespace nx
nx::kit::detail::json11::Json
Definition: json.cpp:80
nx
Definition: apple_utils.h:6