X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=e2139f5b5ca94969e4d704a6cc50ae8024af78c4;hp=029ca25c21c91350c7709074aacd6c7a758ff88d;hb=06e810f29b6e9e3fe8ba8aba5d3823375da9bbb2;hpb=caabb84c559023f179bf2c4600a5ebce34eab081 diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index 029ca25c..e2139f5b 100644 --- a/pv/data/decoderstack.h +++ b/pv/data/decoderstack.h @@ -43,16 +43,12 @@ namespace pv { namespace view { class LogicSignal; - -namespace decode { -class Annotation; -} - } namespace data { namespace decode { +class Annotation; class Decoder; } @@ -78,13 +74,14 @@ public: int64_t samples_decoded() const; - const std::vector< boost::shared_ptr > - annotations() const; + const std::vector annotations() const; QString error_message(); void clear(); + uint64_t get_max_sample_count() const; + void begin_decode(); private: @@ -110,8 +107,7 @@ private: mutable boost::mutex _mutex; int64_t _samples_decoded; - std::vector< boost::shared_ptr > - _annotations; + std::vector _annotations; QString _error_message; boost::thread _decode_thread;