gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
helper_widgets.hpp
Go to the documentation of this file.
1 
25 #ifndef HELPERWIDGETS_HPP
26 #define HELPERWIDGETS_HPP
27 
28 #include <string>
29 #include <vector>
30 
31 //g++ -std=c++11 main.cpp -o main -I. -I/usr/include/boost -I../Library ../Library/logog/liblogog.a ./Debug/libGPhoto2pp.a -lgphoto2
32 //g++ -std=c++11 main.cpp -o main -I. -I/usr/include/boost -I../Library ../Library/logog/liblogog.a ./Debug/libGPhoto2pp.a -lgphoto2 -DLOGOG_LEVEL=0
33 //g++ -std=c++11 main.cpp -o main -I. -I/usr/include/boost -I../Library ./Debug/libGPhoto2pp.a -lgphoto2
34 
35 namespace gphoto2pp
36 {
37  class NonValueWidget;
38  enum class CameraWidgetTypeWrapper : int;
39 
40  namespace helper
41  {
48  std::vector<std::string> getAllWidgetsNames(NonValueWidget const & parentWidget, bool showFullName = false); // Need to ask Marcus if these names are unique? So far they appear to be (I've not encountered two leaf nodes with the same name
49 
56  std::vector<std::string> getAllWidgetsNamesOfType(NonValueWidget const & parentWidget, CameraWidgetTypeWrapper const & filterByWidgetType, bool showFullName = false);
57  }
58 }
59 
60 #endif // HELPERWIDGETS_HPP