00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00040 #ifndef _QOF_DATEBOOK_H
00041 #define _QOF_DATEBOOK_H
00042
00043 #include "pi-datebook.h"
00044
00048 #define DATEBOOK_VERSION datebook_v1
00049 #define PILOT_LINK_QOF_DATEBOOK "pilot_datebook"
00050 #define QOF_DATEBOOK_DESC "Pilot-link QOF datebook"
00051 #define DATEBOOK_DESCRIPTION "description"
00052 #define DATEBOOK_DURATION "duration_hours"
00053
00062 #define DATEBOOK_REPEATER "transient_repeat"
00063
00064 #define DATEBOOK_KVP_PATH "datebook/exceptions"
00065 #define DATEBOOK_EVENT "untimed_event"
00066 #define DATEBOOK_BEGIN "start_time"
00067 #define DATEBOOK_END "end_time"
00068 #define DATEBOOK_ALARM "use_alarm"
00069 #define DATEBOOK_ADVANCE "alarm_advance"
00070 #define DATEBOOK_ADV_UNIT "advance_unit"
00071 #define DATEBOOK_REPEAT_TYPE "repeat_type"
00072
00076 #define DATEBOOK_REPEAT_FOREVER "repeat_forever"
00077 #define DATEBOOK_REPEAT_END "repeat_end"
00078 #define DATEBOOK_REPEAT_FREQUENCY "repeat_frequency"
00079 #define DATEBOOK_REPEAT_DAY "repeat_day"
00080 #define DATEBOOK_REPEAT_WEEK_START "repeat_week_start"
00081 #define DATEBOOK_EXCEPTIONS "exception_count"
00082 #define DATEBOOK_EXCEPTION "exception_list"
00083 #define DATEBOOK_NOTE "note"
00084 #define DATEBOOK_CATEGORY "category"
00085
00087 gboolean DateBookRegister (void);
00088
00089 Appointment_t * datebook_get_pilot (QofInstance * inst);
00090
00091 void
00092 datebook_repeater_clone (QofEntity * obj, QofTime * qt_end, QofTime * qt_increment);
00093
00094 #endif
00095