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

int gp_widget_get_type ( CameraWidget widget,
CameraWidgetType type 
)

Retrieves the type of the CameraWidget.

Parameters:
widget a CameraWidget
type 
Returns:
a gphoto2 error code.

Definition at line 349 of file gphoto2-widget.c.

References CHECK_NULL, GP_OK, and _CameraWidget::type.

{
      CHECK_NULL (widget && type);

      *type = widget->type;
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index