]> sigrok.org Git - pulseview.git/blobdiff - pv/session.hpp
Fix #1147 by implementing decoder selector subwindow
[pulseview.git] / pv / session.hpp
index 9566b4a06a739efd2d198fb42f4ae6cfddcf71fb..345baea49d52b566fe8aaa920f347b8938118982 100644 (file)
@@ -151,8 +151,12 @@ public:
         */
        bool data_saved() const;
 
+       void save_setup(QSettings &settings) const;
+
        void save_settings(QSettings &settings) const;
 
+       void restore_setup(QSettings &settings);
+
        void restore_settings(QSettings &settings);
 
        /**
@@ -264,6 +268,10 @@ Q_SIGNALS:
 public Q_SLOTS:
        void on_data_saved();
 
+#ifdef ENABLE_DECODE
+       void on_new_decoders_selected(vector<const srd_decoder*> decoders);
+#endif
+
 private:
        DeviceManager &device_manager_;
        shared_ptr<devices::Device> device_;