no more submodule
This commit is contained in:
135
GtkSharp/Source/Libs/GioSharp/Generated/GLib/AppInfoMonitor.cs
Normal file
135
GtkSharp/Source/Libs/GioSharp/Generated/GLib/AppInfoMonitor.cs
Normal file
@@ -0,0 +1,135 @@
|
||||
// This file was generated by the Gtk# code generator.
|
||||
// Any changes made will be lost if regenerated.
|
||||
|
||||
namespace GLib {
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using static GLib.AbiStructExtension;
|
||||
|
||||
#region Autogenerated code
|
||||
public partial class AppInfoMonitor : GLib.Object {
|
||||
|
||||
public AppInfoMonitor (IntPtr raw) : base(raw) {}
|
||||
|
||||
protected AppInfoMonitor() : base(IntPtr.Zero)
|
||||
{
|
||||
CreateNativeObject (Array.Empty<string> (), Array.Empty<GLib.Value> ());
|
||||
}
|
||||
|
||||
[GLib.Signal("changed")]
|
||||
public event System.EventHandler Changed {
|
||||
add {
|
||||
this.AddSignalHandler ("changed", value);
|
||||
}
|
||||
remove {
|
||||
this.RemoveSignalHandler ("changed", value);
|
||||
}
|
||||
}
|
||||
|
||||
static ChangedNativeDelegate Changed_cb_delegate;
|
||||
static ChangedNativeDelegate ChangedVMCallback {
|
||||
get {
|
||||
if (Changed_cb_delegate == null)
|
||||
Changed_cb_delegate = new ChangedNativeDelegate (Changed_cb);
|
||||
return Changed_cb_delegate;
|
||||
}
|
||||
}
|
||||
|
||||
static void OverrideChanged (GLib.GType gtype)
|
||||
{
|
||||
OverrideChanged (gtype, ChangedVMCallback);
|
||||
}
|
||||
|
||||
static void OverrideChanged (GLib.GType gtype, ChangedNativeDelegate callback)
|
||||
{
|
||||
OverrideVirtualMethod (gtype, "changed", callback);
|
||||
}
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
delegate void ChangedNativeDelegate (IntPtr inst);
|
||||
|
||||
static void Changed_cb (IntPtr inst)
|
||||
{
|
||||
try {
|
||||
AppInfoMonitor __obj = GLib.Object.GetObject (inst, false) as AppInfoMonitor;
|
||||
__obj.OnChanged ();
|
||||
} catch (Exception e) {
|
||||
GLib.ExceptionManager.RaiseUnhandledException (e, false);
|
||||
}
|
||||
}
|
||||
|
||||
[GLib.DefaultSignalHandler(Type=typeof(GLib.AppInfoMonitor), ConnectionMethod="OverrideChanged")]
|
||||
protected virtual void OnChanged ()
|
||||
{
|
||||
InternalChanged ();
|
||||
}
|
||||
|
||||
private void InternalChanged ()
|
||||
{
|
||||
GLib.Value ret = GLib.Value.Empty;
|
||||
GLib.ValueArray inst_and_params = new GLib.ValueArray (1);
|
||||
GLib.Value[] vals = new GLib.Value [1];
|
||||
vals [0] = new GLib.Value (this);
|
||||
inst_and_params.Append (vals [0]);
|
||||
g_signal_chain_from_overridden (inst_and_params.ArrayPtr, ref ret);
|
||||
foreach (GLib.Value v in vals)
|
||||
v.Dispose ();
|
||||
}
|
||||
|
||||
|
||||
// Internal representation of the wrapped structure ABI.
|
||||
static GLib.AbiStruct _class_abi = null;
|
||||
static public unsafe new GLib.AbiStruct class_abi {
|
||||
get {
|
||||
if (_class_abi == null)
|
||||
_class_abi = new GLib.AbiStruct (GLib.Object.class_abi.Fields);
|
||||
|
||||
return _class_abi;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// End of the ABI representation.
|
||||
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
delegate IntPtr d_g_app_info_monitor_get();
|
||||
static d_g_app_info_monitor_get g_app_info_monitor_get = FuncLoader.LoadFunction<d_g_app_info_monitor_get>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gio), "g_app_info_monitor_get"));
|
||||
|
||||
public static GLib.AppInfoMonitor Get() {
|
||||
IntPtr raw_ret = g_app_info_monitor_get();
|
||||
GLib.AppInfoMonitor ret = GLib.Object.GetObject(raw_ret) as GLib.AppInfoMonitor;
|
||||
return ret;
|
||||
}
|
||||
|
||||
[UnmanagedFunctionPointer (CallingConvention.Cdecl)]
|
||||
delegate IntPtr d_g_app_info_monitor_get_type();
|
||||
static d_g_app_info_monitor_get_type g_app_info_monitor_get_type = FuncLoader.LoadFunction<d_g_app_info_monitor_get_type>(FuncLoader.GetProcAddress(GLibrary.Load(Library.Gio), "g_app_info_monitor_get_type"));
|
||||
|
||||
public static new GLib.GType GType {
|
||||
get {
|
||||
IntPtr raw_ret = g_app_info_monitor_get_type();
|
||||
GLib.GType ret = new GLib.GType(raw_ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Internal representation of the wrapped structure ABI.
|
||||
static GLib.AbiStruct _abi_info = null;
|
||||
static public unsafe new GLib.AbiStruct abi_info {
|
||||
get {
|
||||
if (_abi_info == null)
|
||||
_abi_info = new GLib.AbiStruct (GLib.Object.abi_info.Fields);
|
||||
|
||||
return _abi_info;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// End of the ABI representation.
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user