]> sigrok.org Git - pulseview.git/blobdiff - pv/data/logic.hpp
Backport recent changes from mainline.
[pulseview.git] / pv / data / logic.hpp
index 1ca5d3ed3af0f407ca34cb54908d4e6dc01e40e0..e0fb7dd14dd05dab2dc93451d999350f0d6dd60f 100644 (file)
@@ -50,8 +50,12 @@ public:
 
        vector< shared_ptr<Segment> > segments() const;
 
+       uint32_t get_segment_count() const;
+
        void clear();
 
+       double get_samplerate() const;
+
        uint64_t max_sample_count() const;
 
        void notify_samples_added(QObject* segment, uint64_t start_sample,