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

int gp_camera_get_about ( Camera camera,
CameraText about,
GPContext context 
)

Retrieves information about the camera driver.

Parameters:
camera a Camera
about a CameraText
context a GPContext
Returns:
a gphoto2 error code
Typically, this information contains name and address of the author, acknowledgements, etc.

Definition at line 923 of file gphoto2-camera.c.

References CHECK_NULL, GP_ERROR_NOT_SUPPORTED, and GP_OK.

{
      CHECK_NULL (camera && about);
      CHECK_INIT (camera, context);

      if (!camera->functions->about) {
            gp_context_error (context, _("This camera does "
                  "not provide information about the driver."));
            CAMERA_UNUSED (camera, context);
                return (GP_ERROR_NOT_SUPPORTED);
      }

      CHECK_RESULT_OPEN_CLOSE (camera, camera->functions->about (camera,
                                    about, context), context);

      CAMERA_UNUSED (camera, context);
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index