protection: implement meta transform function
[platform/upstream/gstreamer.git] / gst / gstpreset.h
index dae2c9b..178eccd 100644 (file)
  *
  * 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__
 #define __GST_PRESET_H__
 
 #include <glib-object.h>
+#include <gst/gstconfig.h>
 
 G_BEGIN_DECLS
 
@@ -78,9 +79,9 @@ struct _GstPresetInterface
 
 GType gst_preset_get_type(void);
 
-gchar**      gst_preset_get_preset_names   (GstPreset *preset);
+gchar**      gst_preset_get_preset_names   (GstPreset *preset) G_GNUC_MALLOC;
 
-gchar**      gst_preset_get_property_names (GstPreset *preset);
+gchar**      gst_preset_get_property_names (GstPreset *preset) G_GNUC_MALLOC;
 
 gboolean     gst_preset_load_preset        (GstPreset *preset, const gchar *name);
 gboolean     gst_preset_save_preset        (GstPreset *preset, const gchar *name);
@@ -93,6 +94,10 @@ gboolean     gst_preset_set_meta           (GstPreset *preset, const gchar *name
 gboolean     gst_preset_get_meta           (GstPreset *preset, const gchar *name,
                                             const gchar *tag, gchar **value);
 
+gboolean     gst_preset_set_app_dir        (const gchar *app_dir);
+const gchar *gst_preset_get_app_dir        (void);
+
+gboolean     gst_preset_is_editable        (GstPreset *preset);
 G_END_DECLS
 
 #endif /* __GST_PRESET_H__ */