gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
string_widget.hpp
Go to the documentation of this file.
1 
25 #ifndef STRINGWIDGET_HPP
26 #define STRINGWIDGET_HPP
27 
28 #include "value_widget_base.hpp"
29 
30 #include <string>
31 
32 namespace gphoto2pp
33 {
38  class StringWidget : public ValueWidgetBase<std::string>
39  {
40  friend class NonValueWidget;
41 
42  public:
49  std::string getValue() const override;
50 
57  void setValue(std::string const & value) override;
58 
59  protected:
60  StringWidget(gphoto2::_CameraWidget* cameraWidget);
61  };
62 
63 }
64 
65 #endif // STRINGWIDGET_HPP