MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / create_read_only_int

Method create_read_only_int

OpenHD/ohd_common/src/openhd_settings_imp.cpp:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91openhd::Setting openhd::create_read_only_int(const std::string& id, int value) {
92 auto cb = [](const std::string&, int) { return false; };
93 return Setting{id, openhd::IntSetting{value, cb}};
94}
95
96void openhd::validate_provided_ids(const std::vector<Setting>& settings) {
97 std::map<std::string, void*> test;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected