gphoto2pp
A C++ Wrapper for libgphoto2
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
gp_port_info_list_wrapper.hpp
Go to the documentation of this file.
1 
25 #ifndef GPPORTINFOLISTWRAPPER_HPP
26 #define GPPORTINFOLISTWRAPPER_HPP
27 
28 #include <string>
29 
30 namespace gphoto2
31 {
32  struct _GPPortInfoList;
33 }
34 
35 namespace gphoto2pp
36 {
37 
43  {
44  public:
47 
48  gphoto2::_GPPortInfoList* getPtr() const;
49 
56  int lookupPath(std::string const & path) const;
57 
64  int lookupName(std::string const & name) const;
65 
72  int count() const;
73 
74  private:
75  gphoto2::_GPPortInfoList* m_portInfoList;
76  };
77 }
78 
79 #endif // GPPORTINFOLISTWRAPPER_HPP