MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_config_int32

Method get_config_int32

DSView/pv/deviceagent.cpp:393–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391 }
392
393 bool DeviceAgent::get_config_int32(int key, int &value, const sr_channel *ch, const sr_channel_group *cg)
394 {
395 GVariant* gvar = get_config(key, ch, cg);
396
397 if (gvar != NULL) {
398 value = g_variant_get_int32(gvar);
399 g_variant_unref(gvar);
400 return true;
401 }
402
403 return false;
404 }
405
406 bool DeviceAgent::set_config_int32(int key, int value, const sr_channel *ch, const sr_channel_group *cg)
407 {

Callers 3

retranslateUiMethod · 0.80
reStyleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected