#include <pv/widgets/decodermenu.hpp>
using std::all_of;
-using std::list;
using std::make_pair;
using std::max;
-using std::make_pair;
using std::map;
using std::min;
using std::out_of_range;
init_state_map_.clear();
decoder_forms_.clear();
- const list< shared_ptr<Decoder> > &stack =
- decode_signal_->decoder_stack_list();
+ const vector< shared_ptr<Decoder> > &stack = decode_signal_->decoder_stack();
if (stack.empty()) {
QLabel *const l = new QLabel(
double samples_per_pixel, pixels_offset;
- const int64_t sample_count = decode_signal_->sample_count();
+ const int64_t sample_count = decode_signal_->get_working_sample_count();
if (sample_count == 0)
return;
- const int64_t samples_decoded = decode_signal_->samples_decoded();
+ const int64_t samples_decoded = decode_signal_->get_decoded_sample_count();
if (sample_count == samples_decoded)
return;
QFormLayout *const decoder_form = new QFormLayout;
group->add_layout(decoder_form);
- const list<DecodeChannel> channels = decode_signal_->get_channels();
+ const vector<DecodeChannel> channels = decode_signal_->get_channels();
// Add the channels
for (DecodeChannel ch : channels) {