X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecoderstack.h;h=e2139f5b5ca94969e4d704a6cc50ae8024af78c4;hp=dc656f91f7f9b503ff13a850cc35e0328a68a3f5;hb=06e810f29b6e9e3fe8ba8aba5d3823375da9bbb2;hpb=a007f5ad25bad88cf62443d5471449ce8a6f5f29 diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index dc656f91..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,8 +74,7 @@ public: int64_t samples_decoded() const; - const std::vector< boost::shared_ptr > - annotations() const; + const std::vector annotations() const; QString error_message(); @@ -112,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;