X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=4de7ae4c24ab85cdfd9e93e52c465f8d3ed6d105;hb=5dfeb70fc60f1c4752697d8ad6f80e1415213197;hp=fe03df0aca3011f4f0d1d2c3a116621b6068e23c;hpb=5069084a51b248fceaa123f451bad3d8fb01d2fb;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;