#include <libsigrokdecode/libsigrokdecode.h>
}
+#include <cassert>
#include <vector>
#include "annotation.h"
(const srd_proto_data_annotation*)pdata->data;
assert(pda);
- _format = pda->ann_format;
- _row = 0;
+ _format = pda->ann_class;
const char *const *annotations = (char**)pda->ann_text;
while(*annotations) {
return _format;
}
-int Annotation::row() const
-{
- return _row;
-}
-
const std::vector<QString>& Annotation::annotations() const
{
return _annotations;
}
-void Annotation::set_row(int row)
-{
- _row = row;
-}
-
} // namespace decode
} // namespace data
} // namespace pv