GtkSharp/gconf/GConf/_Entry.cs
Rachel Hestilow d33dd8a15f 2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* gconf, sample/gconf: Added.

	* glue/combo.c: This was never added, add it now.

	* configure.in, makefile, sample/Makefile.in: Build new
	gconf bindings if gnome is enabled.

svn path=/trunk/gtk-sharp/; revision=8389
2002-10-19 09:31:20 +00:00

31 lines
457 B
C#

namespace GConf
{
using System;
using System.Runtime.InteropServices;
internal struct _NativeEntry
{
public string key;
public IntPtr value;
}
internal class _Entry
{
_NativeEntry native;
public _Entry (IntPtr raw)
{
native = (_NativeEntry) Marshal.PtrToStructure (raw, typeof (_NativeEntry));
}
public string Key
{
get { return native.key; }
}
internal IntPtr ValuePtr
{
get { return native.value; }
}
}
}