gstpad: Probes that return HANDLED can reset the data info field
[platform/upstream/gstreamer.git] / gst / gsttocsetter.h
index 2174e0d..4d58187 100644 (file)
@@ -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_TOC_SETTER_H__
 #include <gst/gst.h>
 
 G_BEGIN_DECLS
-#define GST_TYPE_TOC_SETTER                    (gst_toc_setter_get_type ())
-#define GST_TOC_SETTER(obj)                    (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TOC_SETTER, GstTocSetter))
-#define GST_IS_TOC_SETTER(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TOC_SETTER))
-#define GST_TOC_SETTER_GET_IFACE(obj)  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TOC_SETTER, GstTocSetterIFace))
+
+#define GST_TYPE_TOC_SETTER              (gst_toc_setter_get_type ())
+#define GST_TOC_SETTER(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TOC_SETTER, GstTocSetter))
+#define GST_IS_TOC_SETTER(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_TOC_SETTER))
+#define GST_TOC_SETTER_GET_IFACE(obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_TOC_SETTER, GstTocSetterInterface))
 /**
  * GstTocSetter:
  *
  * Opaque #GstTocSetter data structure.
  */
 typedef struct _GstTocSetter GstTocSetter;
-typedef struct _GstTocSetterIFace GstTocSetterIFace;
+typedef struct _GstTocSetterInterface GstTocSetterInterface;
 
 /**
- * GstTocSetterIFace:
+ * GstTocSetterInterface:
  * @g_iface: parent interface type.
  *
- * #GstTocSetterIFace interface.
+ * #GstTocSetterInterface interface.
  */
 
-struct _GstTocSetterIFace
+struct _GstTocSetterInterface
 {
   GTypeInterface g_iface;
 
@@ -53,15 +54,19 @@ struct _GstTocSetterIFace
   /* virtual table */
 };
 
-GType               gst_toc_setter_get_type (void);
-void                gst_toc_setter_reset_toc (GstTocSetter *setter);
-const GstToc *      gst_toc_setter_get_toc (GstTocSetter *setter);
-GstToc *            gst_toc_setter_get_toc_copy (GstTocSetter *setter);
-void                gst_toc_setter_set_toc (GstTocSetter *setter, const GstToc *toc);
-const GstTocEntry * gst_toc_setter_get_toc_entry (GstTocSetter *setter, const gchar *uid);
-GstTocEntry *       gst_toc_setter_get_toc_entry_copy (GstTocSetter *setter, const gchar *uid);
-gboolean            gst_toc_setter_add_toc_entry (GstTocSetter *setter, const gchar *parent_uid, const GstTocEntry *entry);
+GST_API
+GType         gst_toc_setter_get_type (void);
+
+GST_API
+void          gst_toc_setter_reset   (GstTocSetter *setter);
+
+GST_API
+GstToc *      gst_toc_setter_get_toc (GstTocSetter *setter);
+
+GST_API
+void          gst_toc_setter_set_toc (GstTocSetter *setter, GstToc *toc);
 
 G_END_DECLS
+
 #endif /* __GST_TOC_SETTER_H__ */