]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/probes.h
Replaced boost::shared_ptr with std::shared_ptr
[pulseview.git] / pv / popups / probes.h
index 0dc324a00ae6071c130619b8b789c49b39df8728..4265c1597274eef0f27b35d4fe8a28fbf72abbdf 100644 (file)
 #ifndef PULSEVIEW_PV_POPUPS_PROBES_H
 #define PULSEVIEW_PV_POPUPS_PROBES_H
 
+#include <map>
+#include <memory>
 #include <vector>
 
 #include <QFormLayout>
 #include <QHBoxLayout>
 #include <QPushButton>
+#include <QSignalMapper>
 
 #include <pv/widgets/popup.h>
 
+struct sr_channel_group;
+
 class QCheckBox;
 class QGridLayout;
 
@@ -58,11 +63,11 @@ public:
 private:
        void set_all_probes(bool set);
 
-       void populate_group(const sr_probe_group *group,
-               const std::vector< boost::shared_ptr<pv::view::Signal> > sigs);
+       void populate_group(const sr_channel_group *group,
+               const std::vector< std::shared_ptr<pv::view::Signal> > sigs);
 
-       QGridLayout* create_probe_group_grid(
-               const std::vector< boost::shared_ptr<pv::view::Signal> > sigs);
+       QGridLayout* create_channel_group_grid(
+               const std::vector< std::shared_ptr<pv::view::Signal> > sigs);
 
 private:
        void showEvent(QShowEvent *e);
@@ -80,9 +85,9 @@ private:
 
        bool _updating_probes;
 
-       std::vector< boost::shared_ptr<pv::prop::binding::DeviceOptions> >
+       std::vector< std::shared_ptr<pv::prop::binding::DeviceOptions> >
                 _group_bindings;
-       std::map< QCheckBox*, boost::shared_ptr<pv::view::Signal> >
+       std::map< QCheckBox*, std::shared_ptr<pv::view::Signal> >
                _check_box_signal_map;
 
        QHBoxLayout _buttons_bar;