1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
// VCardAttribute.custom - Hand stitched implementation of problematic methods.
//
// Author: Veerapuram Varadhan <vvaradhan@novell.com>
//
// Copyright <c> 2007-2008 Novell, Inc.
//
// Additions to the VCardAttribute class.
[DllImport("ebook")]
static extern void e_vcard_attribute_add_param(IntPtr raw, IntPtr param);
[DllImport("ebook")]
static extern IntPtr e_vcard_attribute_param_copy(IntPtr raw);
public void AddParam(Evolution.VCardAttributeParam param) {
IntPtr raw_ret = IntPtr.Zero;
if (param != null)
raw_ret = e_vcard_attribute_param_copy (param.Handle);
e_vcard_attribute_add_param(Handle, raw_ret);
}
|