-rw-r--r-- | library/backend/vobject_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/backend/vobject_p.h b/library/backend/vobject_p.h index a0d921e..0d0a2a8 100644 --- a/library/backend/vobject_p.h +++ b/library/backend/vobject_p.h | |||
@@ -53,48 +53,50 @@ vcc.h and vobject.h are header files for their .c counterparts | |||
53 | 53 | ||
54 | vcaltmp.h and vcaltmp.c implement vCalendar "macro" functions | 54 | vcaltmp.h and vcaltmp.c implement vCalendar "macro" functions |
55 | which you may find useful. | 55 | which you may find useful. |
56 | 56 | ||
57 | test.c is a standalone test driver that exercises some of | 57 | test.c is a standalone test driver that exercises some of |
58 | the features of the APIs provided. Invoke test.exe on a | 58 | the features of the APIs provided. Invoke test.exe on a |
59 | VCARD/VCALENDAR input text file and you will see the pretty | 59 | VCARD/VCALENDAR input text file and you will see the pretty |
60 | print output of the internal representation (this pretty print | 60 | print output of the internal representation (this pretty print |
61 | output should give you a good idea of how the internal | 61 | output should give you a good idea of how the internal |
62 | representation looks like -- there is one such output in the | 62 | representation looks like -- there is one such output in the |
63 | following too). Also, a file with the .out suffix is generated | 63 | following too). Also, a file with the .out suffix is generated |
64 | to show that the internal representation can be written back | 64 | to show that the internal representation can be written back |
65 | in the original text format. | 65 | in the original text format. |
66 | 66 | ||
67 | For more information on this API see the readme.txt file | 67 | For more information on this API see the readme.txt file |
68 | which accompanied this distribution. | 68 | which accompanied this distribution. |
69 | 69 | ||
70 | Also visit: | 70 | Also visit: |
71 | 71 | ||
72 | http://www.versit.com | 72 | http://www.versit.com |
73 | http://www.ralden.com | 73 | http://www.ralden.com |
74 | 74 | ||
75 | */ | 75 | */ |
76 | 76 | ||
77 | // No tr() anywhere in this file | ||
78 | |||
77 | 79 | ||
78 | #ifndef __VOBJECT_H__ | 80 | #ifndef __VOBJECT_H__ |
79 | #define __VOBJECT_H__ 1 | 81 | #define __VOBJECT_H__ 1 |
80 | 82 | ||
81 | #include <qstring.h> | 83 | #include <qstring.h> |
82 | 84 | ||
83 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" | 85 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" |
84 | #define vCalendarClipboardFormat"+//ISBN 1-887687-00-9::versit::PDI//vCalendar" | 86 | #define vCalendarClipboardFormat"+//ISBN 1-887687-00-9::versit::PDI//vCalendar" |
85 | 87 | ||
86 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat | 88 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat |
87 | are globally unique IDs which can be used to generate clipboard format | 89 | are globally unique IDs which can be used to generate clipboard format |
88 | ID's as per the requirements of a specific platform. For example, in | 90 | ID's as per the requirements of a specific platform. For example, in |
89 | Windows they are used as the parameter in a call to RegisterClipboardFormat. | 91 | Windows they are used as the parameter in a call to RegisterClipboardFormat. |
90 | For example: | 92 | For example: |
91 | 93 | ||
92 | CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat); | 94 | CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat); |
93 | 95 | ||
94 | */ | 96 | */ |
95 | 97 | ||
96 | #define vCardMimeType "text/x-vCard" | 98 | #define vCardMimeType "text/x-vCard" |
97 | #define vCalendarMimeType"text/x-vCalendar" | 99 | #define vCalendarMimeType"text/x-vCalendar" |
98 | 100 | ||
99 | #undef DLLEXPORT | 101 | #undef DLLEXPORT |
100 | #include <qglobal.h> | 102 | #include <qglobal.h> |
@@ -121,49 +123,49 @@ For example: | |||
121 | #define VCAdditionalNamesProp"ADDN" | 123 | #define VCAdditionalNamesProp"ADDN" |
122 | #define VCAdrProp "ADR" | 124 | #define VCAdrProp "ADR" |
123 | #define VCAgentProp "AGENT" | 125 | #define VCAgentProp "AGENT" |
124 | #define VCAIFFProp "AIFF" | 126 | #define VCAIFFProp "AIFF" |
125 | #define VCAOLProp "AOL" | 127 | #define VCAOLProp "AOL" |
126 | #define VCAppleLinkProp "APPLELINK" | 128 | #define VCAppleLinkProp "APPLELINK" |
127 | #define VCAttachProp "ATTACH" | 129 | #define VCAttachProp "ATTACH" |
128 | #define VCAttendeeProp "ATTENDEE" | 130 | #define VCAttendeeProp "ATTENDEE" |
129 | #define VCATTMailProp "ATTMAIL" | 131 | #define VCATTMailProp "ATTMAIL" |
130 | #define VCAudioContentProp "AUDIOCONTENT" | 132 | #define VCAudioContentProp "AUDIOCONTENT" |
131 | #define VCAVIProp "AVI" | 133 | #define VCAVIProp "AVI" |
132 | #define VCBase64Prop "BASE64" | 134 | #define VCBase64Prop "BASE64" |
133 | #define VCBBSProp "BBS" | 135 | #define VCBBSProp "BBS" |
134 | #define VCBirthDateProp "BDAY" | 136 | #define VCBirthDateProp "BDAY" |
135 | #define VCBMPProp "BMP" | 137 | #define VCBMPProp "BMP" |
136 | #define VCBodyProp "BODY" | 138 | #define VCBodyProp "BODY" |
137 | #define VCBusinessRoleProp "ROLE" | 139 | #define VCBusinessRoleProp "ROLE" |
138 | #define VCCalProp "VCALENDAR" | 140 | #define VCCalProp "VCALENDAR" |
139 | #define VCCaptionProp "CAP" | 141 | #define VCCaptionProp "CAP" |
140 | #define VCCardProp "VCARD" | 142 | #define VCCardProp "VCARD" |
141 | #define VCCarProp "CAR" | 143 | #define VCCarProp "CAR" |
142 | #define VCCategoriesProp "CATEGORIES" | 144 | #define VCCategoriesProp "CATEGORIES" |
143 | #define VCCellularProp "CELL" | 145 | #define VCCellularProp "CELL" |
144 | #define VCCGMProp "CGM" | 146 | #define VCCGMProp "CGM" |
145 | #define VCCharSetProp "CS" | 147 | #define VCCharSetProp "CHARSET" |
146 | #define VCCIDProp "CID" | 148 | #define VCCIDProp "CID" |
147 | #define VCCISProp "CIS" | 149 | #define VCCISProp "CIS" |
148 | #define VCCityProp "L" | 150 | #define VCCityProp "L" |
149 | #define VCClassProp "CLASS" | 151 | #define VCClassProp "CLASS" |
150 | #define VCCommentProp "NOTE" | 152 | #define VCCommentProp "NOTE" |
151 | #define VCCompletedProp "COMPLETED" | 153 | #define VCCompletedProp "COMPLETED" |
152 | #define VCContentIDProp "CONTENT-ID" | 154 | #define VCContentIDProp "CONTENT-ID" |
153 | #define VCCountryNameProp "C" | 155 | #define VCCountryNameProp "C" |
154 | #define VCDAlarmProp "DALARM" | 156 | #define VCDAlarmProp "DALARM" |
155 | #define VCDataSizeProp "DATASIZE" | 157 | #define VCDataSizeProp "DATASIZE" |
156 | #define VCDayLightProp "DAYLIGHT" | 158 | #define VCDayLightProp "DAYLIGHT" |
157 | #define VCDCreatedProp "DCREATED" | 159 | #define VCDCreatedProp "DCREATED" |
158 | #define VCDeliveryLabelProp "LABEL" | 160 | #define VCDeliveryLabelProp "LABEL" |
159 | #define VCDescriptionProp "DESCRIPTION" | 161 | #define VCDescriptionProp "DESCRIPTION" |
160 | #define VCDIBProp "DIB" | 162 | #define VCDIBProp "DIB" |
161 | #define VCDisplayStringProp "DISPLAYSTRING" | 163 | #define VCDisplayStringProp "DISPLAYSTRING" |
162 | #define VCDomesticProp "DOM" | 164 | #define VCDomesticProp "DOM" |
163 | #define VCDTendProp "DTEND" | 165 | #define VCDTendProp "DTEND" |
164 | #define VCDTstartProp "DTSTART" | 166 | #define VCDTstartProp "DTSTART" |
165 | #define VCDueProp "DUE" | 167 | #define VCDueProp "DUE" |
166 | #define VCEmailAddressProp "EMAIL" | 168 | #define VCEmailAddressProp "EMAIL" |
167 | #define VCEncodingProp "ENCODING" | 169 | #define VCEncodingProp "ENCODING" |
168 | #define VCEndProp "END" | 170 | #define VCEndProp "END" |
169 | #define VCEventProp "VEVENT" | 171 | #define VCEventProp "VEVENT" |