mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-19 20:46:22 +00:00
Document preset-iface vmethods.
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstpreset.h: Document preset-iface vmethods.
This commit is contained in:
parent
b85a3e4afc
commit
bdbd0bfac4
3 changed files with 27 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-08-11 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* docs/gst/gstreamer-sections.txt:
|
||||||
|
* gst/gstpreset.h:
|
||||||
|
Document preset-iface vmethods.
|
||||||
|
|
||||||
2008-08-11 Stefan Kost <ensonic@users.sf.net>
|
2008-08-11 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* docs/manual/advanced-interfaces.xml:
|
* docs/manual/advanced-interfaces.xml:
|
||||||
|
|
|
@ -1690,6 +1690,7 @@ gst_poll_wait
|
||||||
<FILE>gstpreset</FILE>
|
<FILE>gstpreset</FILE>
|
||||||
<TITLE>GstPreset</TITLE>
|
<TITLE>GstPreset</TITLE>
|
||||||
GstPreset
|
GstPreset
|
||||||
|
GstPresetInterface
|
||||||
gst_preset_get_preset_names
|
gst_preset_get_preset_names
|
||||||
gst_preset_get_property_names
|
gst_preset_get_property_names
|
||||||
gst_preset_load_preset
|
gst_preset_load_preset
|
||||||
|
@ -1699,7 +1700,6 @@ gst_preset_delete_preset
|
||||||
gst_preset_set_meta
|
gst_preset_set_meta
|
||||||
gst_preset_get_meta
|
gst_preset_get_meta
|
||||||
<SUBSECTION Standard>
|
<SUBSECTION Standard>
|
||||||
GstPresetInterface
|
|
||||||
GST_PRESET
|
GST_PRESET
|
||||||
GST_IS_PRESET
|
GST_IS_PRESET
|
||||||
GST_TYPE_PRESET
|
GST_TYPE_PRESET
|
||||||
|
|
|
@ -32,14 +32,33 @@ G_BEGIN_DECLS
|
||||||
#define GST_IS_PRESET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_PRESET))
|
#define GST_IS_PRESET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_PRESET))
|
||||||
#define GST_PRESET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_PRESET, GstPresetInterface))
|
#define GST_PRESET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_PRESET, GstPresetInterface))
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstPreset:
|
||||||
|
*
|
||||||
|
* Opaque #GstPreset data structure.
|
||||||
|
*/
|
||||||
typedef struct _GstPreset GstPreset; /* dummy object */
|
typedef struct _GstPreset GstPreset; /* dummy object */
|
||||||
typedef struct _GstPresetInterface GstPresetInterface;
|
typedef struct _GstPresetInterface GstPresetInterface;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* GstPresetInterface:
|
||||||
|
* @parent: parent interface type.
|
||||||
|
* @get_preset_names: virtual method to get list of presets
|
||||||
|
* @get_property_names: virtual methods to get properties that are persistent
|
||||||
|
* @load_preset: virtual methods to load a preset into properties
|
||||||
|
* @save_preset: virtual methods to save properties into a preset
|
||||||
|
* @rename_preset: virtual methods to rename a preset
|
||||||
|
* @delete_preset: virtual methods to remove a preset
|
||||||
|
* @set_meta: virtual methods to set textual meta data to a preset
|
||||||
|
* @get_meta: virtual methods to get textual meta data from a preset
|
||||||
|
*
|
||||||
|
* #GstPresetInterface interface.
|
||||||
|
*/
|
||||||
struct _GstPresetInterface
|
struct _GstPresetInterface
|
||||||
{
|
{
|
||||||
GTypeInterface parent;
|
GTypeInterface parent;
|
||||||
|
|
||||||
|
/* methods */
|
||||||
gchar** (*get_preset_names) (GstPreset *preset);
|
gchar** (*get_preset_names) (GstPreset *preset);
|
||||||
|
|
||||||
gchar** (*get_property_names) (GstPreset *preset);
|
gchar** (*get_property_names) (GstPreset *preset);
|
||||||
|
|
Loading…
Reference in a new issue