X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.hpp;h=21f88e90947f038a01f675a7483584ccc90ff776;hp=d43ab607b4a48746afc9aa973e4ec0b8a0ef26af;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=2acdb232d6bb452cfdfaea3ef5218fb4da592329 diff --git a/pv/popups/deviceoptions.hpp b/pv/popups/deviceoptions.hpp index d43ab60..21f88e9 100644 --- a/pv/popups/deviceoptions.hpp +++ b/pv/popups/deviceoptions.hpp @@ -14,19 +14,20 @@ * 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 . */ -#ifndef PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_H -#define PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_H +#ifndef PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_HPP +#define PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_HPP #include #include -#include +#include #include +using std::shared_ptr; + namespace sigrok { class Device; } @@ -39,20 +40,19 @@ class DeviceOptions : public pv::widgets::Popup Q_OBJECT public: - DeviceOptions(std::shared_ptr device, - QWidget *parent); + DeviceOptions(shared_ptr device, QWidget *parent); - pv::prop::binding::DeviceOptions& binding(); + pv::binding::Device& binding(); private: - std::shared_ptr device_; + shared_ptr device_; QVBoxLayout layout_; - pv::prop::binding::DeviceOptions binding_; + pv::binding::Device binding_; }; } // namespace popups } // namespace pv -#endif // PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_H +#endif // PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_HPP