#include <gst/navigation/navigation.h>
-static void gst_navigation_class_init (GstNavigationIface *iface);
+static void gst_navigation_class_init (GstNavigationInterface *iface);
GType
gst_navigation_get_type (void)
if (!gst_navigation_type) {
static const GTypeInfo gst_navigation_info = {
- sizeof (GstNavigationIface),
+ sizeof (GstNavigationInterface),
(GBaseInitFunc) gst_navigation_class_init,
NULL,
NULL,
}
static void
-gst_navigation_class_init (GstNavigationIface *iface)
+gst_navigation_class_init (GstNavigationInterface *iface)
{
/* default virtual functions */
iface->send_event = NULL;
void
gst_navigation_send_event (GstNavigation *navigation, GstCaps *caps)
{
- GstNavigationIface *iface = GST_NAVIGATION_GET_IFACE (navigation);
+ GstNavigationInterface *iface = GST_NAVIGATION_GET_IFACE (navigation);
if (iface->send_event) {
iface->send_event (navigation, caps);
#define GST_IS_NAVIGATION(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_NAVIGATION))
#define GST_NAVIGATION_GET_IFACE(obj) \
- (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationIface))
+ (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface))
typedef struct _GstNavigation GstNavigation;
-typedef struct _GstNavigationIface {
+typedef struct _GstNavigationInterface {
GTypeInterface g_iface;
/* virtual functions */
void (*send_event) (GstNavigation *navigation, GstCaps *caps);
GST_CLASS_PADDING
-} GstNavigationIface;
+} GstNavigationInterface;
GType gst_navigation_get_type (void);