Fix #684 by implementing snap-to-edge for TimeItem-based classes
[pulseview.git] / pv / data / analog.hpp
index b53e7f04f4b8f5a85b1adb63f625d9ebbf8288fa..c0b9a0134d72d9b5028f75b5d19040a71d81c991 100644 (file)
@@ -49,10 +49,12 @@ public:
 
        vector< shared_ptr<Segment> > segments() const;
 
-       int get_segment_count() 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,