Top | ![]() |
![]() |
![]() |
![]() |
ICalProperty *
i_cal_property_new (ICalPropertyKind kind
);
Create a ICalProperty of the target type.
Since 1.0
ICalProperty *
i_cal_property_new_clone (ICalProperty *prop
);
Deeply clone a ICalProperty.
Since 1.0
ICalProperty *
i_cal_property_new_from_string (const gchar *str
);
Create a ICalProperty from a string.
Since 1.0
const gchar *
i_cal_property_as_ical_string_r (ICalProperty *prop
);
Convert a ICalProperty to a string representation.
Since 1.0
void
i_cal_property_free (ICalProperty *prop
);
Free a ICalProperty.
Since 1.0
ICalPropertyKind
i_cal_property_isa (ICalProperty *property
);
Get the kind of ICalProperty.
Since 1.0
gint
i_cal_property_isa_property (ICalProperty *property
);
Check whether the native part of ICalProperty is of the type icalproperty.
Since 1.0
void i_cal_property_add_parameter (ICalProperty *prop
,ICalParameter *parameter
);
Add a ICalParameter into the ICalProperty. It behaves like set the copy of the ICalParameter. Upon completion the native part of ICalParameter will be set to NULL.
prop |
The ICalProperty to be set. |
|
parameter |
The parameter to be added into |
[transfer full] |
Since 1.0
void i_cal_property_set_parameter (ICalProperty *prop
,ICalParameter *parameter
);
Set a ICalParameter into the ICalProperty. It behaves like set the copy of the ICalParameter. Upon completion the native part of ICalParameter will be set to NULL.
prop |
The ICalProperty to be set. |
|
parameter |
The parameter to be set into |
[transfer full] |
Since 1.0
void i_cal_property_set_parameter_from_string (ICalProperty *prop
,const gchar *name
,const gchar *value
);
Set the ICalProperty with the parameter defined by the name and value.
prop |
The ICalProperty to be set. |
|
name |
The name of the parameter. |
|
value |
The value of the parameter. |
Since 1.0
gchar * i_cal_property_get_parameter_as_string_r (ICalProperty *prop
,const gchar *name
);
Get the string representation of the target parameter in the ICalProperty.
Since 1.0
void i_cal_property_remove_parameter (ICalProperty *prop
,ICalParameterKind kind
);
Remove the target kind of parameters in ICalProperty.
Since 1.0
void i_cal_property_remove_parameter_by_kind (ICalProperty *prop
,ICalParameterKind kind
);
Remove the target kind of the parameters in the ICalProperty.
Since 1.0
void i_cal_property_remove_parameter_by_name (ICalProperty *prop
,const gchar *name
);
Remove parameter in the ICalProperty by name.
Since 1.0
void i_cal_property_remove_parameter_by_ref (ICalProperty *prop
,ICalParameter *param
);
Remove the parameter in the ICalProperty by ref.
Since 1.0
gint
i_cal_property_count_parameters (const ICalProperty *prop
);
Count the parameters in the ICalProperty.
Since 1.0
ICalParameter * i_cal_property_get_first_parameter (ICalProperty *prop
,ICalParameterKind kind
);
Get the first ICalParameter from the parent ICalProperty.
prop |
The ICalProperty to be queried. |
|
kind |
The target kind of ICalParameter to be retrieved. |
Since 1.0
ICalParameter * i_cal_property_get_next_parameter (ICalProperty *prop
,ICalParameterKind kind
);
Get the next ICalParameter from the parent ICalProperty.
prop |
The ICalProperty to be queried. |
|
kind |
The target kind of ICalParameter to be retrieved. |
Since 1.0
void i_cal_property_set_value (ICalProperty *prop
,ICalValue *value
);
Set the ICalProperty with the ICalValue.
Since 1.0
void i_cal_property_set_value_from_string (ICalProperty *prop
,const gchar *value
,const gchar *kind
);
Set the ICalProperty with the ICalValue constructed from string.
prop |
The ICalProperty to be set. |
|
value |
The value used to construct the ICalValue. |
|
kind |
The kind used to construct the ICalValue. |
Since 1.0
ICalValue *
i_cal_property_get_value (const ICalProperty *prop
);
Get the ICalValue of ICalProperty.
Since 1.0
gchar *
i_cal_property_get_value_as_string_r (const ICalProperty *prop
);
Get the string representation of the value in ICalProperty.
Since 1.0
void i_cal_property_set_x_name (ICalProperty *prop
,const gchar *name
);
Set the name of x property for the ICalProperty.
Since 1.0
const gchar *
i_cal_property_get_x_name (ICalProperty *prop
);
Get the name of x property.
Since 1.0
gchar *
i_cal_property_get_property_name_r (const ICalProperty *prop
);
Get the property name of ICalProperty.
Since 1.0
ICalValueKind
i_cal_parameter_value_to_value_kind (ICalParameterValue value
);
Convert the ICalParameterValue to ICalValueKind.
Since 1.0
ICalValueKind
i_cal_property_kind_to_value_kind (ICalPropertyKind kind
);
Convert the ICalPropertyKind to ICalValueKind.
Since 1.0
ICalPropertyKind
i_cal_property_value_kind_to_kind (ICalValueKind kind
);
Convert a ICalValueKind to a ICalPropertyKind.
Since 1.0
const gchar *
i_cal_property_kind_to_string (ICalPropertyKind kind
);
Convert the ICalPropertyKind to a string.
Since 1.0
ICalPropertyKind
i_cal_property_string_to_kind (const gchar *string
);
Convert the string to ICalPropertyKind.
Since 1.0
gint
i_cal_property_kind_is_valid (const ICalPropertyKind kind
);
Check whether ICalPropertyKind is valid.
Since 1.0
ICalPropertyMethod
i_cal_property_string_to_method (const gchar *str
);
Convert the string to ICalPropertyKind.
Since 1.0
const gchar *
i_cal_property_method_to_string (ICalPropertyMethod method
);
Convert the ICalPropertyMethod to string.
Since 1.0
gchar *
i_cal_property_enum_to_string_r (gint e
);
Convert the enum to string.
Since 1.0
gint
i_cal_property_string_to_enum (const gchar *str
);
Convert the string to an enum.
Since 1.0
gint i_cal_property_kind_and_string_to_enum (const gint kind
,const gchar *str
);
Convert a integer and string into an enum.
Since 1.0
ICalPropertyStatus
i_cal_property_string_to_status (const gchar *str
);
Convert the string to ICalPropertyKind.
Since 1.0
const gchar *
i_cal_property_status_to_string (ICalPropertyStatus method
);
Convert the ICalPropertyStatus to string.
Since 1.0
gint i_cal_property_enum_belongs_to_property (ICalPropertyKind kind
,gint e
);
Check whether the enum belongs to the ICalPropertyKind.
Since 1.0