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 private import std.stdio; 28 private import gstreamerc.gstinterfacestypes; 29 private import gtkc.Loader; 30 private import gtkc.paths; 31 32 shared static this() 33 { 34 // gstinterfaces.VideoOverlay 35 36 Linker.link(gst_video_overlay_got_window_handle, "gst_video_overlay_got_window_handle", LIBRARY.GSTINTERFACES); 37 Linker.link(gst_video_overlay_set_window_handle, "gst_video_overlay_set_window_handle", LIBRARY.GSTINTERFACES); 38 Linker.link(gst_video_overlay_prepare_window_handle, "gst_video_overlay_prepare_window_handle", LIBRARY.GSTINTERFACES); 39 Linker.link(gst_video_overlay_expose, "gst_video_overlay_expose", LIBRARY.GSTINTERFACES); 40 Linker.link(gst_video_overlay_handle_events, "gst_video_overlay_handle_events", LIBRARY.GSTINTERFACES); 41 Linker.link(gst_video_overlay_set_render_rectangle, "gst_video_overlay_set_render_rectangle", LIBRARY.GSTINTERFACES); 42 Linker.link(gst_is_video_overlay_prepare_window_handle_message, "gst_is_video_overlay_prepare_window_handle_message", LIBRARY.GSTINTERFACES); 43 } 44 45 __gshared extern(C) 46 { 47 // gstinterfaces.VideoOverlay 48 49 void function(GstVideoOverlay* overlay, guintptr handle) c_gst_video_overlay_got_window_handle; 50 void function(GstVideoOverlay* overlay, guintptr handle) c_gst_video_overlay_set_window_handle; 51 void function(GstVideoOverlay* overlay) c_gst_video_overlay_prepare_window_handle; 52 void function(GstVideoOverlay* overlay) c_gst_video_overlay_expose; 53 void function(GstVideoOverlay* overlay, gboolean handleEvents) c_gst_video_overlay_handle_events; 54 gboolean function(GstVideoOverlay* overlay, gint x, gint y, gint width, gint height) c_gst_video_overlay_set_render_rectangle; 55 gboolean function(GstMessage* msg) c_gst_is_video_overlay_prepare_window_handle_message; 56 } 57 58 // gstinterfaces.VideoOverlay 59 60 alias c_gst_video_overlay_got_window_handle gst_video_overlay_got_window_handle; 61 alias c_gst_video_overlay_set_window_handle gst_video_overlay_set_window_handle; 62 alias c_gst_video_overlay_prepare_window_handle gst_video_overlay_prepare_window_handle; 63 alias c_gst_video_overlay_expose gst_video_overlay_expose; 64 alias c_gst_video_overlay_handle_events gst_video_overlay_handle_events; 65 alias c_gst_video_overlay_set_render_rectangle gst_video_overlay_set_render_rectangle; 66 alias c_gst_is_video_overlay_prepare_window_handle_message gst_is_video_overlay_prepare_window_handle_message;