CalClientChangeType
typedef enum {
CAL_CLIENT_CHANGE_ADDED = 1 << 0,
CAL_CLIENT_CHANGE_MODIFIED = 1 << 1,
CAL_CLIENT_CHANGE_DELETED = 1 << 2
} CalClientChangeType;
cal_client_change_list_free
void
GList *list
CAL_CLIENT_TYPE
#define CAL_CLIENT_TYPE (cal_client_get_type ())
CAL_CLIENT
#define CAL_CLIENT(obj) (GTK_CHECK_CAST ((obj), CAL_CLIENT_TYPE, CalClient))
CAL_CLIENT_CLASS
#define CAL_CLIENT_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), CAL_CLIENT_TYPE, CalClientClass))
IS_CAL_CLIENT
#define IS_CAL_CLIENT(obj) (GTK_CHECK_TYPE ((obj), CAL_CLIENT_TYPE))
IS_CAL_CLIENT_CLASS
#define IS_CAL_CLIENT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), CAL_CLIENT_TYPE))
CalClient
CalClientClass
CalClientPrivate
CalClientLoadStatus
typedef enum {
CAL_CLIENT_LOAD_SUCCESS,
CAL_CLIENT_LOAD_ERROR,
CAL_CLIENT_LOAD_IN_USE,
CAL_CLIENT_LOAD_METHOD_NOT_SUPPORTED
} CalClientLoadStatus;
CalClientGetStatus
typedef enum {
CAL_CLIENT_GET_SUCCESS,
CAL_CLIENT_GET_NOT_FOUND,
CAL_CLIENT_GET_SYNTAX_ERROR
} CalClientGetStatus;
CalClient
struct CalClient {
GtkObject object;
/* Private data */
CalClientPrivate *priv;
};
CalClientClass
struct CalClientClass {
GtkObjectClass parent_class;
/* Notification signals */
void (* cal_loaded) (CalClient *client, CalClientLoadStatus status);
void (* obj_updated) (CalClient *client, const char *uid);
void (* obj_removed) (CalClient *client, const char *uid);
};
cal_client_get_type
GtkType
void
cal_client_construct
CalClient *
CalClient *client
cal_client_new
CalClient *
void
cal_client_load_calendar
gboolean
CalClient *client, const char *str_uri
cal_client_create_calendar
gboolean
CalClient *client, const char *str_uri
cal_client_is_loaded
gboolean
CalClient *client
cal_client_get_n_objects
int
CalClient *client, CalObjType type
cal_client_get_object
CalClientGetStatus
CalClient *client,const char *uid,CalComponent **comp
cal_client_get_uids
GList *
CalClient *client, CalObjType type
cal_client_get_changes
GList *
CalClient *client, CalObjType type, const char *change_id
cal_client_get_objects_in_range
GList *
CalClient *client, CalObjType type,time_t start, time_t end
cal_client_generate_instances
void
CalClient *client, CalObjType type,time_t start, time_t end,CalRecurInstanceFn cb, gpointer cb_data
cal_client_get_alarms_in_range
GSList *
CalClient *client, time_t start, time_t end
cal_client_free_alarms
void
GSList *comp_alarms
cal_client_get_alarms_for_object
gboolean
CalClient *client, const char *uid,time_t start, time_t end,CalComponentAlarms **alarms
cal_client_update_object
gboolean
CalClient *client, CalComponent *comp
cal_client_remove_object
gboolean
CalClient *client, const char *uid