X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fannotation.cpp;h=4a6890b5a4e519a5aac786d408d97953985a4836;hb=619e8bd3c0c2ca5ae059ba2eabdbd3b3f5233d7e;hp=573fefaffa8c0829bc1440e362203d15dc5065b5;hpb=7e674e4331e768b9b29a20fed8419e0b6686357e;p=pulseview.git diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp index 573fefa..4a6890b 100644 --- a/pv/data/decode/annotation.cpp +++ b/pv/data/decode/annotation.cpp @@ -69,6 +69,11 @@ int Annotation::row() const return _row; } +int Annotation::pd_index() const +{ + return _pd_index; +} + const std::vector& Annotation::annotations() const { return _annotations; @@ -79,6 +84,11 @@ void Annotation::set_row(int row) _row = row; } +void Annotation::set_pd_index(int pd_index) +{ + _pd_index = pd_index; +} + } // namespace decode } // namespace data } // namespace pv