Files
libgphoto2/examples/samples.h
Marcus Meissner ca55fb156d fixed sample_open_camera to load the abilities and portinfolist
(was done by sample_autodetect before)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14352 67ed7778-7388-44ab-90cf-0a291f65f57c
2013-04-25 07:39:18 +00:00

16 lines
695 B
C

#ifndef __SAMPLES_H
#define __SAMPLES_H
#include <gphoto2/gphoto2-camera.h>
extern int sample_autodetect (CameraList *list, GPContext *context);
extern int sample_open_camera (Camera ** camera, const char *model, const char *port, GPContext *context);
extern GPContext* sample_create_context(void);
extern int get_config_value_string (Camera *, const char *, char **, GPContext *);
extern int set_config_value_string (Camera *, const char *, const char *, GPContext *);
int canon_enable_capture (Camera *camera, int onoff, GPContext *context);
extern int camera_auto_focus (Camera *list, GPContext *context);
extern int camera_manual_focus (Camera *list, int tgt, GPContext *context);
#endif