• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (C) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
3  *
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.
8  *
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.
13  *
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
17  */
18 
19 #ifndef WebKitWebSourceGStreamer_h
20 #define WebKitWebSourceGStreamer_h
21 
22 #include "Frame.h"
23 #include <gst/gst.h>
24 
25 G_BEGIN_DECLS
26 
27 #define WEBKIT_TYPE_WEB_SRC            (webkit_web_src_get_type ())
28 #define WEBKIT_WEB_SRC(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), WEBKIT_TYPE_WEB_SRC, WebKitWebSrc))
29 #define WEBKIT_WEB_SRC_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), WEBKIT_TYPE_WEB_SRC, WebKitWebSrcClass))
30 #define WEBKIT_IS_WEB_SRC(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WEBKIT_TYPE_WEB_SRC))
31 #define WEBKIT_IS_WEB_SRC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WEBKIT_TYPE_WEB_SRC))
32 
33 typedef struct _WebKitWebSrc        WebKitWebSrc;
34 typedef struct _WebKitWebSrcClass   WebKitWebSrcClass;
35 typedef struct _WebKitWebSrcPrivate WebKitWebSrcPrivate;
36 
37 struct _WebKitWebSrc {
38     GstBin parent;
39 
40     WebKitWebSrcPrivate *priv;
41 };
42 
43 struct _WebKitWebSrcClass {
44     GstBinClass parentClass;
45 };
46 
47 GType webkit_web_src_get_type(void);
48 void  webKitWebSrcSetFrame(WebKitWebSrc* src, WebCore::Frame* frame);
49 
50 G_END_DECLS
51 
52 #endif
53