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