X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=sigsession.h;h=f7ec3853e9df05003cf7eb5f04076cf0e72df044;hp=24726dfe916a322098e9a6fdaab23ec9616cd8d8;hb=190fc91a86d732c7c9d14603b6bf263894a0e159;hpb=04abfae9c8f8e4884e6535d6584df8b5f1e3a1db diff --git a/sigsession.h b/sigsession.h index 24726dfe..f7ec3853 100644 --- a/sigsession.h +++ b/sigsession.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the PulseView project. * * Copyright (C) 2012 Joel Holdsworth * @@ -47,11 +47,14 @@ public: void load_file(const std::string &name); - void start_capture(struct sr_dev_inst* sdi, uint64_t sample_rate); + void start_capture(struct sr_dev_inst* sdi, uint64_t record_length, + uint64_t sample_rate); std::vector< boost::shared_ptr >& get_signals(); + boost::shared_ptr get_data(); + private: void data_feed_in(const struct sr_dev_inst *sdi, struct sr_datafeed_packet *packet);