1 | /*DDK*************************************************************************/
|
---|
2 | /* */
|
---|
3 | /* COPYRIGHT Copyright (C) 1991, 2003 IBM Corporation */
|
---|
4 | /* */
|
---|
5 | /* The following IBM OS/2 source code is provided to you solely for */
|
---|
6 | /* the purpose of assisting you in your development of OS/2 device */
|
---|
7 | /* drivers. You may use this code in accordance with the IBM License */
|
---|
8 | /* Agreement provided in the IBM Developer Connection Device Driver */
|
---|
9 | /* Source Kit for OS/2. This Copyright statement may not be removed. */
|
---|
10 | /* */
|
---|
11 | /*****************************************************************************/
|
---|
12 | /**************************************************************************
|
---|
13 | *
|
---|
14 | * SOURCE FILE NAME = CONFIG.H
|
---|
15 | *
|
---|
16 | * DESCRIPTIVE NAME = Configuration variables
|
---|
17 | *
|
---|
18 | *
|
---|
19 | * VERSION = V1.0
|
---|
20 | *
|
---|
21 | * DATE
|
---|
22 | *
|
---|
23 | * DESCRIPTION Configuration variable externs, config function prototypes
|
---|
24 | *
|
---|
25 | *
|
---|
26 | * FUNCTIONS
|
---|
27 | *
|
---|
28 | *
|
---|
29 | *
|
---|
30 | * NOTES
|
---|
31 | *
|
---|
32 | *
|
---|
33 | * STRUCTURES
|
---|
34 | *
|
---|
35 | * EXTERNAL REFERENCES
|
---|
36 | *
|
---|
37 | * EXTERNAL FUNCTIONS
|
---|
38 | *
|
---|
39 | */
|
---|
40 |
|
---|
41 | // config.h
|
---|
42 | // our configuration!
|
---|
43 |
|
---|
44 | // current language (path to mrilang.txt) (optional)
|
---|
45 | extern PSZ MRI_LANG;
|
---|
46 | // list of input PPD files (optional)
|
---|
47 | extern PSZ PPD_FILE_LIST;
|
---|
48 | // list of input AFM files (optional)
|
---|
49 | extern PSZ AFM_FILE_LIST;
|
---|
50 | // path where to put PPB files produced
|
---|
51 | extern PSZ OUTPUT_PPB;
|
---|
52 |
|
---|
53 | // path of driver that will be updated when PAK is produced
|
---|
54 | extern PSZ OUTPUT_DRV;
|
---|
55 | // path where to create PAK
|
---|
56 | extern CHAR OUTPUT_PAK[];
|
---|
57 | // PAK filename (will add to REQUIREDFILES ea)
|
---|
58 | extern PSZ OUTPUT_PAK_FILENAME;
|
---|
59 |
|
---|
60 | // where to take the PPD files from
|
---|
61 | extern CHAR PPD_SOURCE_PATH[];
|
---|
62 |
|
---|
63 | // where to take AFM files from
|
---|
64 | extern CHAR AFM_SOURCE_PATH[];
|
---|
65 |
|
---|
66 |
|
---|
67 | // action user requested us to take:
|
---|
68 |
|
---|
69 | #define ACTION_PRODUCE_PPB 1
|
---|
70 | #define ACTION_PRODUCE_PAK 2
|
---|
71 | #define ACTION_PRODUCE_AFM 3
|
---|
72 |
|
---|
73 | extern int iAction;
|
---|
74 |
|
---|
75 | // command line parse functions for IPIN
|
---|
76 | int InternalPpbConfig(int argc,char *argv[]);
|
---|
77 | int InternalAfmConfig(int argc,char *argv[]);
|
---|
78 | int InternalPakConfig(int argc,char *argv[]);
|
---|
79 |
|
---|
80 | // command line parse functions for consumer version (PIN)
|
---|
81 | int PakConfig(int argc,char *argv[]);
|
---|
82 | int AfmConfig(int argc,char *argv[]);
|
---|
83 |
|
---|