X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fhwcap.h;fp=pv%2Fprop%2Fbinding%2Fhwcap.h;h=6848720133f5cc533845ef5e60a3cab61fc8eecd;hb=cf47ef78b6366286f6f32673ffabe0595591418d;hp=0000000000000000000000000000000000000000;hpb=1b1ec774978b65209ce2b454cbf81da499b797d2;p=pulseview.git diff --git a/pv/prop/binding/hwcap.h b/pv/prop/binding/hwcap.h new file mode 100644 index 00000000..68487201 --- /dev/null +++ b/pv/prop/binding/hwcap.h @@ -0,0 +1,47 @@ +/* + * This file is part of the PulseView project. + * + * Copyright (C) 2012 Joel Holdsworth + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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 + */ + +#ifndef PULSEVIEW_PV_PROP_BINDING_HWCAP_H +#define PULSEVIEW_PV_PROP_BINDING_HWCAP_H + +extern "C" { +#include +} + +#include "binding.h" + +namespace pv { +namespace prop { +namespace binding { + +class HwCap : public Binding +{ +public: + HwCap(struct sr_dev_inst *sdi); + +protected: + const struct sr_dev_inst *_sdi; +}; + +} // binding +} // prop +} // pv + +#endif // PULSEVIEW_PV_PROP_BINDING_HWCAP_H