libkcal

port.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 (C) Copyright 1996 Apple Computer, Inc., AT&T Corp., International
00003 Business Machines Corporation and Siemens Rolm Communications Inc.
00004 
00005 For purposes of this license notice, the term Licensors shall mean,
00006 collectively, Apple Computer, Inc., AT&T Corp., International
00007 Business Machines Corporation and Siemens Rolm Communications Inc.
00008 The term Licensor shall mean any of the Licensors.
00009 
00010 Subject to acceptance of the following conditions, permission is hereby
00011 granted by Licensors without the need for written agreement and without
00012 license or royalty fees, to use, copy, modify and distribute this
00013 software for any purpose.
00014 
00015 The above copyright notice and the following four paragraphs must be
00016 reproduced in all copies of this software and any software including
00017 this software.
00018 
00019 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS AND NO LICENSOR SHALL HAVE
00020 ANY OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS OR
00021 MODIFICATIONS.
00022 
00023 IN NO EVENT SHALL ANY LICENSOR BE LIABLE TO ANY PARTY FOR DIRECT,
00024 INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES OR LOST PROFITS ARISING OUT
00025 OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
00026 DAMAGE.
00027 
00028 EACH LICENSOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED,
00029 INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF NONINFRINGEMENT OR THE
00030 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00031 PURPOSE.
00032 
00033 The software is provided with RESTRICTED RIGHTS.  Use, duplication, or
00034 disclosure by the government are subject to restrictions set forth in
00035 DFARS 252.227-7013 or 48 CFR 52.227-19, as applicable.
00036 
00037 ***************************************************************************/
00038 
00039 #ifndef __PORT_H__
00040 #define __PORT_H__ 1
00041 
00042 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
00043 extern "C" {
00044 #endif
00045 
00046 #define vCardClipboardFormat            "+//ISBN 1-887687-00-9::versit::PDI//vCard"
00047 #define vCalendarClipboardFormat        "+//ISBN 1-887687-00-9::versit::PDI//vCalendar"
00048 
00049 /* The above strings vCardClipboardFormat and vCalendarClipboardFormat
00050 are globally unique IDs which can be used to generate clipboard format
00051 ID's as per the requirements of a specific platform. For example, in
00052 Windows they are used as the parameter in a call to RegisterClipboardFormat.
00053 For example:
00054 
00055   CLIPFORMAT foo = RegisterClipboardFormat(vCardClipboardFormat);
00056 
00057 */
00058 
00059 #define vCardMimeType           "text/x-vCard"
00060 #define vCalendarMimeType       "text/x-vCalendar"
00061 
00062 #ifndef FALSE
00063 #define FALSE   0
00064 #endif
00065 #ifndef TRUE
00066 #define TRUE    1
00067 #endif
00068 
00069 #define Parse_Debug(t)
00070 
00071 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
00072 }
00073 #endif
00074 
00075 #endif /* __PORT_H__ */