* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PULSEVIEW_PV_BINDING_DEVICE_HPP
void bind_bool(const QString &name,
prop::Property::Getter getter, prop::Property::Setter setter);
void bind_enum(const QString &name,
- const sigrok::ConfigKey *key, std::set<sigrok::Capability> capabilities,
+ const sigrok::ConfigKey *key,
+ std::set<const sigrok::Capability *> capabilities,
prop::Property::Getter getter, prop::Property::Setter setter,
std::function<QString (Glib::VariantBase)> printer = print_gvariant);
void bind_int(const QString &name, QString suffix,
static QString print_timebase(Glib::VariantBase gvar);
static QString print_vdiv(Glib::VariantBase gvar);
static QString print_voltage_threshold(Glib::VariantBase gvar);
+ static QString print_probe_factor(Glib::VariantBase gvar);
protected:
std::shared_ptr<sigrok::Configurable> configurable_;