2 * Copyright (C) 2009,2010 Sebastian Dröge <sebastian.droege@collabora.co.uk>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef WebKitWebSourceGStreamer_h
20 #define WebKitWebSourceGStreamer_h
21 #if ENABLE(VIDEO) && USE(GSTREAMER)
28 #define WEBKIT_TYPE_WEB_SRC (webkit_web_src_get_type ())
29 #define WEBKIT_WEB_SRC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBKIT_TYPE_WEB_SRC, WebKitWebSrc))
30 #define WEBKIT_WEB_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WEBKIT_TYPE_WEB_SRC, WebKitWebSrcClass))
31 #define WEBKIT_IS_WEB_SRC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WEBKIT_TYPE_WEB_SRC))
32 #define WEBKIT_IS_WEB_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WEBKIT_TYPE_WEB_SRC))
34 typedef struct _WebKitWebSrc WebKitWebSrc;
35 typedef struct _WebKitWebSrcClass WebKitWebSrcClass;
36 typedef struct _WebKitWebSrcPrivate WebKitWebSrcPrivate;
38 struct _WebKitWebSrc {
41 WebKitWebSrcPrivate *priv;
44 struct _WebKitWebSrcClass {
45 GstBinClass parentClass;
48 GType webkit_web_src_get_type(void);
49 void webKitWebSrcSetFrame(WebKitWebSrc* src, WebCore::Frame* frame);
53 #endif // USE(GSTREAMER)