MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / syncUI

Method syncUI

Suscan/Library.cpp:661–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659}
660
661void
662Singleton::syncUI(void)
663{
664 unsigned int i, count;
665 ConfigContext ctx("uiconfig");
666 Object list = ctx.listObject();
667
668 count = static_cast<unsigned int>(this->uiConfig.size());
669
670 // Sync all modified configurations
671 for (i = 0; i < count; ++i) {
672 if (!this->uiConfig[i].isBorrowed()) {
673 try {
674 list.put(this->uiConfig[i], i);
675 } catch (Suscan::Exception const &) {
676 list.append(this->uiConfig[i]);
677 }
678 }
679 }
680}
681
682void
683Singleton::syncBookmarks(void)

Callers 1

syncMethod · 0.95

Calls 5

listObjectMethod · 0.80
isBorrowedMethod · 0.80
putMethod · 0.80
appendMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected