// VCard.custom - Hand stitched implementation of problematic methods // // Author: Veerapuram Varadhan // // Copyright 2007-2008 Novell, Inc. // // Additions to the VCard class. [DllImport("ebook")] static extern void e_vcard_add_attribute(IntPtr raw, IntPtr attr); [DllImport("ebook")] static extern IntPtr e_vcard_attribute_copy(IntPtr raw); public void AddAttribute(Evolution.VCardAttribute attr) { IntPtr raw_ret = IntPtr.Zero; if (attr != null) raw_ret = e_vcard_attribute_copy (attr.Handle); e_vcard_add_attribute(Handle, raw_ret); }