]> sigrok.org Git - pulseview.git/blobdiff - pv/data/logicsegment.hpp
Session: Set "segment complete" flags when no frames are used
[pulseview.git] / pv / data / logicsegment.hpp
index 3621e7f03a6944944a6f07533a55192e406b7c33..2e03fd55585a99f8adbe4e22e753a3aae0fcf9e5 100644 (file)
@@ -54,7 +54,7 @@ typedef struct {
        uint8_t* value;
 } SegmentLogicDataIterator;
 
-class LogicSegment : public QObject, public Segment
+class LogicSegment : public Segment
 {
        Q_OBJECT
 
@@ -77,7 +77,8 @@ public:
        typedef pair<int64_t, bool> EdgePair;
 
 public:
-       LogicSegment(pv::data::Logic& owner, unsigned int unit_size, uint64_t samplerate);
+       LogicSegment(pv::data::Logic& owner, uint32_t segment_id,
+               unsigned int unit_size, uint64_t samplerate);
 
        virtual ~LogicSegment();