summaryrefslogtreecommitdiffabout
path: root/libkcal/versit/port.h
Unidiff
Diffstat (limited to 'libkcal/versit/port.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkcal/versit/port.h75
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
3Business Machines Corporation and Siemens Rolm Communications Inc.
4
5For purposes of this license notice, the term Licensors shall mean,
6collectively, Apple Computer, Inc., AT&T Corp., International
7Business Machines Corporation and Siemens Rolm Communications Inc.
8The term Licensor shall mean any of the Licensors.
9
10Subject to acceptance of the following conditions, permission is hereby
11granted by Licensors without the need for written agreement and without
12license or royalty fees, to use, copy, modify and distribute this
13software for any purpose.
14
15The above copyright notice and the following four paragraphs must be
16reproduced in all copies of this software and any software including
17this software.
18
19THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
20ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
21MODIFICATIONS.
22
23IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
24INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
25OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
26DAMAGE.
27
28EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
29INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
30IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
31PURPOSE.
32
33The software is provided with RESTRICTED RIGHTS. Use, duplication, or
34disclosure by the government are subject to restrictions set forth in
35DFARS 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)
43extern "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
50are globally unique IDs which can be used to generate clipboard format
51ID's as per the requirements of a specific platform. For example, in
52Windows they are used as the parameter in a call to RegisterClipboardFormat.
53For 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__ */