1 /*
2  * This file is part of gtkD.
3  *
4  * gtkD is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License
6  * as published by the Free Software Foundation; either version 3
7  * of the License, or (at your option) any later version, with
8  * some exceptions, please read the COPYING file.
9  *
10  * gtkD is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public License
16  * along with gtkD; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
18  */
19 
20 // generated automatically - do not change
21 // find conversion definition on APILookup.txt
22 // implement new conversion functionalities on the wrap.utils pakage
23 
24 
25 module gstreamerc.gstinterfaces;
26 
27 import std.stdio;
28 import gstreamerc.gstinterfacestypes;
29 import gtkd.Loader;
30 
31 version (Windows)
32 	static immutable LIBRARY_GSTINTERFACES = ["libgstvideo-1.0-0.dll"];
33 else version (OSX)
34 	static immutable LIBRARY_GSTINTERFACES = ["libgstvideo-1.0.0.dylib"];
35 else
36 	static immutable LIBRARY_GSTINTERFACES = ["libgstvideo-1.0.so.0"];
37 
38 shared static this()
39 {
40 	// gstinterfaces.VideoOverlay
41 
42 	Linker.link(gst_video_overlay_get_type, "gst_video_overlay_get_type", LIBRARY_GSTINTERFACES);
43 	Linker.link(gst_video_overlay_expose, "gst_video_overlay_expose", LIBRARY_GSTINTERFACES);
44 	Linker.link(gst_video_overlay_got_window_handle, "gst_video_overlay_got_window_handle", LIBRARY_GSTINTERFACES);
45 	Linker.link(gst_video_overlay_handle_events, "gst_video_overlay_handle_events", LIBRARY_GSTINTERFACES);
46 	Linker.link(gst_video_overlay_prepare_window_handle, "gst_video_overlay_prepare_window_handle", LIBRARY_GSTINTERFACES);
47 	Linker.link(gst_video_overlay_set_render_rectangle, "gst_video_overlay_set_render_rectangle", LIBRARY_GSTINTERFACES);
48 	Linker.link(gst_video_overlay_set_window_handle, "gst_video_overlay_set_window_handle", LIBRARY_GSTINTERFACES);
49 }
50 
51 __gshared extern(C)
52 {
53 
54 	// gstinterfaces.VideoOverlay
55 
56 	GType function() c_gst_video_overlay_get_type;
57 	void function(GstVideoOverlay* overlay) c_gst_video_overlay_expose;
58 	void function(GstVideoOverlay* overlay, size_t handle) c_gst_video_overlay_got_window_handle;
59 	void function(GstVideoOverlay* overlay, int handleEvents) c_gst_video_overlay_handle_events;
60 	void function(GstVideoOverlay* overlay) c_gst_video_overlay_prepare_window_handle;
61 	int function(GstVideoOverlay* overlay, int x, int y, int width, int height) c_gst_video_overlay_set_render_rectangle;
62 	void function(GstVideoOverlay* overlay, size_t handle) c_gst_video_overlay_set_window_handle;
63 }
64 
65 
66 // gstinterfaces.VideoOverlay
67 
68 alias c_gst_video_overlay_get_type gst_video_overlay_get_type;
69 alias c_gst_video_overlay_expose gst_video_overlay_expose;
70 alias c_gst_video_overlay_got_window_handle gst_video_overlay_got_window_handle;
71 alias c_gst_video_overlay_handle_events gst_video_overlay_handle_events;
72 alias c_gst_video_overlay_prepare_window_handle gst_video_overlay_prepare_window_handle;
73 alias c_gst_video_overlay_set_render_rectangle gst_video_overlay_set_render_rectangle;
74 alias c_gst_video_overlay_set_window_handle gst_video_overlay_set_window_handle;