xref: /aoo41x/main/solenv/inc/svpm.h (revision e4340c4f)
1 /*************************************************************************
2 
3    Copyright 2011 Yuri Dario <mc6530@mclink.it>
4 
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8 
9        http://www.apache.org/licenses/LICENSE-2.0
10 
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16 
17  ************************************************************************/
18 
19 #ifndef _SVPM_H
20 #define _SVPM_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 #ifdef __ZTC__
27 #define _Seg16  _far16
28 #define _Far16  _far16
29 #define _System _syscall
30 #define _Pascal _pascal
31 #define _Cdecl  _cdecl
32 #endif
33 
34 #define BOOL        	PM_BOOL
35 #define BYTE        	PM_BYTE
36 #define ADDRESS     	PM_ADDRESS 	// YD xmloff
37 #define LINE        	PM_LINE    	// YD basic
38 #define CM_ERROR    	PM_CM_ERROR	// YD automation
39 #define CURSOR_FRAME 	PM_CURSOR_FRAME	// YD binfilter
40 #define POLYGON		PM_POLYGON	// YD sd
41 #define FIXED		PM_FIXED	// YD oox
42 #define DATETIME	PM_DATETIME	// YD oox ooo320
43 #define RGB_RED		PM_RGB_RED	// YD vcl
44 #define RGB_GREEN	PM_RGB_GREEN	// YD vcl
45 #define RGB_BLUE	PM_RGB_BLUE	// YD vcl
46 #define RGB		PM_RGB		// YD rsc bison 2.3
47 
48 #define RGB_RED		PM_RGB_RED	// YD xmlhelp
49 #define RGB_BLUE	PM_RGB_BLUE	// YD xmlhelp
50 #define RGB_GREEN	PM_RGB_GREEN	// YD xmlhelp
51 #define CURSOR_FRAME	PM_CURSOR_FRAME	// YD xmlhelp
52 #define CM_ERROR	PM_CM_ERROR	// YD xmlhelp
53 #define ADDRESS		PM_ADDRESS	// YD xmlhelp
54 #define COMMENT		PM_COMMENT	// YD offuh
55 
56 #define INCL_PM
57 #define INCL_DOSSEMAPHORES
58 
59 //yd 26/03/2006 OOo hack
60 #define OS2EMX_PLAIN_CHAR
61 
62 #include <os2.h>
63 #include <unikbd.h>
64 
65 #undef BOOL
66 #undef BYTE
67 #undef ADDRESS
68 #undef LINE
69 #undef CM_ERROR
70 #undef CURSOR_FRAME
71 #undef POLYGON
72 #undef FIXED
73 #undef DATETIME
74 #undef RGB_RED
75 #undef RGB_GREEN
76 #undef RGB_BLUE
77 #undef RGB
78 #undef RGB_RED
79 #undef RGB_BLUE
80 #undef CURSOR_FRAME
81 #undef ADDRESS
82 #undef RGB_GREEN
83 #undef CM_ERROR
84 #undef COMMENT
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif // _SVPM_H
91