X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.cpp;h=df9113679d2d5ddddd67c169778ea4820166cddc;hp=7e1be20d52d5ca4dd7b14835387f960590c75b82;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=19adbc2c342b190161ec1223377a3619974b91f7 diff --git a/pv/popups/deviceoptions.cpp b/pv/popups/deviceoptions.cpp index 7e1be20..df91136 100644 --- a/pv/popups/deviceoptions.cpp +++ b/pv/popups/deviceoptions.cpp @@ -14,38 +14,39 @@ * 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 . */ -#include "deviceoptions.h" - -#include +#include "deviceoptions.hpp" #include #include -#include +#include + +#include + +using std::shared_ptr; -using boost::shared_ptr; +using sigrok::Device; namespace pv { namespace popups { -DeviceOptions::DeviceOptions(shared_ptr dev_inst, QWidget *parent) : +DeviceOptions::DeviceOptions(shared_ptr device, QWidget *parent) : Popup(parent), - _dev_inst(dev_inst), - _layout(this), - _binding(dev_inst) + device_(device), + layout_(this), + binding_(device) { - setLayout(&_layout); + setLayout(&layout_); - _layout.addWidget(_binding.get_property_form(this, true)); + layout_.addWidget(binding_.get_property_form(this, true)); } -pv::prop::binding::DeviceOptions& DeviceOptions::binding() +pv::binding::Device& DeviceOptions::binding() { - return _binding; + return binding_; } } // namespace popups