From e90aa50001b8014497651628666455ab5c12c7b0 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 19 Dec 2000 18:13:34 +0000 Subject: Added proper dependency lists to the gtk-doc mess. 2000-12-19 Federico Mena Quintero Added proper dependency lists to the gtk-doc mess. * calendar/cal-client/Makefile.am (TARGET_DIR): Removed unused variable. (SOURCE_FILES): New variable with the list of source files we depend on. (IGNORED_SOURCE_HEADERS): New variable with the headers we ignore for the gtkdoc-scan phase. (scan_generated): (tmpl_dependencies): (tmpl_sources): (tmpl_generated); (sgml_dependencies): (sgml_generated): Lists of stuff that is generated and that other stuff depends on. (all): Added the $(sgml_generated) as the final target. (install-data-local): Added an installation hook; gtk-doc seems to want some of its generated files to be installed. * calendar/cal-client/evolution-cal-client-sections.txt: Updated. * calendar/cal-util/Makefile.am: Made the same changes as for calendar/cal-client/Makefile.am. * calendar/cal-util/evolution-cal-util-sections.txt: Updated. * Makefile.am (local_entities): Added alarm-generation.sgml. (all): Made the main target be the html/index.html. svn path=/trunk/; revision=7084 --- .../calendar/cal-util/evolution-cal-util-decl.txt | 320 +++++++-------------- 1 file changed, 109 insertions(+), 211 deletions(-) (limited to 'help/devel/calendar/cal-util/evolution-cal-util-decl.txt') diff --git a/help/devel/calendar/cal-util/evolution-cal-util-decl.txt b/help/devel/calendar/cal-util/evolution-cal-util-decl.txt index eb108b868f..f190d325fc 100644 --- a/help/devel/calendar/cal-util/evolution-cal-util-decl.txt +++ b/help/devel/calendar/cal-util/evolution-cal-util-decl.txt @@ -114,9 +114,6 @@ typedef enum { } CalComponentTransparency; -CalComponentAlarm - - CalComponent @@ -305,16 +302,36 @@ CalComponent *comp, GSList **exdate_list CalComponent *comp, GSList *exdate_list +cal_component_has_exdates +gboolean +CalComponent *comp + + cal_component_get_exrule_list void CalComponent *comp, GSList **recur_list +cal_component_get_exrule_property_list +void +CalComponent *comp, GSList **recur_list + + cal_component_set_exrule_list void CalComponent *comp, GSList *recur_list +cal_component_has_exrules +gboolean +CalComponent *comp + + +cal_component_has_exceptions +gboolean +CalComponent *comp + + cal_component_get_geo void CalComponent *comp, struct icalgeotype **geo @@ -375,6 +392,11 @@ CalComponent *comp CalComponent *comp, GSList **recur_list +cal_component_get_rrule_property_list +void +CalComponent *comp, GSList **recur_list + + cal_component_set_rrule_list void CalComponent *comp, GSList *recur_list @@ -385,6 +407,11 @@ CalComponent *comp, GSList *recur_list CalComponent *comp +cal_component_has_recurrences +gboolean +CalComponent *comp + + cal_component_get_sequence void CalComponent *comp, int **sequence @@ -395,6 +422,16 @@ CalComponent *comp, int **sequence CalComponent *comp, int *sequence +cal_component_get_status +void +CalComponent *comp, icalproperty_status *status + + +cal_component_set_status +void +CalComponent *comp, icalproperty_status status + + cal_component_get_summary void CalComponent *comp, CalComponentText *summary @@ -425,26 +462,6 @@ CalComponent *comp, const char **url CalComponent *comp, const char *url -cal_component_get_pilot_id -void -CalComponent *comp, unsigned long *pilot_id - - -cal_component_set_pilot_id -void -CalComponent *comp, unsigned long pilot_id - - -cal_component_get_pilot_status -void -CalComponent *comp, unsigned long *pilot_status - - -cal_component_set_pilot_status -void -CalComponent *comp, unsigned long pilot_status - - cal_component_free_categories_list void GSList *categ_list @@ -499,167 +516,119 @@ int *sequence void GSList *text_list + +CalComponentAlarm + + +CalAlarmInstance +typedef struct { + /* UID of the alarm that triggered */ + const char *auid; + + /* Trigger time, i.e. "5 minutes before the appointment" */ + time_t trigger; + + /* Actual event occurrence to which this trigger corresponds */ + time_t occur; +} CalAlarmInstance; + + +CalComponentAlarms +typedef struct { + /* The actual component */ + CalComponent *comp; + + /* List of CalAlarmInstance structures */ + GSList *alarms; +} CalComponentAlarms; + -CalComponentAlarmAction -typedef enum { - CAL_COMPONENT_ALARM_NONE, - CAL_COMPONENT_ALARM_AUDIO, - CAL_COMPONENT_ALARM_DISPLAY, - CAL_COMPONENT_ALARM_EMAIL, - CAL_COMPONENT_ALARM_PROCEDURE, - CAL_COMPONENT_ALARM_UNKNOWN -} CalComponentAlarmAction; - - -CalComponentAlarmTriggerType +CalAlarmAction typedef enum { - CAL_COMPONENT_ALARM_TRIGGER_RELATIVE, - CAL_COMPONENT_ALARM_TRIGGER_ABSOLUTE -} CalComponentAlarmTriggerType; + CAL_ALARM_NONE, + CAL_ALARM_AUDIO, + CAL_ALARM_DISPLAY, + CAL_ALARM_EMAIL, + CAL_ALARM_PROCEDURE, + CAL_ALARM_UNKNOWN +} CalAlarmAction; -CalComponentAlarmTriggerRelated +CalAlarmTriggerType typedef enum { - CAL_COMPONENT_ALARM_TRIGGER_RELATED_START, - CAL_COMPONENT_ALARM_TRIGGER_RELATED_END -} CalComponentAlarmTriggerRelated; + CAL_ALARM_TRIGGER_NONE, + CAL_ALARM_TRIGGER_RELATIVE_START, + CAL_ALARM_TRIGGER_RELATIVE_END, + CAL_ALARM_TRIGGER_ABSOLUTE +} CalAlarmTriggerType; -CalComponentAlarmTrigger +CalAlarmTrigger typedef struct { - CalComponentAlarmTriggerType type; + CalAlarmTriggerType type; union { - struct { - struct icaldurationtype duration; - CalComponentAlarmTriggerRelated related; - } relative; - - struct icaltimetype absolute; + struct icaldurationtype rel_duration; + struct icaltimetype abs_time; } u; -} CalComponentAlarmTrigger; +} CalAlarmTrigger; -cal_component_get_first_alarm -CalComponentAlarm * +cal_component_has_alarms +gboolean CalComponent *comp -cal_component_get_next_alarm -CalComponentAlarm * +cal_component_get_alarm_uids +GList * CalComponent *comp +cal_component_get_alarm +CalComponentAlarm * +CalComponent *comp, const char *auid + + cal_component_alarm_free void CalComponentAlarm *alarm +cal_component_alarms_free +void +CalComponentAlarms *alarms + + +cal_component_alarm_get_uid +const char * +CalComponentAlarm *alarm + + cal_component_alarm_get_action void -CalComponentAlarm *alarm, CalComponentAlarmAction *action +CalComponentAlarm *alarm, CalAlarmAction *action cal_component_alarm_set_action void -CalComponentAlarm *alarm, CalComponentAlarmAction action +CalComponentAlarm *alarm, CalAlarmAction action cal_component_alarm_get_trigger void -CalComponentAlarm *alarm, CalComponentAlarmTrigger **trigger +CalComponentAlarm *alarm, CalAlarmTrigger *trigger cal_component_alarm_set_trigger void -CalComponentAlarm *alarm, CalComponentAlarmTrigger *trigger - - -cal_component_alarm_free_trigger -void -CalComponentAlarmTrigger *trigger +CalComponentAlarm *alarm, CalAlarmTrigger trigger - -CalRecurType -typedef enum { - CAL_RECUR_YEARLY, - CAL_RECUR_MONTHLY, - CAL_RECUR_WEEKLY, - CAL_RECUR_DAILY, - CAL_RECUR_HOURLY, - CAL_RECUR_MINUTELY, - CAL_RECUR_SECONDLY -} CalRecurType; - - -CalRecurrence -typedef struct { - CalRecurType type; - - int interval; - - /* Specifies the end of the recurrence. No occurrences are generated - after this date. If it is 0, the event recurs forever. */ - time_t enddate; - - /* WKST property - the week start day: 0 = Monday to 6 = Sunday. */ - gint week_start_day; - - - /* NOTE: I've used GList's here, but it doesn't matter if we use - other data structures like arrays. The code should be easy to - change. So long as it is easy to see if the modifier is set. */ - - /* For BYMONTH modifier. A list of GINT_TO_POINTERs, 0-11. */ - GList *bymonth; - - /* For BYWEEKNO modifier. A list of GINT_TO_POINTERs, [+-]1-53. */ - GList *byweekno; - - /* For BYYEARDAY modifier. A list of GINT_TO_POINTERs, [+-]1-366. */ - GList *byyearday; - - /* For BYMONTHDAY modifier. A list of GINT_TO_POINTERs, [+-]1-31. */ - GList *bymonthday; - - /* For BYDAY modifier. A list of GINT_TO_POINTERs, in pairs. - The first of each pair is the weekday, 0 = Monday to 6 = Sunday. - The second of each pair is the week number [+-]0-53. */ - GList *byday; - - /* For BYHOUR modifier. A list of GINT_TO_POINTERs, 0-23. */ - GList *byhour; - - /* For BYMINUTE modifier. A list of GINT_TO_POINTERs, 0-59. */ - GList *byminute; - - /* For BYSECOND modifier. A list of GINT_TO_POINTERs, 0-60. */ - GList *bysecond; - - /* For BYSETPOS modifier. A list of GINT_TO_POINTERs, +ve or -ve. */ - GList *bysetpos; -} CalRecurrence; - - -CalObjTime - - -CalObjTime -struct CalObjTime { - guint16 year; - guint8 month; /* 0 - 11 */ - guint8 day; /* 1 - 31 */ - guint8 hour; /* 0 - 23 */ - guint8 minute; /* 0 - 59 */ - guint8 second; /* 0 - 59 (maybe 60 for leap second) */ -}; - CalRecurInstanceFn gboolean CalComponent *comp, time_t instance_start, - time_t instace_end, + time_t instance_end, gpointer data @@ -667,16 +636,6 @@ CalComponent *comp, void CalComponent *comp,time_t start,time_t end,CalRecurInstanceFn cb,gpointer cb_data - -cal_recur_from_icalrecurrencetype -CalRecurrence * -struct icalrecurrencetype *ir - - -cal_recur_free -void -CalRecurrence *r - CalObjInstance typedef struct { @@ -690,22 +649,6 @@ typedef struct { void GList *list - -CalAlarmInstance -typedef struct { - char *uid; /* UID of object */ -#if 0 - enum AlarmType type; /* Type of alarm */ -#endif - time_t trigger; /* Alarm trigger time */ - time_t occur; /* Occurrence time */ -} CalAlarmInstance; - - -cal_alarm_instance_list_free -void -GList *list - CalObjType typedef enum { @@ -721,41 +664,11 @@ typedef enum { GList *list -time_from_icaltimetype -time_t -struct icaltimetype itt - - -time_from_isodate -time_t -char *str - - -time_from_start_duration -time_t -time_t start, char *duration - - isodate_from_time_t char * time_t t -get_time_t_hour -int -time_t t - - -isodiff_to_secs -int -char *str - - -isodiff_from_secs -char * -int secs - - time_add_minutes time_t time_t time, int minutes @@ -781,11 +694,6 @@ time_t time, int months time_t time, int years -format_simple_hour -char * -int hour, int use_am_pm - - time_days_in_month int int year, int month @@ -796,11 +704,6 @@ int year, int month int year, int month, int day -time_day_hour -time_t -time_t t, int hour - - time_year_begin time_t time_t t @@ -841,11 +744,6 @@ time_t t time_t t -parse_date -time_t -char *str - - print_time_t void time_t t -- cgit v1.2.3