#include <QDebug>
-#include "decoderstack.h"
+#include "decoderstack.hpp"
-#include <pv/data/logic.h>
-#include <pv/data/logicsnapshot.h>
-#include <pv/data/decode/decoder.h>
-#include <pv/data/decode/annotation.h>
-#include <pv/sigsession.h>
-#include <pv/view/logicsignal.h>
+#include <pv/data/logic.hpp>
+#include <pv/data/logicsnapshot.hpp>
+#include <pv/data/decode/decoder.hpp>
+#include <pv/data/decode/annotation.hpp>
+#include <pv/session.hpp>
+#include <pv/view/logicsignal.hpp>
using std::lock_guard;
using std::mutex;
mutex DecoderStack::global_decode_mutex_;
-DecoderStack::DecoderStack(pv::SigSession &session,
+DecoderStack::DecoderStack(pv::Session &session,
const srd_decoder *const dec) :
session_(session),
sample_count_(0),
// Check we have a snapshot of data
const deque< shared_ptr<pv::data::LogicSnapshot> > &snapshots =
- data->get_snapshots();
+ data->logic_snapshots();
if (snapshots.empty())
return;
snapshot_ = snapshots.front();
assert(decc);
auto row_iter = d->rows_.end();
-
+
// Try looking up the sub-row of this class
const auto r = d->class_rows_.find(make_pair(decc, a.format()));
if (r != d->class_rows_.end())