]> sigrok.org Git - pulseview.git/blobdiff - pv/session.hpp
ViewItem: Make hit_box_rect take ViewItemPaintParams
[pulseview.git] / pv / session.hpp
index 59060a591fdfd0d743ad83780dbcd066cdefbc01..0828edbbf912cb3d8e09e18db94102df872ca1e1 100644 (file)
@@ -35,7 +35,7 @@
 #define NOGDI
 #define NORESOURCE
 #endif
-#include <boost/thread.hpp>
+#include <boost/thread/shared_mutex.hpp>
 
 #include <QObject>
 #include <QString>
@@ -114,9 +114,7 @@ public:
 
        std::set< std::shared_ptr<data::SignalData> > get_data() const;
 
-       boost::shared_mutex& signals_mutex() const;
-
-       const std::unordered_set< std::shared_ptr<view::Signal> >&
+       const std::unordered_set< std::shared_ptr<view::Signal> >
                signals() const;
 
 #ifdef ENABLE_DECODE
@@ -174,6 +172,8 @@ private:
 
        std::thread sampling_thread_;
 
+       bool out_of_memory_;
+
 Q_SIGNALS:
        void capture_state_changed(int state);
        void device_selected();