X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.hpp;h=52b2c5a585dae74e10041033076f54b0bd57bee7;hb=c9f573751bab3f53066aa87486f38216fde67ac8;hp=94ce7afd6f54fc7be5c3dfb0c16c6923242127b2;hpb=61703a0124c7ace84caf415f7d491a3ad6f42599;p=pulseview.git
diff --git a/pv/popups/deviceoptions.hpp b/pv/popups/deviceoptions.hpp
index 94ce7af..52b2c5a 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,21 @@ class DeviceOptions : public pv::widgets::Popup
Q_OBJECT
public:
- DeviceOptions(std::shared_ptr device,
- QWidget *parent);
+ DeviceOptions(shared_ptr device, QWidget *parent);
+
+ pv::binding::Device& binding();
- pv::binding::DeviceOptions& binding();
+ virtual void show();
private:
- std::shared_ptr device_;
+ shared_ptr device_;
QVBoxLayout layout_;
- pv::binding::DeviceOptions binding_;
+ pv::binding::Device binding_;
};
} // namespace popups
} // namespace pv
-#endif // PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_H
+#endif // PULSEVIEW_PV_POPUPS_DEVICEOPTIONS_HPP