| libjana-ecal Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
struct JanaEcalComponent; JanaComponent * jana_ecal_component_new_from_ecalcomp (ECalComponent *component); gchar * jana_ecal_component_get_summary (JanaEcalComponent *self); gchar * jana_ecal_component_get_description (JanaEcalComponent *self); gchar * jana_ecal_component_get_location (JanaEcalComponent *self); JanaTime * jana_ecal_component_get_start (JanaEcalComponent *self); JanaTime * jana_ecal_component_get_end (JanaEcalComponent *self); void jana_ecal_component_set_summary (JanaEcalComponent *self,const gchar *summary); void jana_ecal_component_set_description (JanaEcalComponent *self,const gchar *description); void jana_ecal_component_set_location (JanaEcalComponent *self,const gchar *location); void jana_ecal_component_set_start (JanaEcalComponent *self,JanaTime *start); void jana_ecal_component_set_end (JanaEcalComponent *self,JanaTime *end);
JanaEcalComponent is an implementation of JanaComponent that provides a wrapper over ECalComponent, using libecal.
struct JanaEcalComponent;
The JanaEcalComponent struct contains only private data.
JanaComponent * jana_ecal_component_new_from_ecalcomp
(ECalComponent *component);
Creates a new JanaEcalComponent from an ECalComponent.
|
An ECalComponent |
Returns : |
A new JanaEcalComponent that wraps the given ECalComponent, cast as a JanaComponent. |
gchar * jana_ecal_component_get_summary (JanaEcalComponent *self);
Retrieves the summary from the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
Returns : |
A newly allocated string with the summary from the underlying
ECalComponent, or NULL. |
gchar * jana_ecal_component_get_description (JanaEcalComponent *self);
Retrieves the first description from the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
Returns : |
A newly allocated string with the first description from the
underlying ECalComponent, or NULL. |
gchar * jana_ecal_component_get_location (JanaEcalComponent *self);
Retrieves the location from the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
Returns : |
A newly allocated string with the location from the
underlying ECalComponent, or NULL. |
JanaTime * jana_ecal_component_get_start (JanaEcalComponent *self);
Retrieves the dtstart of the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
Returns : |
A JanaTime representing the dtstart of the underlying
ECalComponent, or NULL. |
JanaTime * jana_ecal_component_get_end (JanaEcalComponent *self);
Retrieves the dtend of the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
Returns : |
A JanaTime representing the dtend of the underlying
ECalComponent, or NULL. |
void jana_ecal_component_set_summary (JanaEcalComponent *self,const gchar *summary);
Sets the summary on the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
|
A UTF-8 string |
void jana_ecal_component_set_description (JanaEcalComponent *self,const gchar *description);
Sets the description on the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
|
A UTF-8 string |
void jana_ecal_component_set_location (JanaEcalComponent *self,const gchar *location);
Sets the location on the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
|
A UTF-8 string |
void jana_ecal_component_set_start (JanaEcalComponent *self,JanaTime *start);
Sets the dtstart on the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
|
A JanaTime |
void jana_ecal_component_set_end (JanaEcalComponent *self,JanaTime *end);
Sets the dtend on the underlying ECalComponent. This function is intended for using only when extending JanaEcalComponent.
|
A JanaEcalComponent |
|
A JanaTime |