X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=2860c681b91d70f7657318255513c9a12779c689;hb=343f938f150becac42e8028f88783dc52d92eba0;hp=f975ca516b5dbc0c84dbccd1e2c967e256ac3467;hpb=998b89fd858e0dfc09c97cc4e3de718643f0017b;p=pulseview.git diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index f975ca51..2860c681 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -51,7 +51,9 @@ class View; } namespace widgets { +#ifdef ENABLE_DECODE class DecoderMenu; +#endif } class MainWindow : public QMainWindow @@ -87,7 +89,9 @@ public: QAction* action_view_show_cursors() const; QAction* action_about() const; +#ifdef ENABLE_DECODE QMenu* menu_decoder_add() const; +#endif void run_stop(); @@ -167,7 +171,9 @@ private: QAction *const action_view_show_cursors_; QAction *const action_about_; +#ifdef ENABLE_DECODE QMenu *const menu_decoders_add_; +#endif }; } // namespace pv