Singleton methods
| 726 | |
| 727 | // Singleton methods |
| 728 | void |
| 729 | Singleton::registerSourceConfig(suscan_source_config_t *config) |
| 730 | { |
| 731 | const char *label = suscan_source_config_get_label(config); |
| 732 | |
| 733 | if (label == nullptr) |
| 734 | label = "(Null profile)"; |
| 735 | |
| 736 | this->profiles[label] = Suscan::Source::Config(config); |
| 737 | } |
| 738 | |
| 739 | void |
| 740 | Singleton::registerNetworkProfile(const suscan_source_config_t *config) |
no test coverage detected