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 gstinterfaces.c.functions; 26 27 import std.stdio; 28 import gstinterfaces.c.types; 29 import gtkd.Loader; 30 31 version (Windows) 32 static immutable LIBRARY_GSTINTERFACES = ["libgstvideo-1.0-0.dll;gstvideo-1.0-0.dll;gstvideo-1.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_install_properties, "gst_video_overlay_install_properties", LIBRARY_GSTINTERFACES); 44 Linker.link(gst_video_overlay_set_property, "gst_video_overlay_set_property", LIBRARY_GSTINTERFACES); 45 Linker.link(gst_video_overlay_expose, "gst_video_overlay_expose", LIBRARY_GSTINTERFACES); 46 Linker.link(gst_video_overlay_got_window_handle, "gst_video_overlay_got_window_handle", LIBRARY_GSTINTERFACES); 47 Linker.link(gst_video_overlay_handle_events, "gst_video_overlay_handle_events", LIBRARY_GSTINTERFACES); 48 Linker.link(gst_video_overlay_prepare_window_handle, "gst_video_overlay_prepare_window_handle", LIBRARY_GSTINTERFACES); 49 Linker.link(gst_video_overlay_set_render_rectangle, "gst_video_overlay_set_render_rectangle", LIBRARY_GSTINTERFACES); 50 Linker.link(gst_video_overlay_set_window_handle, "gst_video_overlay_set_window_handle", LIBRARY_GSTINTERFACES); 51 } 52 53 __gshared extern(C) 54 { 55 56 // gstinterfaces.VideoOverlay 57 58 GType function() c_gst_video_overlay_get_type; 59 void function(GObjectClass* oclass, int lastPropId) c_gst_video_overlay_install_properties; 60 int function(GObject* object, int lastPropId, uint propertyId, GValue* value) c_gst_video_overlay_set_property; 61 void function(GstVideoOverlay* overlay) c_gst_video_overlay_expose; 62 void function(GstVideoOverlay* overlay, size_t handle) c_gst_video_overlay_got_window_handle; 63 void function(GstVideoOverlay* overlay, int handleEvents) c_gst_video_overlay_handle_events; 64 void function(GstVideoOverlay* overlay) c_gst_video_overlay_prepare_window_handle; 65 int function(GstVideoOverlay* overlay, int x, int y, int width, int height) c_gst_video_overlay_set_render_rectangle; 66 void function(GstVideoOverlay* overlay, size_t handle) c_gst_video_overlay_set_window_handle; 67 } 68 69 70 // gstinterfaces.VideoOverlay 71 72 alias c_gst_video_overlay_get_type gst_video_overlay_get_type; 73 alias c_gst_video_overlay_install_properties gst_video_overlay_install_properties; 74 alias c_gst_video_overlay_set_property gst_video_overlay_set_property; 75 alias c_gst_video_overlay_expose gst_video_overlay_expose; 76 alias c_gst_video_overlay_got_window_handle gst_video_overlay_got_window_handle; 77 alias c_gst_video_overlay_handle_events gst_video_overlay_handle_events; 78 alias c_gst_video_overlay_prepare_window_handle gst_video_overlay_prepare_window_handle; 79 alias c_gst_video_overlay_set_render_rectangle gst_video_overlay_set_render_rectangle; 80 alias c_gst_video_overlay_set_window_handle gst_video_overlay_set_window_handle;