gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
helper_gphoto2.hpp
Go to the documentation of this file.
1 
25 #ifndef HELPERGPHOTO2_HPP
26 #define HELPERGPHOTO2_HPP
27 
28 #include <string>
29 #include <vector>
30 
31 namespace gphoto2
32 {
33  struct _GPContext;
34 }
35 
36 
37 namespace gphoto2pp
38 {
39  class CameraListWrapper;
40 
46  std::pair<std::string, std::string> autoDetect();
47 
53  CameraListWrapper autoDetectAll();
54 
62  int checkResponse(int result, std::string&& methodName);
63 
70  int checkResponseSilent(int result, std::string&& methodName);
71 
77  std::string LibraryVersion(bool verbose = false);
78 }
79 
80 #endif // HELPERGPHOTO2_HPP