API Guide Home
(Online version only)

DatebookLibCommon.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  *
00003  * Copyright (c) 2005 Palm, Inc. or its subsidiaries.
00004  * All rights reserved.
00005  *
00006  * File:            DateBookLibCommon.h
00007  *
00008  * Description:         
00009  *
00010  * History:         08/02/2005  Created by Scott Silverman
00011  *
00012  *   Name    Date        Description
00013  *
00014  *****************************************************************************/
00015 
00016 #ifndef DATEBOOK_LIB_COMMON_H
00017 #define DATEBOOK_LIB_COMMON_H
00018 
00019 #include <PalmTypes.h>
00020 #include <Form.h>
00021 #include <Find.h>
00022 #include <PdiLib.h>
00023 
00024 #include <Common/Libraries/locs/LocsLibCommon.h>
00025 //#include <palmOne_68KInt.h>
00026 
00027 
00028 // Type and creator of P1cl Library 
00029 #define P1clLibCreatorID                'P1CL'
00030 #define P1clTypeID                      sysFileTLibrary
00031 #define P1clLibName                     "CalendarLib-P1CL"
00032 
00033 
00034 //  SDS -   First initial release           0x0100
00035 //  SDS -   Bug Fix release for 2005.1      0x0101
00036 //  SDS -   
00037 #define     P1cl_CURRENT_VERSION            0x0200
00038 
00039 
00040 #define apptMaxTimeZoneNameLen              kLocNameMaxLength
00041 #define SysNotifyPIMRecordChange            'pmdb'      // notifyType that one of the PIM dbs changed
00042 
00043 
00044 /********************************************************************
00045  * Error codes
00046  ********************************************************************/
00047 #define P1clErrorClass                  (appErrorClass |0x7000)
00048 #define P1clErrTooManyClients           (P1clErrorClass | 1)    //No More client can open the lib
00049 #define P1clErrInvalidHandle            (P1clErrorClass | 2)
00050 #define P1clErrInvalidParam             (P1clErrorClass | 3)    
00051 #define P1clErrUIdNotFound              (P1clErrorClass | 4)    
00052 #define P1clErrCategoryNotFound         (P1clErrorClass | 5)    
00053 #define P1clErrAlreadyInUse             (P1clErrorClass | 6)    
00054 #define P1clErrVerNotSupported          (P1clErrorClass | 7)    
00055 #define P1clErrOutOfMemory              (P1clErrorClass | 8)    
00056 #define P1clErrSizeParamOverFlow        (P1clErrorClass | 9)    
00057 #define P1clErrEmptyDateBook            (P1clErrorClass | 10)   
00058 #define P1clErrAlarmDoesNotExist        (P1clErrorClass | 11)   
00059 #define P1clErrRepeatInfoDoesNotExist   (P1clErrorClass | 12)
00060 #define P1clErrDescDoesNotExist         (P1clErrorClass | 13)
00061 #define P1clErrNoteDoesNotExist         (P1clErrorClass | 14)
00062 #define P1clErrInvalidReference         (P1clErrorClass | 15)
00063 #define P1clErrApptNotFound             (P1clErrorClass | 16)
00064 #define P1clErrAttachAlreadyExist       (P1clErrorClass | 17)       //Attachment cannot be added it already exist in the record.
00065 #define P1clErrAttachNotExist           (P1clErrorClass | 18)       
00066 #define P1clErrAttachOverFlow           (P1clErrorClass | 19)       
00067 #define P1clErrRecordNotFound           (P1clErrorClass | 21)       
00068 #define P1clErrAttachOverflow           (P1clErrorClass | 22)       
00069 #define P1clErrInvalidField             (P1clErrorClass | 23)   
00070 #define P1clErrNoDateTime               (P1clErrorClass | 24)   
00071 #define P1clErrLibAlreadyInUse          (P1clErrorClass | 25)   
00072 #define P1clErrTooManySession           (P1clErrorClass | 26)   
00073 #define P1clErrAlreadyInWriteMode       (P1clErrorClass | 27)   //User have requested to create Session in ReadWriteMode but it is already open.
00074 #define P1clErrInvalidSession           (P1clErrorClass | 28)   
00075 #define P1clErrInvalidAtrib             (P1clErrorClass | 29)   
00076 #define P1clErrFieldNotFound            (P1clErrorClass | 30)
00077 #define P1clErrStringNotFound           (P1clErrorClass | 31)
00078 #define P1clErrInvalidAppInfoBlock      (P1clErrorClass | 32)
00079 #define P1clErrAppInfoIsMising          (P1clErrorClass | 33)
00080 #define P1clErrReadOnlySession          (P1clErrorClass | 34)
00081 #define P1clErrUIdExist                 (P1clErrorClass | 35)
00082 #define P1clErrMaxLimitReached          (P1clErrorClass | 36)
00083 #define P1clErrListNotExist             (P1clErrorClass | 37)
00084 #define P1clErrApptNotLocked            (P1clErrorClass | 38)
00085 #define P1clErrApptBusy                 (P1clErrorClass | 39)
00086 #define P1clErrEmptyAppt                (P1clErrorClass | 40)
00087 #define P1clErrFieldNotExist            (P1clErrorClass | 41)
00088 #define P1clErrRepeatTypeDoesNotExist   (P1clErrorClass | 42)
00089 #define P1clErrAttendeeNotFound         (P1clErrorClass | 43)
00090 #define P1clErrAttendeeOutofLimit       (P1clErrorClass | 44)       
00091 #define P1clErrLibStillOpen             (P1clErrorClass | 45)
00092 #define P1clErrFailedToEmptyDatabase    (P1clErrorClass | 46)
00093 
00094 
00095 typedef struct  
00096 {
00097     UInt8       Action;                     //Action can be ADD/Delete/Update
00098     UInt32      RecordUId;                  //UID of the Record that is effected
00099     UInt16      RecordIndex;                //Index of the record after that all the records are effeced.
00100     UInt32      CreatorId;                  //Creator Id of the caller application.
00101 }   P1clRecordDetails;
00102 
00103 typedef P1clRecordDetails * P1clRecordDetailsPtr;
00104 
00105 
00106 enum _P1clListFieldType
00107 {
00108     P1clListStartTime,
00109     P1clListEndTime,
00110     P1clListStartSec,
00111     P1clListEndSec, 
00112     P1clListStartedDayBefore,
00113     P1clListContinuesOnNextDay,
00114     P1clListRepeatsDaily,
00115     P1clListIsFirstOccurrence,
00116     P1clListIsLastOccurrence,
00117     P1clListUId,
00118     P1clListIndex
00119 };
00120 
00121 typedef UInt8 P1clListFieldType;
00122 
00123 
00124 enum _P1clTimeZoneType
00125 {
00126     P1clDeviceTimeZone,     //Current Time Zone of the Device 
00127     P1clEventTimeZone       //Time zone of the Event. I.e. Time zone of the event when it was created/updated.
00128 };
00129 
00130 typedef UInt8 P1clTimeZoneType;
00131 
00132 
00133 enum _P1clActionType
00134 {
00135     P1clAdd, 
00136     P1clUpdate, 
00137     P1clDelete
00138 };
00139 
00140 typedef UInt8 P1clActionType;
00141 
00142 
00143 enum _P1clAlarmUnitType
00144 {
00145     P1clMinutes, 
00146     P1clHours, 
00147     P1clDays
00148 };
00149 
00150 typedef UInt8 P1clAlarmUnitType;
00151 
00152 
00153 enum _P1clRepeatTypes
00154 {
00155     P1clrepeatNone, 
00156     P1clrepeatDaily, 
00157     P1clrepeatWeekly, 
00158     P1clrepeatMonthlyByDay, 
00159     P1clrepeatMonthlyByDate,
00160     P1clrepeatYearly
00161 };
00162 
00163 typedef UInt8 P1clRepeatTypes;
00164 
00165 
00166 enum _P1clFieldsTypes
00167 {
00168     P1clStartTime,
00169     P1clEndTime,
00170     P1clDateOfAppt,
00171     P1clrepeatEndDate,
00172     P1clrepeatFreq,
00173     P1clrepeatOn,
00174     P1clrepeatStartofWeek,
00175     P1clrepeatType,
00176     P1clalarmAdvance,
00177     P1clalarmUnit,
00178     P1clNote,
00179     P1clDescription,
00180     P1clLocation,
00181     P1clExceptionDate,
00182     P1clNumOfAttendee,
00183     P1clStartDateTimeOfAppt,                    //Date and time of the appointment in Sec elapsed from 12:00AM Jan 1, 1904
00184     P1clUID,                            //Place for the attributes These will be after P1ctaddressFieldsCount
00185     P1clIndex,
00186     P1clCategory,
00187     P1clColor,
00188     P1clPrivate,
00189     P1clBusy,
00190     P1clDirty,
00191     P1clTzuTC,
00192     P1clTzdSTStart,
00193     P1clTzdSTEnd,       
00194     P1clTzdSTAdjustmentInMinutes,
00195     P1clTzCountry,
00196     P1clTzcustom,
00197     P1clTzLocName,
00198     P1clApptStatus,
00199     P1clMaxCategoryLength,
00200     P1clNumFields
00201 };
00202 
00203 typedef UInt8 P1clFieldTypes;
00204 
00205 
00206 enum _P1clDeleteType
00207 {
00208     P1clNoType,                     //This will be true if the Appointment is non Repeat event
00209     P1clDeleteCurrent,              //This will indicate delete of the event for the current date(Date passed as param to the P1clDeleteAppt)
00210     P1clDeleteCurrentFuture,        //It will indicate the delete of all the future event of the Repeating event 
00211     P1clDeleteAll,                  //It will indicate the delete of all the event of the Repeating event 
00212     P1clRemoveAll                   //It will Remove the record from the DB same as DmRemoveRecord ()
00213     
00214 };
00215 
00216 typedef UInt8 P1clDeleteType;
00217 
00218 
00219 enum _P1clAttachType
00220 {
00221     P1clCreatorIDType,
00222     P1clBlobSizeType,
00223     P1clDataBlobType    
00224 };
00225 
00226 typedef UInt8 AttachType;
00227 
00228 
00229 enum _P1clAttendeeRoleType
00230 {
00231     P1cloriginator,                 // The person who set up the meeting.
00232     P1clrequiredAttendee,           // An attendee that the originator feels is required.
00233     P1cloptionalAttendee
00234 };
00235 
00236 typedef UInt8 P1clAttendeeRoleType;
00237 
00238 
00239 enum _P1clAttendeeFieldType
00240 {
00241     P1clAttendeeRole,           // The person who set up the meeting.
00242     P1clAttendeeName,           // An attendee that the originator feels is required.
00243     P1clAttendeeEmail
00244 };
00245 
00246 typedef UInt8 P1clAttendeeFieldType;
00247 
00248 
00249 enum _P1clTxnEntry
00250 {
00251     P1clNewEntry,
00252     P1clModifyEntry,
00253     P1clDeleteEntry
00254  };
00255  
00256 typedef UInt8 P1clTxnEntry;
00257 
00258 
00259 // P1clApptStatus values set/getable via P1clSetUInt8Field() or P1clGetUInt8Field
00260 enum  _P1clApptStatusType
00261 {
00262     P1clShowAsBusy,                 // (default) Show as busy to strongly discourage conflicts.
00263     P1clShowAsFree,                 // Allow others to schedule meetings that conflict with this one.
00264     P1clShowAsTentative,            // Show as tentative to discourage conflicts.
00265     P1clShowAsOutOfOffice           // Show as out of office to even more strongly discourage conflicts.
00266 };
00267 
00268 typedef UInt8 P1clApptStatusType;
00269 
00270 
00271 // Data from the time zone blob.
00272 // Event time zones are similar to locations library locations.
00273 // If no time zone blob is present, name will be NULL. Typically only some events will have a time zone blob.
00274 // If no time zone blob is present, the event is treated as being in the current device time zone.
00275 typedef struct {
00276     Int16               uTC;                                    // Offset from UTC in minutes.
00277     DSTType             dSTStart;                               // When daylight saving time starts (if observed).
00278     DSTType             dSTEnd;                                 // When daylight saving time ends (if observed).
00279     Int16               dSTAdjustmentInMinutes;                 // 0 = DST not observed, 60 = observed.
00280     CountryType         country;                                // Which country this region is in.
00281     UInt8               custom   : 1,                           // Whether this location was created by the user.
00282                         reserved : 7;                           // Usused.
00283     Char                name[apptMaxTimeZoneNameLen + 1];           // Name of location (typically city). Not a pointer!
00284 } ApptTimeZoneType;
00285 
00286 /* *********************** Field Types
00287 P1clListStartTime           TimeType            Start time of the event. This time may be different than the event Start time if the device is in different time zone than the event.   
00288 
00289 P1clListEndTime             TimeType            End time of the event. This time may be different than the event End Time if the device is in different time zone than the event.   
00290 P1clListStartSec            UInt32              Start Sec after Since 1904. 
00291 P1clListEndSec              UInt32              End Sec after Since 1904.   
00292 P1clListStartedDayBefore    UInt16              Spans midnight at start of day. 
00293 P1clListContinuesOnNextDay  UInt16              Spans or ends at midnight end of day.   
00294 P1clListRepeatsDaily        UInt16              Part of a daily repeating event.    
00295 P1clListIsFirstOccurrence   UInt16              Part or first occurrence of repeating event.    
00296 P1clListIsLastOccurrence    UInt16              Part of last occurrence of repeating event. 
00297 P1clListUId                 UInt32              UId of the Event    
00298 P1clListIndex               UInt16              Index of the Event  
00299 P1clStartTime               TimeType            Start time of the event. This time may be different than the event Start time if the device is in different time zone than the event.   
00300 P1clEndTime                 TimeType            End time of the event. This time may be different than the event End Time if the device is in different time zone than the event.   TimeType
00301 P1clDateOfAppt              DateType            Date of the Event.  
00302 P1clrepeatEndDate           DateType            Repeating End Date of the Event.    
00303 P1clrepeatFreq              UInt8               Frequency of the Repeating event.   
00304 P1clrepeatOn                UInt8               This is valid for monthly by day and repeat Weekly. 
00305 P1clrepeatStartofWeek       UInt8               Part of a daily repeating event.    
00306 P1clrepeatType              UInt8               Part or first occurrence of repeating event.    
00307 P1clalarmAdvance            Int8                Alarm advance the value will be -1 if no alarm is set.  
00308 P1clalarmUnit               UInt8               Unit of the alarm Minute, hours, day    
00309 P1clNote                    String(char*)       Notes attached to the event.    
00310 P1clDescription             String(char*)       Description of the event.   
00311 P1clLocation                String(char*)       Location of the event.  
00312 P1clExceptionDate           Date                Which date in the repeating event is exception. 
00313 P1clNumOfAttendee           UInt16              Number of attendee included in the event    
00314 P1clStartDateTimeOfAppt     UInt32              Date and time of the appointment in Sec elapsed from 12:00AM Jan 1, 1904    
00315 P1clUID                     UInt32              UId of the Event in Calendar DB.    
00316 P1clIndex                   UInt16              Index of the Event in Calendar DB.  
00317 P1clCategory                UInt16              Category of the Event.  
00318 P1clColor                   UInt16              Color of the Event. 
00319 P1clPrivate                 UInt8               Private attribute of the Event  
00320 P1clBusy                    UInt8               Event is Busy or not. This refer to the busy in Data Manger term.   UInt8
00321 P1clDirty                   UInt8               Event is Dirty or not. This refer to the busy in Data Manger term.  UInt8
00322 P1clTzuTC                   Int16               Offset from UTC in minutes. 
00323 P1clTzdSTStart              DSTType             When daylight saving time starts (if observed). 
00324 P1clTzdSTEnd                DSTType             When daylight saving time ends (if observed).   
00325 P1clTzdSTAdjustmentInMinutes    Int16           0 = DST not observed, 60 = observed.    
00326 P1clTzCountry               CountryType         Which country this region is in.    
00327 P1clTzcustom                UInt8               Whether this location was created by the user.  
00328 P1clTzLocName               Char*               Name of location (typically city).  
00329 
00330 
00331 */
00332 
00333 typedef MemHandle       P1clApptHandle;
00334 typedef MemHandle       P1clAttachHandle;
00335 typedef MemHandle       P1clApptListHandle;
00336 typedef MemHandle       P1clSession;
00337 typedef MemHandle       P1clAttendeeHandle;         //Store info about the Attendee
00338 typedef MemHandle       P1clTxnIterator;
00339 typedef UInt32          P1clSyncSource;
00340 typedef UInt32          P1clPersistentID;
00341 
00342 /*
00343     Unique id that represents a data source Id. Each SAM and SAS will need to provide a unique id for 
00344     the data source that it is syncing with. Note that in the case where a SAM and SAS are
00345     syncing to the same data source (i.e. the same exchange server) they must use the same Data source id. 
00346     For HotSyncing with Palm Desktops the data source id equates to the PCID used by HotSync
00347 */
00348 typedef UInt32      IDatSyncSource;             //Data Source Id
00349 
00350 typedef Boolean (* DateBookCompAttachFucPtr) (void* pSource, void *SearchString);
00351 
00352 
00353     #define P1clTrapGetVersion                      (sysLibTrapCustom)  
00354     #define P1clTrapCheckVersion                    (sysLibTrapCustom + 1)  
00355     #define P1clTrapOpenSession                     (sysLibTrapCustom + 2)  
00356     #define P1clTrapCloseSession                    (sysLibTrapCustom + 3)                                                      
00357     #define P1clTrapCreateHandle                    (sysLibTrapCustom + 4)                  
00358     #define P1clTrapReleaseHandle                   (sysLibTrapCustom + 5)  
00359     #define P1clTrapGetAppt                         (sysLibTrapCustom + 6)  
00360     #define P1clTrapGetFirstAppt                    (sysLibTrapCustom + 7)      
00361     #define P1clTrapGetNextAppt                     (sysLibTrapCustom + 8)  
00362     #define P1clTrapIsEmptyAppt                     (sysLibTrapCustom + 9)  
00363     #define P1clTrapSplitRepeatingEvent             (sysLibTrapCustom + 10)     
00364     #define P1clTrapApptFindNextRepeat              (sysLibTrapCustom + 11)             
00365     #define P1clTrapApptRepeatsOnDate               (sysLibTrapCustom + 12)
00366     #define P1clTrapHasMultipleOccurences           (sysLibTrapCustom + 13) 
00367     #define P1clTrapGetApptList                     (sysLibTrapCustom + 14) 
00368     #define P1clTrapGetUInt16FromListHandle         (sysLibTrapCustom + 15) 
00369     #define P1clTrapGetTimeFromListHandle           (sysLibTrapCustom + 16)                 
00370     #define P1clTrapGetUInt32FromListHandle         (sysLibTrapCustom + 17)
00371     #define P1clTrapGetBooleanFromListHandle        (sysLibTrapCustom + 18)                             
00372     #define P1clTrapGetApptFromListHandle           (sysLibTrapCustom + 19)                                     
00373     #define P1clTrapUpdateAppt                      (sysLibTrapCustom + 20) 
00374     #define P1clTrapAddAppt                         (sysLibTrapCustom + 21) 
00375     #define P1clTrapDeleteAppt                      (sysLibTrapCustom + 22)
00376     #define P1clTrapFindNextAlarm                   (sysLibTrapCustom + 23) 
00377     #define P1clTrapSortCalendar                    (sysLibTrapCustom + 24)
00378     #define P1clTrapFindSaveMatch                   (sysLibTrapCustom + 25)     
00379     #define P1clTrapPurgeAppts                      (sysLibTrapCustom + 26)
00380     #define P1clTrapAttnForgetIt                    (sysLibTrapCustom + 27)     
00381     #define P1clTrapApptPostTriggeredAlarms         (sysLibTrapCustom + 28)
00382     #define P1clTrapGetCalendarDBInfo               (sysLibTrapCustom + 29) 
00383     #define P1clTrapCreateException                 (sysLibTrapCustom + 30)
00384     #define P1clTrapDeleteExceptionList             (sysLibTrapCustom + 31) 
00385     #define P1clTrapFindConflict                    (sysLibTrapCustom + 32)
00386     #define P1clTrapGetStringField                  (sysLibTrapCustom + 33)     
00387     #define P1clTrapSetStringField                  (sysLibTrapCustom + 34) 
00388     #define P1clTrapGetUInt8Field                   (sysLibTrapCustom + 35) 
00389     #define P1clTrapSetUInt8Field                   (sysLibTrapCustom + 36) 
00390     #define P1clTrapGetInt8Field                    (sysLibTrapCustom + 37) 
00391     #define P1clTrapSetInt8Field                    (sysLibTrapCustom + 38)     
00392     #define P1clTrapGetUInt16Field                  (sysLibTrapCustom + 39) 
00393     #define P1clTrapSetUInt16Field                  (sysLibTrapCustom + 40) 
00394     #define P1clTrapGetInt16Field                   (sysLibTrapCustom + 41) 
00395     #define P1clTrapSetInt16Field                   (sysLibTrapCustom + 42) 
00396     #define P1clTrapGetUInt32Field                  (sysLibTrapCustom + 43) 
00397     #define P1clTrapSetUInt32Field                  (sysLibTrapCustom + 44) 
00398     #define P1clTrapGetDateTimeField                (sysLibTrapCustom + 45) 
00399     #define P1clTrapSetDateTimeField                (sysLibTrapCustom + 46) 
00400     #define P1clTrapGetTimeField                    (sysLibTrapCustom + 47) 
00401     #define P1clTrapSetTimeField                    (sysLibTrapCustom + 48) 
00402     #define P1clTrapGetDateField                    (sysLibTrapCustom + 49) 
00403     #define P1clTrapSetDateField                    (sysLibTrapCustom + 50) 
00404     #define P1clTrapGetDSTField                     (sysLibTrapCustom + 51)
00405     #define P1clTrapSetDSTField                     (sysLibTrapCustom + 52)
00406     #define P1clTrapGetNumOfException               (sysLibTrapCustom + 53) 
00407     #define P1clTrapIsException                     (sysLibTrapCustom + 54)
00408     #define P1clTrapAddExceptionDate                (sysLibTrapCustom + 55) 
00409     #define P1clTrapCreateAttendeeHandle            (sysLibTrapCustom + 56) 
00410     #define P1clTrapReleaseAttendeeHandle           (sysLibTrapCustom + 57) 
00411     #define P1clTrapGetFirstAttendee                (sysLibTrapCustom + 58) 
00412     #define P1clTrapGetNextAttendee                 (sysLibTrapCustom + 59) 
00413     #define P1clTrapGetAttendee                     (sysLibTrapCustom + 60) 
00414     #define P1clTrapAddAttendee                     (sysLibTrapCustom + 61) 
00415     #define P1clTrapUpdateAttendee                  (sysLibTrapCustom + 62) 
00416     #define P1clTrapDeleteAttendee                  (sysLibTrapCustom + 63) 
00417     #define P1clTrapGetAttendeeUInt8Field           (sysLibTrapCustom + 64) 
00418     #define P1clTrapSetAttendeeUInt8Field           (sysLibTrapCustom + 65) 
00419     #define P1clTrapGetAttendeeStringField          (sysLibTrapCustom + 66) 
00420     #define P1clTrapSetAttendeeStringField          (sysLibTrapCustom + 67) 
00421     #define P1clTrapCreateBlobHandle                (sysLibTrapCustom + 68) 
00422     #define P1clTrapReleaseBlobHandle               (sysLibTrapCustom + 69) 
00423     #define P1clTrapGetBlob                         (sysLibTrapCustom + 70) 
00424     #define P1clTrapSetBlob                         (sysLibTrapCustom + 71)         
00425     #define P1clTrapDeleteBlob                      (sysLibTrapCustom + 72) 
00426     #define P1clTrapGetBlobData                     (sysLibTrapCustom + 73)
00427     #define P1clTrapSetBlobData                     (sysLibTrapCustom + 74) 
00428     #define P1clTrapGetBlobCreatorId                (sysLibTrapCustom + 75) 
00429     #define P1clTrapSetBlobCreatorId                (sysLibTrapCustom + 76) 
00430     #define P1clTrapGetLastError                    (sysLibTrapCustom + 77) 
00431     #define P1clTrapTxnPrepareSync                  (sysLibTrapCustom + 78) 
00432     #define P1clTrapTxnGetChange                    (sysLibTrapCustom + 79) 
00433     #define P1clTrapTxnGetNumChanges                (sysLibTrapCustom + 80)     
00434     #define P1clTrapLogMarkAllCompleted             (sysLibTrapCustom + 81) 
00435     #define P1clTrapTxnLogMarkCompleted             (sysLibTrapCustom + 82)         
00436     #define P1clTrapTxnSyncComplete                 (sysLibTrapCustom + 83) 
00437     #define P1clTrapDeleteServerId                  (sysLibTrapCustom + 84) 
00438     #define P1clTrapGetApptFromServerId             (sysLibTrapCustom + 85) 
00439     #define P1clTrapSetServerId                     (sysLibTrapCustom + 86)
00440     #define P1clTrapCategoryTruncateName            (sysLibTrapCustom + 87)
00441     #define P1clTrapCategorySetTriggerLabel         (sysLibTrapCustom + 88)
00442     #define P1clTrapCategoryGetNext                 (sysLibTrapCustom + 89)
00443     #define P1clTrapCategoryPopupList               (sysLibTrapCustom + 90)
00444     #define P1clTrapCategorySelect                  (sysLibTrapCustom + 91)
00445     #define P1clTrapCategoryEdit                    (sysLibTrapCustom + 92)
00446     #define P1clTrapCategoryDrawBullet              (sysLibTrapCustom + 93)
00447     #define P1clTrapCategorySetColor                (sysLibTrapCustom + 94)
00448     #define P1clTrapCategoryGetRGBColor             (sysLibTrapCustom + 95)
00449     #define P1clTrapCategoryGetColor                (sysLibTrapCustom + 96)
00450     #define P1clTrapCategoryGetUnusedColor          (sysLibTrapCustom + 97)
00451     #define P1clTrapCategorySetName                 (sysLibTrapCustom + 98)
00452     #define P1clTrapCategoryGetName                 (sysLibTrapCustom + 99)
00453     #define P1clTrapCategoryFind                    (sysLibTrapCustom + 100)
00454     #define P1clTrapCategoryFreeList                (sysLibTrapCustom + 101)
00455     #define P1clTrapCategoryCreateList              (sysLibTrapCustom + 102)
00456     #define P1clTrapCategoryGetVersion              (sysLibTrapCustom + 103)
00457     #define P1clTrapGiveAllTimedEventsTimeZones     (sysLibTrapCustom + 104)
00458     #define P1clTrapConvertFromDeviceTimeZone       (sysLibTrapCustom + 105)
00459     #define P1clTrapConvertToDeviceTimeZone         (sysLibTrapCustom + 106)
00460     #define P1clTrapCountryForTimeZoneAbbreviation  (sysLibTrapCustom + 107)
00461     #define P1clTrapApptTimeZoneAbbreviation        (sysLibTrapCustom + 108)
00462     #define P1clTrapApptTimeZoneCompare             (sysLibTrapCustom + 109)
00463     #define P1clTrapGetExtendedDescription          (sysLibTrapCustom + 110)
00464     #define P1clTrapHasExtendedDescription          (sysLibTrapCustom + 111)        
00465     #define P1clTrapApptGetFirstOccurrence          (sysLibTrapCustom + 112)            
00466     #define P1clTrapUpdateEventsWithDeletedTimeZone (sysLibTrapCustom + 113)            
00467     #define P1clTrapUpdateEventsWithEditedTimeZone  (sysLibTrapCustom + 114)
00468     #define P1clTrapCopyStringField                 (sysLibTrapCustom + 115)    
00469     #define P1clTrapDateExportVCal                  (sysLibTrapCustom + 116)    
00470     #define P1clTrapNumRecordsInCategory            (sysLibTrapCustom + 117)    
00471     #define P1clTrapSeekRecordInCategory            (sysLibTrapCustom + 118)        
00472     #define P1clTrapDateSetGoToParams               (sysLibTrapCustom + 119)        
00473     #define P1clTrapGetSessionInfo                  (sysLibTrapCustom + 120)    
00474     #define P1clTrapCopyRepeatDescription           (sysLibTrapCustom + 121)
00475     #define P1clTrapGetConflict                     (sysLibTrapCustom + 122)    
00476     #define P1clTrapGetDefaultTimeZone              (sysLibTrapCustom + 123)
00477     #define P1clTrapSetRepeateEndDate               (sysLibTrapCustom + 124)
00478     #define P1clTrapAddMultiDayEvent                (sysLibTrapCustom + 125)
00479     #define P1clTrapAddAllToTransactionLog          (sysLibTrapCustom + 126)
00480     #define P1clTrapSetExceptionExt                 (sysLibTrapCustom + 127)
00481     #define P1clTrapAddExceptionExt                 (sysLibTrapCustom + 128)
00482     #define P1clTrapGetExceptionDate                (sysLibTrapCustom + 129)
00483     #define P1clTrapDeleteRepeatInfo                (sysLibTrapCustom + 130)    
00484     #define P1clTrapDeleteAlarmInfo                 (sysLibTrapCustom + 131)        
00485     #define P1clTrapAccountReset                    (sysLibTrapCustom + 132)        
00486     #define P1clTrapAddMultiDayEvent2               (sysLibTrapCustom + 133)        
00487     #define P1clTrapTxnGetChange2                   (sysLibTrapCustom + 134)        
00488     #define P1clTrapPurgeAllAppts                   (sysLibTrapCustom + 135)        
00489     #define P1clTrapDeleteOldAndDuplicates          (sysLibTrapCustom + 136)        
00490     #define P1clTrapAccountResetServerId            (sysLibTrapCustom + 137)
00491     #define P1clTrapAddLocalToTransactionLog        (sysLibTrapCustom + 138)
00492     #define P1clTrapSortCalendarSpecial             (sysLibTrapCustom + 139)
00493     #define P1clTrapTxnIsKnownDataSource            (sysLibTrapCustom + 140)
00494     #define P1clTrapSetServerIdByUniqueID           (sysLibTrapCustom + 141)
00495     #define P1clTrapPerformPostSyncFunctions        (sysLibTrapCustom + 142)
00496 
00497 #endif

Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:52 2008 for Palm API Guide