X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fenum.h;h=02b60df5dd5ee982ace26230f89a1b2ba6e2b34c;hp=c2cc63956cde129eac87f05a66959259b6b96cab;hb=2db7704ab7ca681917b0eb091ea49378fe18c4a8;hpb=488f5d3fee3a3ec602718d59edf8a61b6888470c diff --git a/pv/prop/enum.h b/pv/prop/enum.h index c2cc6395..02b60df5 100644 --- a/pv/prop/enum.h +++ b/pv/prop/enum.h @@ -24,6 +24,7 @@ #include #include +#include #include "property.h" class QComboBox; @@ -36,8 +37,8 @@ class Enum : public Property public: Enum(QString name, std::vector > values, - boost::function getter, - boost::function setter); + boost::function getter, + boost::function setter); QWidget* get_widget(QWidget *parent); @@ -45,8 +46,8 @@ public: private: const std::vector< std::pair > _values; - boost::function _getter; - boost::function _setter; + boost::function _getter; + boost::function _setter; QComboBox *_selector; };