X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fannotation.hpp;h=42a291a2134a5d7eb439b6a2c7dda7ffcac1238d;hb=f529583485b54ae73401daf780f8a61d1716d5f1;hp=7e62cea1f6d07cf6c78d9b26ee961599ed15fc19;hpb=efdec55aec1a137460fa362a381ed1904182bfed;p=pulseview.git diff --git a/pv/data/decode/annotation.hpp b/pv/data/decode/annotation.hpp index 7e62cea..42a291a 100644 --- a/pv/data/decode/annotation.hpp +++ b/pv/data/decode/annotation.hpp @@ -20,10 +20,13 @@ #ifndef PULSEVIEW_PV_VIEW_DECODE_ANNOTATION_HPP #define PULSEVIEW_PV_VIEW_DECODE_ANNOTATION_HPP -#include +#include +#include #include +using std::vector; + struct srd_proto_data; namespace pv { @@ -38,13 +41,13 @@ public: uint64_t start_sample() const; uint64_t end_sample() const; int format() const; - const std::vector& annotations() const; + const vector& annotations() const; private: uint64_t start_sample_; uint64_t end_sample_; int format_; - std::vector annotations_; + vector annotations_; }; } // namespace decode