3
Copyright (c) 2003-2004, AXE, Inc. All rights reserved.
5
Permission is hereby granted, free of charge, to any person obtaining
6
a copy of this software and associated documentation files (the
7
"Software"), to deal in the Software without restriction, including
8
without limitation the rights to use, copy, modify, merge, publish,
9
distribute, sublicense, and/or sell copies of the Software, and to
10
permit persons to whom the Software is furnished to do so, subject to
11
the following conditions:
13
The above copyright notice and this permission notice shall be included
14
in all copies or substantial portions of the Software.
16
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
/* OpenPrinting Vector Printer Driver Glue Code */
27
#ifndef _OPVP_COMMON_H_
28
#define _OPVP_COMMON_H_
30
#include "opvp_0_2_0.h"
31
#undef _PDAPI_VERSION_MAJOR_
32
#undef _PDAPI_VERSION_MINOR_
33
/* undefine conflicted macros */
34
#undef OPVP_INFO_PREFIX
36
#undef OPVP_FATALERROR
37
#undef OPVP_BADREQUEST
38
#undef OPVP_BADCONTEXT
39
#undef OPVP_NOTSUPPORTED
40
#undef OPVP_JOBCANCELED
41
#undef OPVP_PARAMERROR
42
/* define 0_2 error no as different macros */
43
#define OPVP_FATALERROR_0_2 -101
44
#define OPVP_BADREQUEST_0_2 -102
45
#define OPVP_BADCONTEXT_0_2 -103
46
#define OPVP_NOTSUPPORTED_0_2 -104
47
#define OPVP_JOBCANCELED_0_2 -105
48
#define OPVP_PARAMERROR_0_2 -106
51
#define OPVP_INFO_PREFIX ""
53
#endif /* _OPVP_COMMON_H_ */