mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 13:55:30 +00:00
f058a1b5f8
* gnome/Modules.cs (Module): Make this class public. * sample/CanvasExample.cs: Insert a missing `break' in a switch section to make this compile. * sample/Scribble.cs: Added missing casts from EventMask to int. svn path=/trunk/gtk-sharp/; revision=7493
27 lines
518 B
C#
27 lines
518 B
C#
namespace Gnome
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class Modules
|
|
{
|
|
[DllImport("libgnome-2.so.0")]
|
|
static extern System.IntPtr libgnome_module_info_get ();
|
|
[DllImport("libgnomeui-2.so.0")]
|
|
static extern System.IntPtr libgnomeui_module_info_get ();
|
|
|
|
public static ModuleInfo LibGnome {
|
|
get {
|
|
return ModuleInfo.New (libgnome_module_info_get ());
|
|
}
|
|
}
|
|
|
|
public static ModuleInfo UI {
|
|
get {
|
|
return ModuleInfo.New (libgnomeui_module_info_get ());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|