summaryrefslogtreecommitdiffabout
path: root/libkcal/versit/port.h
Unidiff
Diffstat (limited to 'libkcal/versit/port.h') (more/less context) (show whitespace changes)
-rw-r--r--libkcal/versit/port.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/libkcal/versit/port.h b/libkcal/versit/port.h
index afc16dd..1768bee 100644
--- a/libkcal/versit/port.h
+++ b/libkcal/versit/port.h
@@ -34,42 +34,55 @@ The software is provided with RESTRICTED RIGHTS. Use, duplication, or
34disclosure by the government are subject to restrictions set forth in 34disclosure by the government are subject to restrictions set forth in
35DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable. 35DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
36 36
37***************************************************************************/ 37***************************************************************************/
38 38
39#ifndef __PORT_H__ 39#ifndef __PORT_H__
40#define __PORT_H__ 1 40#define __PORT_H__ 1
41 41
42
42#if defined(__CPLUSPLUS__) || defined(__cplusplus) 43#if defined(__CPLUSPLUS__) || defined(__cplusplus)
43extern "C" { 44extern "C" {
44#endif 45#endif
45 46
47/* some of these #defines are commented out because */
48/* Visual C++ sets them on the compiler command line instead */
49
50/* #define _DEBUG */
51/* #define WIN32 */
52/* #define WIN16 */
53/* #define _WINDOWS */
54/* #define __MWERKS__ */
55/* #define INCLUDEMFC */
56
46#define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" 57#define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard"
47#define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar" 58#define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar"
48 59
49/* The above strings vCardClipboardFormat and vCalendarClipboardFormat 60/* The above strings vCardClipboardFormat and vCalendarClipboardFormat
50are globally unique IDs which can be used to generate clipboard format 61are globally unique IDs which can be used to generate clipboard format
51ID's as per the requirements of a specific platform. For example, in 62ID's as per the requirements of a specific platform. For example, in
52Windows they are used as the parameter in a call to RegisterClipboardFormat. 63Windows they are used as the parameter in a call to RegisterClipboardFormat.
53For example: 64For example:
54 65
55 CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat); 66 CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat);
56 67
57*/ 68*/
58 69
59#define vCardMimeType "text/x-vCard" 70#define vCardMimeType "text/x-vCard"
60#define vCalendarMimeType "text/x-vCalendar" 71#define vCalendarMimeType "text/x-vCalendar"
61 72
73#define DLLEXPORT(t) t
74
62#ifndef FALSE 75#ifndef FALSE
63#define FALSE 0 76#define FALSE 0
64#endif 77#endif
65#ifndef TRUE 78#ifndef TRUE
66#define TRUE 1 79#define TRUE 1
67#endif 80#endif
68 81
69#define Parse_Debug(t) 82#define stricmp strcasecmp
70 83
71#if defined(__CPLUSPLUS__) || defined(__cplusplus) 84#if defined(__CPLUSPLUS__) || defined(__cplusplus)
72} 85}
73#endif 86#endif
74 87
75#endif /* __PORT_H__ */ 88#endif /* __PORT_H__ */