Ryujinx-GtkSharp/gnome/BonoboUIVerb.cs

26 lines
445 B
C#
Raw Normal View History

using System;
using System.Runtime.InteropServices;
namespace Gnome
{
public delegate void ContextMenuItemCallback ();
[StructLayout (LayoutKind.Sequential)]
public struct BonoboUIVerb
{
string verb;
ContextMenuItemCallback callback;
IntPtr user_data;
IntPtr dummy;
public BonoboUIVerb (string name, ContextMenuItemCallback cb)
{
verb = name;
callback = cb;
user_data = IntPtr.Zero;
dummy = IntPtr.Zero;
}
}
}