calIcalComponent::AddProperty(PRInt32 kind, calIIcalProperty **prop)
calIcalComponent::AddProperty(calIIcalProperty *prop)
calIcalComponent::AddProperty(PRInt32 kind, calIIcalProperty **prop){    icalproperty *icalprop = icalproperty_new((icalproperty_kind)kind);    if (!icalprop)        return NS_ERROR_OUT_OF_MEMORY; // XXX translate    *prop = new calIcalProperty(icalprop, this);    if (!*prop)        return NS_ERROR_OUT_OF_MEMORY;    NS_ADDREF(*prop);    return NS_OK;}