photography: Avoid breaking ABI

Move the newly added functions/fields to the end of the structs
This commit is contained in:
Thiago Santos 2010-10-14 13:41:00 -03:00
parent 96a7f9c8b1
commit e3d120d725

View file

@ -209,7 +209,6 @@ typedef struct
GstColourToneMode tone_mode;
GstSceneMode scene_mode;
GstFlashMode flash_mode;
guint noise_reduction;
guint32 exposure;
guint aperture;
gfloat ev_compensation;
@ -217,6 +216,7 @@ typedef struct
gfloat zoom;
GstFlickerReductionMode flicker_mode;
GstFocusMode focus_mode;
guint noise_reduction;
} GstPhotoSettings;
/**
@ -280,8 +280,6 @@ typedef struct _GstPhotographyInterface
GstSceneMode * scene_mode);
gboolean (*get_flash_mode) (GstPhotography * photo,
GstFlashMode * flash_mode);
gboolean (*get_noise_reduction) (GstPhotography * photo,
guint * noise_reduction);
gboolean (*get_zoom) (GstPhotography * photo, gfloat * zoom);
gboolean (*get_flicker_mode) (GstPhotography * photo,
GstFlickerReductionMode * flicker_mode);
@ -300,8 +298,6 @@ typedef struct _GstPhotographyInterface
GstSceneMode scene_mode);
gboolean (*set_flash_mode) (GstPhotography * photo,
GstFlashMode flash_mode);
gboolean (*set_noise_reduction) (GstPhotography * photo,
guint noise_reduction);
gboolean (*set_zoom) (GstPhotography * photo, gfloat zoom);
gboolean (*set_flicker_mode) (GstPhotography * photo,
GstFlickerReductionMode flicker_mode);
@ -315,6 +311,11 @@ typedef struct _GstPhotographyInterface
gboolean (*set_config) (GstPhotography * photo, GstPhotoSettings * config);
gboolean (*get_config) (GstPhotography * photo, GstPhotoSettings * config);
gboolean (*get_noise_reduction) (GstPhotography * photo,
guint * noise_reduction);
gboolean (*set_noise_reduction) (GstPhotography * photo,
guint noise_reduction);
/*< private > */
gpointer _gst_reserved[GST_PADDING];
} GstPhotographyInterface;