pilot-qof 0.2.3
|
00001 /*************************************************************************** 00002 * qof-datebook.h 00003 * 00004 * Thu Oct 21 15:38:58 2004 00005 * Copyright 2004-2007 Neil Williams 00006 * linux@codehelp.co.uk 00007 ****************************************************************************/ 00008 /* 00009 This program is free software; you can redistribute it and/or modify 00010 it under the terms of the GNU General Public License as published by 00011 the Free Software Foundation; either version 3 of the License, or 00012 (at your option) any later version. 00013 00014 This program is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 GNU General Public License for more details. 00018 00019 You should have received a copy of the GNU General Public License 00020 along with this program. If not, see <http://www.gnu.org/licenses/>. 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 /* _QOF_DATEBOOK_H */ 00095