25 #ifndef CAMERAFILEWRAPPER_HPP 
   26 #define CAMERAFILEWRAPPER_HPP 
   67                 gphoto2::_CameraFile* getPtr() 
const;
 
   76                 std::vector<char> getDataAndSize() 
const;
 
   84                 void setDataAndSize(std::vector<char> 
const & file);
 
   92                 std::string getMimeType() 
const;
 
  100                 void setMimeType(std::string 
const & mimeType);
 
  108                 std::string getFileName() 
const;
 
  116                 void setFileName(std::string 
const & fileName);
 
  124                 void detectMimeType() 
const;
 
  144                 void adjustNameForMimeType();
 
  151                 std::time_t getMtime() 
const;
 
  159                 void setMtime(std::time_t mtime);
 
  176                 void save(std::string 
const & filename) 
const;
 
  179                 gphoto2::_CameraFile* m_cameraFile;
 
  185 #endif // CAMERAFILEWRAPPER_HPP