X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdevinst.h;h=0ce767452742c691f38b9caf58fa39d35bcfd90c;hp=400f7c32893be45e7f275ce97eec05e9fb6cb0aa;hb=e183f4e328db8bb134652254ba9bf0707dc16c66;hpb=83c23cc9fa0d4501d9e6b8759251fa6337f5d491;ds=sidebyside diff --git a/pv/devinst.h b/pv/devinst.h index 400f7c32..0ce76745 100644 --- a/pv/devinst.h +++ b/pv/devinst.h @@ -30,6 +30,7 @@ #include struct sr_dev_inst; +struct sr_probe; struct sr_probe_group; namespace pv { @@ -51,6 +52,8 @@ public: GVariant* list_config(const sr_probe_group *group, int key); + void enable_probe(const sr_probe *probe, bool enable = true); + signals: void config_changed();