namespace pv {
-class SigSession;
+class Session;
namespace data {
-class LogicSnapshot;
+class LogicSegment;
}
class StoreSession : public QObject
public:
StoreSession(const std::string &file_name,
- const SigSession &session);
+ const Session &session);
~StoreSession();
void cancel();
private:
- void store_proc(std::shared_ptr<pv::data::LogicSnapshot> snapshot);
+ void store_proc(std::shared_ptr<pv::data::LogicSegment> segment);
Q_SIGNALS:
void progress_updated();
private:
const std::string file_name_;
- const SigSession &session_;
+ const Session &session_;
std::shared_ptr<sigrok::Output> output_;