diff --git a/camlibs/template/template.c b/camlibs/template/template.c index 03917ac83..f18d42a54 100644 --- a/camlibs/template/template.c +++ b/camlibs/template/template.c @@ -73,6 +73,8 @@ /** * @name Camera object member functions * + * The prototypes for these functions are defined in gphoto2-camera.h + * * @{ */ /**********************************************************************/ diff --git a/libgphoto2/gphoto2-camera.h b/libgphoto2/gphoto2-camera.h index 551a48d03..66e99f752 100644 --- a/libgphoto2/gphoto2-camera.h +++ b/libgphoto2/gphoto2-camera.h @@ -66,7 +66,13 @@ typedef enum { } CameraCaptureType; /** - * \ + * \name Camera object member functions + * + * These functions must be implemented by a camlib and the camlib's + * camera_init() function will add them to a Camera object. + * + * @{ + */ typedef int (*CameraExitFunc) (Camera *camera, GPContext *context); typedef int (*CameraGetConfigFunc) (Camera *camera, CameraWidget **widget, GPContext *context); @@ -83,6 +89,8 @@ typedef int (*CameraManualFunc) (Camera *camera, CameraText *text, typedef int (*CameraAboutFunc) (Camera *camera, CameraText *text, GPContext *context); +/**@}*/ + /** * \param camera a \ref Camera object