Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C65B9BF6 for ; Thu, 23 Feb 2012 17:09:11 +0000 (UTC) Received: (qmail 38438 invoked by uid 500); 23 Feb 2012 17:09:10 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 38411 invoked by uid 500); 23 Feb 2012 17:09:10 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 38403 invoked by uid 99); 23 Feb 2012 17:09:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 17:09:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 17:09:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DDBE92388860; Thu, 23 Feb 2012 17:08:49 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1292856 - /incubator/ooo/trunk/main/solenv/inc/svpm.h Date: Thu, 23 Feb 2012 17:08:49 -0000 To: ooo-commits@incubator.apache.org From: ydario@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120223170849.DDBE92388860@eris.apache.org> Author: ydario Date: Thu Feb 23 17:08:49 2012 New Revision: 1292856 URL: http://svn.apache.org/viewvc?rev=1292856&view=rev Log: i118923 - OS/2 port: solenv, added svpm.h wrapper around os2.h system header. Added: incubator/ooo/trunk/main/solenv/inc/svpm.h Added: incubator/ooo/trunk/main/solenv/inc/svpm.h URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/solenv/inc/svpm.h?rev=1292856&view=auto ============================================================================== --- incubator/ooo/trunk/main/solenv/inc/svpm.h (added) +++ incubator/ooo/trunk/main/solenv/inc/svpm.h Thu Feb 23 17:08:49 2012 @@ -0,0 +1,90 @@ +/************************************************************************* + + Copyright 2011 Yuri Dario + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + ************************************************************************/ + +#ifndef _SVPM_H +#define _SVPM_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __ZTC__ +#define _Seg16 _far16 +#define _Far16 _far16 +#define _System _syscall +#define _Pascal _pascal +#define _Cdecl _cdecl +#endif + +#define BOOL PM_BOOL +#define BYTE PM_BYTE +#define ADDRESS PM_ADDRESS // YD xmloff +#define LINE PM_LINE // YD basic +#define CM_ERROR PM_CM_ERROR // YD automation +#define CURSOR_FRAME PM_CURSOR_FRAME // YD binfilter +#define POLYGON PM_POLYGON // YD sd +#define FIXED PM_FIXED // YD oox +#define DATETIME PM_DATETIME // YD oox ooo320 +#define RGB_RED PM_RGB_RED // YD vcl +#define RGB_GREEN PM_RGB_GREEN // YD vcl +#define RGB_BLUE PM_RGB_BLUE // YD vcl +#define RGB PM_RGB // YD rsc bison 2.3 + +#define RGB_RED PM_RGB_RED // YD xmlhelp +#define RGB_BLUE PM_RGB_BLUE // YD xmlhelp +#define RGB_GREEN PM_RGB_GREEN // YD xmlhelp +#define CURSOR_FRAME PM_CURSOR_FRAME // YD xmlhelp +#define CM_ERROR PM_CM_ERROR // YD xmlhelp +#define ADDRESS PM_ADDRESS // YD xmlhelp +#define COMMENT PM_COMMENT // YD offuh + +#define INCL_PM +#define INCL_DOSSEMAPHORES + +//yd 26/03/2006 OOo hack +#define OS2EMX_PLAIN_CHAR + +#include +#include + +#undef BOOL +#undef BYTE +#undef ADDRESS +#undef LINE +#undef CM_ERROR +#undef CURSOR_FRAME +#undef POLYGON +#undef FIXED +#undef DATETIME +#undef RGB_RED +#undef RGB_GREEN +#undef RGB_BLUE +#undef RGB +#undef RGB_RED +#undef RGB_BLUE +#undef CURSOR_FRAME +#undef ADDRESS +#undef RGB_GREEN +#undef CM_ERROR +#undef COMMENT + +#ifdef __cplusplus +} +#endif + +#endif // _SVPM_H