mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 13:15:35 +00:00
9bc8928f88
* configure.in : expand the new config files. * */*config.in : the per-assembly config files. * */Makefile.am : dist, clean, and install the configs. * gnome/*.c* : fix some errant DllImports. svn path=/trunk/gtk-sharp/; revision=26301
27 lines
502 B
C#
27 lines
502 B
C#
namespace Gnome
|
|
{
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
public class Modules
|
|
{
|
|
[DllImport("gnome-2")]
|
|
static extern System.IntPtr libgnome_module_info_get ();
|
|
[DllImport("gnomeui-2")]
|
|
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 ());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|