X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstpreset.h;h=65c19a20924919491b1da718faa3efdac6fd5a37;hb=bb07550c2dc9a62dfaa58701d085f9ff7658d75f;hp=30973f3a83782e47d1752addaf4bf3f769cbed26;hpb=4348851cd98d50013f341e067c06f4176ff41fce;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstpreset.h b/gst/gstpreset.h index 30973f3..65c19a2 100644 --- a/gst/gstpreset.h +++ b/gst/gstpreset.h @@ -15,8 +15,8 @@ * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. */ #ifndef __GST_PRESET_H__ @@ -77,26 +77,42 @@ struct _GstPresetInterface gpointer _gst_reserved[GST_PADDING]; }; -GType gst_preset_get_type(void); +GST_API +GType gst_preset_get_type (void); +GST_API gchar** gst_preset_get_preset_names (GstPreset *preset) G_GNUC_MALLOC; +GST_API gchar** gst_preset_get_property_names (GstPreset *preset) G_GNUC_MALLOC; +GST_API gboolean gst_preset_load_preset (GstPreset *preset, const gchar *name); + +GST_API gboolean gst_preset_save_preset (GstPreset *preset, const gchar *name); + +GST_API gboolean gst_preset_rename_preset (GstPreset *preset, const gchar *old_name, const gchar *new_name); +GST_API gboolean gst_preset_delete_preset (GstPreset *preset, const gchar *name); +GST_API gboolean gst_preset_set_meta (GstPreset *preset, const gchar *name, const gchar *tag, const gchar *value); +GST_API gboolean gst_preset_get_meta (GstPreset *preset, const gchar *name, const gchar *tag, gchar **value); - +GST_API gboolean gst_preset_set_app_dir (const gchar *app_dir); + +GST_API const gchar *gst_preset_get_app_dir (void); +GST_API +gboolean gst_preset_is_editable (GstPreset *preset); + G_END_DECLS #endif /* __GST_PRESET_H__ */