]> sigrok.org Git - pulseview.git/blobdiff - pv/data/logic.hpp
Use shared_ptr for async samples_added() notification
[pulseview.git] / pv / data / logic.hpp
index e45ff2f69e99463ac6492f9fdfa997f6a44ca836..b5e532c45e9a0523d13991f39fb8c653d498eca3 100644 (file)
@@ -21,6 +21,7 @@
 #define PULSEVIEW_PV_DATA_LOGIC_HPP
 
 #include "signaldata.hpp"
 #define PULSEVIEW_PV_DATA_LOGIC_HPP
 
 #include "signaldata.hpp"
+#include "segment.hpp"
 
 #include <deque>
 
 
 #include <deque>
 
@@ -67,7 +68,7 @@ public:
 Q_SIGNALS:
        void samples_cleared();
 
 Q_SIGNALS:
        void samples_cleared();
 
-       void samples_added(shared_ptr<Segment> segment, uint64_t start_sample,
+       void samples_added(SharedPtrToSegment segment, uint64_t start_sample,
                uint64_t end_sample);
 
 private:
                uint64_t end_sample);
 
 private: