33 #define GST_IS_PROPERTY_PROBE(obj) \ |
33 #define GST_IS_PROPERTY_PROBE(obj) \ |
34 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_PROPERTY_PROBE)) |
34 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_PROPERTY_PROBE)) |
35 #define GST_PROPERTY_PROBE_GET_IFACE(obj) \ |
35 #define GST_PROPERTY_PROBE_GET_IFACE(obj) \ |
36 (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_PROPERTY_PROBE, GstPropertyProbeInterface)) |
36 (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_PROPERTY_PROBE, GstPropertyProbeInterface)) |
37 |
37 |
38 /** |
|
39 * GstPropertyProbe: |
|
40 * |
|
41 * Opaque #GstPropertyProbe data structure. |
|
42 */ |
|
43 typedef struct _GstPropertyProbe GstPropertyProbe; /* dummy typedef */ |
38 typedef struct _GstPropertyProbe GstPropertyProbe; /* dummy typedef */ |
44 typedef struct _GstPropertyProbeInterface GstPropertyProbeInterface; |
|
45 |
39 |
46 /** |
40 typedef struct _GstPropertyProbeInterface { |
47 * GstPropertyProbeInterface: |
|
48 * @klass: parent interface type. |
|
49 * @probe_needed: default signal handler |
|
50 * @get_properties: virtual method to get list of probable properties |
|
51 * @needs_probe: virtual method to tell if probe need update |
|
52 * @probe_property: virtual method to probe a property |
|
53 * @get_values: virtual method to get probe results for a property |
|
54 * |
|
55 * #GstPropertyProbe interface. |
|
56 */ |
|
57 struct _GstPropertyProbeInterface { |
|
58 GTypeInterface klass; |
41 GTypeInterface klass; |
59 |
42 |
60 /* signals */ |
43 /* signals */ |
61 void (*probe_needed) (GstPropertyProbe *probe, |
44 void (*probe_needed) (GstPropertyProbe *probe, |
62 const GParamSpec *pspec); |
45 const GParamSpec *pspec); |
71 const GParamSpec *pspec); |
54 const GParamSpec *pspec); |
72 GValueArray * (*get_values) (GstPropertyProbe *probe, |
55 GValueArray * (*get_values) (GstPropertyProbe *probe, |
73 guint prop_id, |
56 guint prop_id, |
74 const GParamSpec *pspec); |
57 const GParamSpec *pspec); |
75 |
58 |
76 /*< private >*/ |
|
77 gpointer _gst_reserved[GST_PADDING]; |
59 gpointer _gst_reserved[GST_PADDING]; |
78 }; |
60 } GstPropertyProbeInterface; |
79 #ifdef __SYMBIAN32__ |
61 #ifdef __SYMBIAN32__ |
80 IMPORT_C |
62 IMPORT_C |
81 #endif |
63 #endif |
82 |
64 |
83 |
65 |