-const srd_decoder* SubWindow::get_srd_decoder_from_id(QString id) const
-{
- const srd_decoder* ret_val = nullptr;
-
- GSList* l = g_slist_copy((GSList*)srd_decoder_list());
- for (GSList* li = l; li; li = li->next) {
- const srd_decoder* d = (srd_decoder*)li->data;
- assert(d);
-
- if (QString::fromUtf8(d->id) == id)
- ret_val = d;
- }
- g_slist_free(l);
-
- return ret_val;
-}
-
-vector<const char*> SubWindow::decoder_inputs(const srd_decoder* d) const