X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105;hb=ced1cc130c182a605afa4832b32f92b76ca02d76;hp=fe03df0aca3011f4f0d1d2c3a116621b6068e23c;hpb=613d097c5af2d12ffd68e2dfab309b518edca1a6;p=pulseview.git diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index fe03df0..4de7ae4 100644 --- a/pv/data/decoderstack.h +++ b/pv/data/decoderstack.h @@ -76,6 +76,8 @@ public: void push(boost::shared_ptr decoder); void remove(int index); + int64_t samples_decoded() const; + const std::vector< boost::shared_ptr > annotations() const; @@ -107,6 +109,7 @@ private: std::list< boost::shared_ptr > _stack; mutable boost::mutex _mutex; + int64_t _samples_decoded; std::vector< boost::shared_ptr > _annotations; QString _error_message;