// GtkSharp.Boxed.cs - Base class for deriving marshallable structures. // // Author: Mike Kestner // // (c) 2001-2002 Mike Kestner namespace GLib { using System; /// /// Boxed Class /// /// /// /// An abstract base class to derive structures and marshal them. /// public class Boxed { object raw; /// /// Boxed Constructor /// /// /// /// Constructs a Boxed type from a raw ref. /// public Boxed (object o) { this.raw = raw; } /// /// Handle Property /// /// /// /// Gets a marshallable IntPtr. /// public virtual object Obj { get { return raw; } set { raw = value; } } } }