author | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-06-26 19:01:18 (UTC) |
commit | b9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff) | |
tree | 2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /libkcal/versit/port.h | |
download | kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2 |
Initial revision
-rw-r--r-- | libkcal/versit/port.h | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/libkcal/versit/port.h b/libkcal/versit/port.h new file mode 100644 index 0000000..afc16dd --- a/dev/null +++ b/libkcal/versit/port.h | |||
@@ -0,0 +1,75 @@ | |||
1 | /*************************************************************************** | ||
2 | (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International | ||
3 | Business Machines Corporation and Siemens Rolm Communications Inc. | ||
4 | |||
5 | For purposes of this license notice, the term Licensors shall mean, | ||
6 | collectively, Apple Computer, Inc., AT&T Corp., International | ||
7 | Business Machines Corporation and Siemens Rolm Communications Inc. | ||
8 | The term Licensor shall mean any of the Licensors. | ||
9 | |||
10 | Subject to acceptance of the following conditions, permission is hereby | ||
11 | granted by Licensors without the need for written agreement and without | ||
12 | license or royalty fees, to use, copy, modify and distribute this | ||
13 | software for any purpose. | ||
14 | |||
15 | The above copyright notice and the following four paragraphs must be | ||
16 | reproduced in all copies of this software and any software including | ||
17 | this software. | ||
18 | |||
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 | ||
21 | MODIFICATIONS. | ||
22 | |||
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 | ||
25 | OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH | ||
26 | DAMAGE. | ||
27 | |||
28 | EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, | ||
29 | INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE | ||
30 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
31 | PURPOSE. | ||
32 | |||
33 | The software is provided with RESTRICTED RIGHTS. Use, duplication, or | ||
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. | ||
36 | |||
37 | ***************************************************************************/ | ||
38 | |||
39 | #ifndef __PORT_H__ | ||
40 | #define __PORT_H__ 1 | ||
41 | |||
42 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) | ||
43 | extern "C" { | ||
44 | #endif | ||
45 | |||
46 | #define vCardClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCard" | ||
47 | #define vCalendarClipboardFormat "+//ISBN 1-887687-00-9::versit::PDI//vCalendar" | ||
48 | |||
49 | /* The above strings vCardClipboardFormat and vCalendarClipboardFormat | ||
50 | are globally unique IDs which can be used to generate clipboard format | ||
51 | ID's as per the requirements of a specific platform. For example, in | ||
52 | Windows they are used as the parameter in a call to RegisterClipboardFormat. | ||
53 | For example: | ||
54 | |||
55 | CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat); | ||
56 | |||
57 | */ | ||
58 | |||
59 | #define vCardMimeType "text/x-vCard" | ||
60 | #define vCalendarMimeType "text/x-vCalendar" | ||
61 | |||
62 | #ifndef FALSE | ||
63 | #define FALSE 0 | ||
64 | #endif | ||
65 | #ifndef TRUE | ||
66 | #define TRUE 1 | ||
67 | #endif | ||
68 | |||
69 | #define Parse_Debug(t) | ||
70 | |||
71 | #if defined(__CPLUSPLUS__) || defined(__cplusplus) | ||
72 | } | ||
73 | #endif | ||
74 | |||
75 | #endif /* __PORT_H__ */ | ||