internal static uint AddWatch(this Bus bus, BusFunc func) { //https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS int G_PRIORITY_DEFAULT = 0; //FIXME: use AddWatch() when it is bindable return bus.AddWatchFull (G_PRIORITY_DEFAULT, func); //gst_bus_add_watch (gst_pipeline_get_bus (GST_PIPELINE (detector->pipeline)), bbd_pipeline_bus_callback, detector); }
public BusFuncWrapper(Gst.BusFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new BusFuncNative(NativeCallback); } }
internal static uint AddWatch(this Bus bus, BusFunc func) { //https://developer.gnome.org/glib/unstable/glib-The-Main-Event-Loop.html#G-PRIORITY-DEFAULT:CAPS int G_PRIORITY_DEFAULT = 0; //FIXME: use AddWatch() when it is bindable return(bus.AddWatchFull(G_PRIORITY_DEFAULT, func)); //gst_bus_add_watch (gst_pipeline_get_bus (GST_PIPELINE (detector->pipeline)), bbd_pipeline_bus_callback, detector); }
public static BusFunc BusFuncModel(BusFunc bus) { var entity = new BusFunc { ID = bus.ID, Name = bus.Name, Code = bus.Code, LocalizedTitle = bus.LocalizedTitle, DsbTileCssClass = bus.DsbTileCssClass, TechFuncID = bus.TechFuncID, IsCombo = bus.IsCombo, FleetOnly = bus.FleetOnly, Comment = bus.Comment }; return(entity); }
public static extern void g_signal_connect_data(IntPtr instance, IntPtr detailed_signal, BusFunc cb, IntPtr data, IntPtr zero, uint flags);
public BusFuncWrapper (Gst.BusFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new BusFuncNative (NativeCallback); }
public static BusFunc CreateBusFuncModel(BusFunc bus) { CreateToDatabase.DbCreate(BusFuncModel(bus)); return(BusFuncModel(bus)); }
public static void UpdateBusFuncModel(BusFunc bus) { UpdateInDatabase.BusFuncUpdate(BusFuncModel(bus)); }
public static void DestroyBusFuncModel(BusFunc bus) { DestroyFromDatabase.BusFuncDelete(BusFuncModel(bus)); }