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
CalClientOpenStatus
typedef enum {
CAL_CLIENT_OPEN_SUCCESS,
CAL_CLIENT_OPEN_ERROR,
CAL_CLIENT_OPEN_NOT_FOUND,
CAL_CLIENT_OPEN_METHOD_NOT_SUPPORTED
} CalClientOpenStatus;
CalClientGetStatus
typedef enum {
CAL_CLIENT_GET_SUCCESS,
CAL_CLIENT_GET_NOT_FOUND,
CAL_CLIENT_GET_SYNTAX_ERROR
} CalClientGetStatus;
CalClientLoadState
typedef enum {
CAL_CLIENT_LOAD_NOT_LOADED,
CAL_CLIENT_LOAD_LOADING,
CAL_CLIENT_LOAD_LOADED
} CalClientLoadState;
CalClient
struct CalClient {
GtkObject object;
/* Private data */
CalClientPrivate *priv;
};
cal_client_get_type
GtkType
void
cal_client_construct
CalClient *
CalClient *client
cal_client_new
CalClient *
void
cal_client_open_calendar
gboolean
CalClient *client, const char *str_uri, gboolean only_if_exists
cal_client_get_load_state
CalClientLoadState
CalClient *client
cal_client_get_uri
const char *
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
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