JanaEcalEvent

JanaEcalEvent — An implementation of JanaEvent using libecal

Synopsis

struct              JanaEcalEvent;
JanaEvent *         jana_ecal_event_new                 ();
JanaEvent *         jana_ecal_event_new_from_ecalcomp   (ECalComponent *event);

Object Hierarchy

  GObject
   +----JanaEcalComponent
         +----JanaEcalEvent

Implemented Interfaces

JanaEcalEvent implements JanaComponent and JanaEvent.

Description

JanaEcalEvent is an implementation of JanaEvent that provides a wrapper over ECalComponent and its event-related functions, using libecal.

Details

struct JanaEcalEvent

struct JanaEcalEvent;

The JanaEcalEvent struct contains only private data.


jana_ecal_event_new ()

JanaEvent *         jana_ecal_event_new                 ();

Creates a new JanaEcalEvent.

Returns :

A new JanaEcalEvent.

jana_ecal_event_new_from_ecalcomp ()

JanaEvent *         jana_ecal_event_new_from_ecalcomp   (ECalComponent *event);

Creates a new JanaEcalEvent based on the given ECalComponent. The type of the given ECalComponent must be E_CAL_COMPONENT_EVENT. See e_cal_component_get_vtype().

event :

An ECalComponent

Returns :

A new JanaEcalEvent that wraps the given ECalComponent, cast as a JanaEvent.