GtkSharp/gnome/Modules.cs
Martin Baulig f058a1b5f8 2002-09-16 Martin Baulig <martin@gnome.org>
* 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
2002-09-16 11:12:01 +00:00

26 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 ());
}
}
}
}