comparison Mac/Include/pythonresources.h @ 6290:47fa3ddfb090 legacy-trunk

Added old-exceptions and no-site-python options and upped preference version to 4. Added balloon-help item to options dialog.
author Jack Jansen <jack.jansen@cwi.nl>
date Tue, 09 Sep 1997 13:50:40 +0000
parents 33ef7ba6e74b
children fa85a7fd740b
comparison
equal deleted inserted replaced
6289:65446044fb8f 6290:47fa3ddfb090
60 #define OPT_DIALOG 131 /* Resource ID for dialog */ 60 #define OPT_DIALOG 131 /* Resource ID for dialog */
61 #define OPT_OK 1 61 #define OPT_OK 1
62 #define OPT_CANCEL 2 62 #define OPT_CANCEL 2
63 #define OPT_INSPECT 3 63 #define OPT_INSPECT 3
64 #define OPT_VERBOSE 4 64 #define OPT_VERBOSE 4
65 #define OPT_SUPPRESS 5 65 #define OPT_OPTIMIZE 5
66 #define OPT_UNBUFFERED 6 66 #define OPT_UNBUFFERED 6
67 #define OPT_DEBUGGING 7 67 #define OPT_DEBUGGING 7
68 #define OPT_KEEPNORMAL 8 68 #define OPT_KEEPNORMAL 8
69 #define OPT_KEEPERROR 9 69 #define OPT_KEEPERROR 9
70 #define OPT_CMDLINE 10 70 #define OPT_CMDLINE 10
71 #define OPT_OLDEXC 13
72 #define OPT_NOSITE 14
73 #define OPT_HELP 16
71 74
72 /* Dialog for 'No preferences directory' */ 75 /* Dialog for 'No preferences directory' */
73 #define NOPREFDIR_ID 133 76 #define NOPREFDIR_ID 133
74 77
75 /* Dialog for 'Bad or outdated preferences' */ 78 /* Dialog for 'Bad or outdated preferences' */
124 #define PYTHONHOMEOVERRIDE_ID 129 127 #define PYTHONHOMEOVERRIDE_ID 129
125 128
126 /* The Python options resource and offset of its members */ 129 /* The Python options resource and offset of its members */
127 #define PYTHONOPTIONS_ID 128 130 #define PYTHONOPTIONS_ID 128
128 #define PYTHONOPTIONSOVERRIDE_ID 129 131 #define PYTHONOPTIONSOVERRIDE_ID 129
132 #if 0
129 #define POPT_INSPECT 0 133 #define POPT_INSPECT 0
130 #define POPT_VERBOSE 1 134 #define POPT_VERBOSE 1
131 #define POPT_OPTIMIZE 2 135 #define POPT_OPTIMIZE 2
132 #define POPT_UNBUFFERED 3 136 #define POPT_UNBUFFERED 3
133 #define POPT_DEBUGGING 4 137 #define POPT_DEBUGGING 4
134 #define POPT_KEEPNORM 5 138 #define POPT_KEEPNORM 5
135 #define POPT_KEEPERR 6 139 #define POPT_KEEPERR 6
140 #endif
136 141
137 #define POPT_VERSION_CURRENT 3 /* Current version number */ 142 #define POPT_VERSION_CURRENT 4 /* Current version number */
138 143
139 typedef struct PyMac_PrefRecord { 144 typedef struct PyMac_PrefRecord {
140 unsigned char version; 145 unsigned char version;
141 unsigned char inspect; 146 unsigned char inspect;
142 unsigned char verbose; 147 unsigned char verbose;
145 unsigned char debugging; 150 unsigned char debugging;
146 unsigned char keep_normal; 151 unsigned char keep_normal;
147 unsigned char keep_error; 152 unsigned char keep_error;
148 unsigned char nointopt; 153 unsigned char nointopt;
149 unsigned char noargs; 154 unsigned char noargs;
155 unsigned char oldexc;
156 unsigned char nosite;
150 } PyMac_PrefRecord; 157 } PyMac_PrefRecord;
151 158
152 /* The GUSI options resources */ 159 /* The GUSI options resources */
153 #define GUSIOPTIONS_ID 10240 160 #define GUSIOPTIONS_ID 10240
154 #define GUSIOPTIONSOVERRIDE_ID 10241 161 #define GUSIOPTIONSOVERRIDE_ID 10241