Top | ![]() |
![]() |
![]() |
![]() |
ECalComponentAttendee *
e_cal_component_attendee_new (void
);
Creates a new empty ECalComponentAttendee structure. Free it
with e_cal_component_attendee_free()
, when no longer needed.
Since: 3.34
ECalComponentAttendee * e_cal_component_attendee_new_full (const gchar *value
,const gchar *member
,ICalParameterCutype cutype
,ICalParameterRole role
,ICalParameterPartstat partstat
,gboolean rsvp
,const gchar *delegatedfrom
,const gchar *delegatedto
,const gchar *sentby
,const gchar *cn
,const gchar *language
);
Creates a new ECalComponentAttendee structure, with all members filled
with given values from the parameters. The NULL
and empty strings are
treated as unset the value. Free the structure
with e_cal_component_attendee_free()
, when no longer needed.
value |
usually a "mailto:email" of the attendee. |
[nullable] |
member |
member parameter. |
[nullable] |
cutype |
type of the attendee, an ICalParameterCutype |
|
role |
role of the attendee, an ICalParameterRole |
|
partstat |
current status of the attendee, an ICalParameterPartstat |
|
rsvp |
whether requires RSVP |
|
delegatedfrom |
delegated from. |
[nullable] |
delegatedto |
delegated to. |
[nullable] |
sentby |
sent by. |
[nullable] |
cn |
common name. |
[nullable] |
language |
language. |
[nullable] |
Since: 3.34
ECalComponentAttendee *
e_cal_component_attendee_new_from_property
(const ICalProperty *property
);
Creates a new ECalComponentAttendee, filled with values from property
,
which should be of kind I_CAL_ATTENDEE_PROPERTY
. The function returns
NULL
when it is not of the expected kind. Free the structure
with e_cal_component_attendee_free()
, when no longer needed.
Since: 3.34
ECalComponentAttendee *
e_cal_component_attendee_copy (const ECalComponentAttendee *attendee
);
Returns a newly allocated copy of attendee
, which should be freed with
e_cal_component_attendee_free()
, when no longer needed.
Since: 3.34
void
e_cal_component_attendee_free (gpointer attendee
);
Free attendee
, previously created by e_cal_component_attendee_new()
,
e_cal_component_attendee_new_full()
, e_cal_component_attendee_new_from_property()
or e_cal_component_attendee_copy()
. The function does nothing, if attendee
is NULL
.
[skip]
Since: 3.34
void e_cal_component_attendee_set_from_property (ECalComponentAttendee *attendee
,const ICalProperty *property
);
Fill the attendee
structure with the information from
the property
, which should be of I_CAL_ATTENDEE_PROPERTY
kind.
Since: 3.34
ICalProperty *
e_cal_component_attendee_get_as_property
(const ECalComponentAttendee *attendee
);
Converts information stored in attendee
into an ICalProperty
of I_CAL_ATTENDEE_PROPERTY
kind. The caller is responsible to free
the returned object with g_object_unref()
, when no longer needed.
Since: 3.34
void e_cal_component_attendee_fill_property (const ECalComponentAttendee *attendee
,ICalProperty *property
);
Fill property
with information from attendee
. The property
should be of kind I_CAL_ATTENDEE_PROPERTY
.
Since: 3.34
const gchar *
e_cal_component_attendee_get_value (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_value (ECalComponentAttendee *attendee
,const gchar *value
);
Set the attendee
URI, usually of "mailto:email" form. The NULL
and empty strings are treated as unset the value.
Since: 3.34
const gchar *
e_cal_component_attendee_get_member (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_member (ECalComponentAttendee *attendee
,const gchar *member
);
Set the attendee
member parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
ICalParameterCutype
e_cal_component_attendee_get_cutype (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_cutype (ECalComponentAttendee *attendee
,ICalParameterCutype cutype
);
Set the attendee
type, as an ICalParameterCutype.
Since: 3.34
ICalParameterRole
e_cal_component_attendee_get_role (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_role (ECalComponentAttendee *attendee
,ICalParameterRole role
);
Set the attendee
role, as an ICalParameterRole.
Since: 3.34
ICalParameterPartstat
e_cal_component_attendee_get_partstat (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_partstat (ECalComponentAttendee *attendee
,ICalParameterPartstat partstat
);
Set the attendee
status, as an ICalParameterPartstat.
Since: 3.34
gboolean
e_cal_component_attendee_get_rsvp (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_rsvp (ECalComponentAttendee *attendee
,gboolean rsvp
);
Set the attendee
RSVP.
Since: 3.34
const gchar *
e_cal_component_attendee_get_delegatedfrom
(const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_delegatedfrom (ECalComponentAttendee *attendee
,const gchar *delegatedfrom
);
Set the attendee
delegatedfrom parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
const gchar *
e_cal_component_attendee_get_delegatedto
(const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_delegatedto (ECalComponentAttendee *attendee
,const gchar *delegatedto
);
Set the attendee
delegatedto parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
const gchar *
e_cal_component_attendee_get_sentby (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_sentby (ECalComponentAttendee *attendee
,const gchar *sentby
);
Set the attendee
sentby parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
const gchar *
e_cal_component_attendee_get_cn (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_cn (ECalComponentAttendee *attendee
,const gchar *cn
);
Set the attendee
common name (cn) parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
const gchar *
e_cal_component_attendee_get_language (const ECalComponentAttendee *attendee
);
Since: 3.34
void e_cal_component_attendee_set_language (ECalComponentAttendee *attendee
,const gchar *language
);
Set the attendee
language parameter. The NULL
and empty strings are treated as unset the value.
Since: 3.34
ECalComponentParameterBag *
e_cal_component_attendee_get_parameter_bag
(const ECalComponentAttendee *attendee
);
an ECalComponentParameterBag with additional
parameters stored with the attendee property, other than those accessible
with the other functions of the attendee
.
[transfer none]
Since: 3.34