Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

typedef int(* CameraGetConfigFunc)(Camera *camera, CameraWidget **widget, GPContext *context)

Get a configuration tree for the camera and its driver.

Parameters:
camera the current camera
widget pointer to store the toplevel widget of the tree
context the active GPContext
A camera driver can support configuration of either its own behaviour or the camera device itself. To allow a flexible driver framework, the camera driver provides a generic configuration widget tree to the frontend, which then renders it, allows user input and sends it back via the CameraSetConfigFunc function to have the driver configure itself or the camera.

If you do not have configuration ability, there is no need to specify this function.

Returns:
a gphoto error code

Definition at line 146 of file gphoto2-camera.h.


Generated by  Doxygen 1.6.0   Back to index