[gst-devel] GstInterface

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Oct 14 11:47:17 CEST 2003

Hi Dave,

On Tue, 2003-10-14 at 20:40, David Schleef wrote:
> On a different topic, what happens if you want to write an element
> that implements two interfaces, InterfaceA and InterfaceB, and
> both InterfaceA and InterfaceB depend on GstInterface?  In that
> case, to which interface (A or B) does GstInterface->supported()
> refer?

typedef struct _GstInterfaceClass {
  GTypeInterface parent;
  /* virtual functions */
  gboolean (* supported) (GstInterface *iface,
                          GType         iface_type);
} GstInterfaceClass;

Note the second argument in supported ().


Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer

More information about the gstreamer-devel mailing list