author | zautrix <zautrix> | 2004-06-29 11:59:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-29 11:59:46 (UTC) |
commit | da43dbdc6c82453228f34766fc74585615cba938 (patch) (unidiff) | |
tree | 16576932cea08bf117b2d0320b0d5f66ee8ad093 /libkcal/versit/port.h | |
parent | 627489ea2669d3997676bc3cee0f5d0d0c16c4d4 (diff) | |
download | kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.zip kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.tar.gz kdepimpi-da43dbdc6c82453228f34766fc74585615cba938.tar.bz2 |
New lib ical.Some minor changes as well.
-rw-r--r-- | libkcal/versit/port.h | 109 |
1 files changed, 61 insertions, 48 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 | |||
@@ -1,75 +1,88 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International | 2 | (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International |
3 | Business Machines Corporation and Siemens Rolm Communications Inc. | 3 | Business Machines Corporation and Siemens Rolm Communications Inc. |
4 | 4 | ||
5 | For purposes of this license notice, the term Licensors shall mean, | 5 | For purposes of this license notice, the term Licensors shall mean, |
6 | collectively, Apple Computer, Inc., AT&T Corp., International | 6 | collectively, Apple Computer, Inc., AT&T Corp., International |
7 | Business Machines Corporation and Siemens Rolm Communications Inc. | 7 | Business Machines Corporation and Siemens Rolm Communications Inc. |
8 | The term Licensor shall mean any of the Licensors. | 8 | The term Licensor shall mean any of the Licensors. |
9 | 9 | ||
10 | Subject to acceptance of the following conditions, permission is hereby | 10 | Subject to acceptance of the following conditions, permission is hereby |
11 | granted by Licensors without the need for written agreement and without | 11 | granted by Licensors without the need for written agreement and without |
12 | license or royalty fees, to use, copy, modify and distribute this | 12 | license or royalty fees, to use, copy, modify and distribute this |
13 | software for any purpose. | 13 | software for any purpose. |
14 | 14 | ||
15 | The above copyright notice and the following four paragraphs must be | 15 | The above copyright notice and the following four paragraphs must be |
16 | reproduced in all copies of this software and any software including | 16 | reproduced in all copies of this software and any software including |
17 | this software. | 17 | this software. |
18 | 18 | ||
19 | THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE | 19 | THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE |
20 | ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR | 20 | ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR |
21 | MODIFICATIONS. | 21 | MODIFICATIONS. |
22 | 22 | ||
23 | IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT, | 23 | IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT, |
24 | INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT | 24 | INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT |
25 | OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | 25 | OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH |
26 | DAMAGE. | 26 | DAMAGE. |
27 | 27 | ||
28 | EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, | 28 | EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, |
29 | INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE | 29 | INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE |
30 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | 30 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
31 | PURPOSE. | 31 | PURPOSE. |
32 | 32 | ||
33 | The software is provided with RESTRICTED RIGHTS. Use, duplication, or | 33 | The software is provided with RESTRICTED RIGHTS. Use, duplication, or |
34 | disclosure by the government are subject to restrictions set forth in | 34 | disclosure by the government are subject to restrictions set forth in |
35 | DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable. | 35 | DFARS 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) |
43 | extern "C" { | 44 | extern "C" { |
44 | #endif | 45 | #endif |
45 | 46 | ||
46 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" | 47 | /* some of these #defines are commented out because */ |
47 | #define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar" | 48 | /* Visual C++ sets them on the compiler command line instead */ |
48 | 49 | ||
49 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat | 50 | /* #define _DEBUG */ |
50 | are globally unique IDs which can be used to generate clipboard format | 51 | /* #define WIN32 */ |
51 | ID's as per the requirements of a specific platform. For example, in | 52 | /* #define WIN16 */ |
52 | Windows they are used as the parameter in a call to RegisterClipboardFormat. | 53 | /* #define _WINDOWS */ |
54 | /* #define __MWERKS__ */ | ||
55 | /* #define INCLUDEMFC */ | ||
56 | |||
57 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" | ||
58 | #define vCalendarClipboardFormat"+//ISBN 1-887687-00-9::versit::PDI//vCalendar" | ||
59 | |||
60 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat | ||
61 | are globally unique IDs which can be used to generate clipboard format | ||
62 | ID's as per the requirements of a specific platform. For example, in | ||
63 | Windows they are used as the parameter in a call to RegisterClipboardFormat. | ||
53 | For example: | 64 | For 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" |
72 | |||
73 | #define DLLEXPORT(t) t | ||
61 | 74 | ||
62 | #ifndef FALSE | 75 | #ifndef FALSE |
63 | #define FALSE 0 | 76 | #define FALSE0 |
64 | #endif | 77 | #endif |
65 | #ifndef TRUE | 78 | #ifndef TRUE |
66 | #define TRUE 1 | 79 | #define TRUE1 |
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__ */ |