projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gst: Don't pass miniobjects to GST_DEBUG_OBJECT() and similar macros
[platform/upstream/gstreamer.git]
/
gst
/
gstpreset.h
diff --git
a/gst/gstpreset.h
b/gst/gstpreset.h
index
050453d
..
65c19a2
100644
(file)
--- a/
gst/gstpreset.h
+++ b/
gst/gstpreset.h
@@
-15,14
+15,15
@@
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
*
* 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., 5
9 Temple Place - Suite 330
,
- * Boston, MA 0211
1-1307
, USA.
+ * Free Software Foundation, Inc., 5
1 Franklin St, Fifth Floor
,
+ * Boston, MA 0211
0-1301
, USA.
*/
#ifndef __GST_PRESET_H__
#define __GST_PRESET_H__
#include <glib-object.h>
*/
#ifndef __GST_PRESET_H__
#define __GST_PRESET_H__
#include <glib-object.h>
+#include <gst/gstconfig.h>
G_BEGIN_DECLS
G_BEGIN_DECLS
@@
-76,22
+77,41
@@
struct _GstPresetInterface
gpointer _gst_reserved[GST_PADDING];
};
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;
gchar** gst_preset_get_preset_names (GstPreset *preset) G_GNUC_MALLOC;
+GST_API
gchar** gst_preset_get_property_names (GstPreset *preset) G_GNUC_MALLOC;
gchar** gst_preset_get_property_names (GstPreset *preset) G_GNUC_MALLOC;
+GST_API
gboolean gst_preset_load_preset (GstPreset *preset, const gchar *name);
gboolean gst_preset_load_preset (GstPreset *preset, const gchar *name);
+
+GST_API
gboolean gst_preset_save_preset (GstPreset *preset, const gchar *name);
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);
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);
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);
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);
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
G_END_DECLS