| 659 | } |
| 660 | |
| 661 | void |
| 662 | Singleton::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 | |
| 682 | void |
| 683 | Singleton::syncBookmarks(void) |
no test coverage detected