#include "storesession.hpp"
+#include <pv/devicemanager.hpp>
#include <pv/session.hpp>
#include <pv/data/logic.hpp>
#include <pv/data/logicsegment.hpp>
// Begin storing
try {
- auto context = session_.session()->context();
+ const auto context = session_.device_manager().context();
auto device = session_.device();
map<string, Glib::VariantBase> options = options_;
size_t length = end_sample - start_sample;
try {
- auto context = session_.session()->context();
+ const auto context = session_.device_manager().context();
auto logic = context->create_logic_packet(data, length, unit_size);
const string data = output_->receive(logic);
if (output_stream_.is_open())