~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to packages/extra/palmunits/systemresources.pp

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2004-08-12 16:29:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040812162937-moo8ulvysp1ln771
Tags: 1.9.4-5
fp-compiler: needs ld, adding dependency on binutils.  (Closes: #265265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{$MACRO ON}
 
2
 
 
3
(******************************************************************************
 
4
 *
 
5
 * Copyright (c) 1995-2000 Palm, Inc. or its subsidiaries.
 
6
 * All rights reserved.
 
7
 *
 
8
 * File: SystemResources.h
 
9
 *
 
10
 * Release: Palm OS SDK 4.0 (63220)
 
11
 *
 
12
 * Description:
 
13
 *    Include file for both PalmRez and the C Compiler. This file contains
 
14
 *  equates used by both tools. When compiling using the C compiler
 
15
 *  the variable RESOURCE_COMPILER must be defined.
 
16
 *
 
17
 * History:
 
18
 *    02/27/95 ron   Created by Ron Marianetti
 
19
 *    08/04/95 vmk   Added system resource id for Desktop Link user info
 
20
 *    02/03/98 tlw   Changed sysFileCDefaultApp from sysFileCMemory which
 
21
 *                   no longer exists to sysFileCPreferences.
 
22
 *    6/23/98  jhl   Added FlashMgr resource
 
23
 *    06/23/98 jhl   Added FlashMgr resource
 
24
 *    05/05/99 kwk   Added simulator creator/file types, also the
 
25
 *                   Japanese user dict panel creator and the TSM
 
26
 *                   library creator.
 
27
 *    05/06/99 lyl   Added OEM System File type
 
28
 *    06/25/99 kwk   Added sysResIDAppPrefs & sysResIDOverlayFeatures.
 
29
 *    07/14/99 kwk   Added sysResTSilkscreen.
 
30
 *    08/08/99 kwk   Added sysFileCJEDict.
 
31
 *    09/20/99 kwk   Added keyboard feature for reentrancy check.
 
32
 *    04/11/00 CS    Added sysFileCLZ77Lib, sysResTCompressedDB, and
 
33
 *                   sysResIDCompressedDB to support saving compressed DBs
 
34
 *                   inside apps (e.g. GraffitiDemo inside Setup).
 
35
 *    05/12/00 kwk   Added sysFileTLocaleModule.
 
36
 *    08/29/00 spk   added sysFileCPalmDevice
 
37
 *    09/13/00 djk   added bluetooth creator types
 
38
 *    10/27/00 CS    Added sysFileCSmsMessenger, sysFileCNetTrace, sysFileCPing,
 
39
 *                   sysResTFontMap, sysFileTStdIO, and sysFileCLanguagePicker.
 
40
 *             CS    Moved sysFileCSdSpiCard up to live with other DB creators.
 
41
 *
 
42
 *****************************************************************************)
 
43
 
 
44
unit systemresources;
 
45
 
 
46
interface
 
47
 
 
48
//-----------------------------------------------------------
 
49
// This section is common to both the C and Resource Compiler
 
50
//-----------------------------------------------------------
 
51
 
 
52
//................................................................
 
53
// File types and creators
 
54
//
 
55
//  Each database shall have a creator ID and a type.
 
56
//
 
57
//  The creator ID shall establish which application, patch, or extension
 
58
//  a particular database is associated with.  The creator ID should identify
 
59
//  the application/patch/extension, NOT who created it.
 
60
//
 
61
//  The type will determine which part of an application,
 
62
//  patch, or extension a particular database is.
 
63
//
 
64
//  There can be only one database per application, patch, or extension
 
65
//  which has type 'application', 'patch', or 'extension'.
 
66
//
 
67
//  Creators:
 
68
//
 
69
//  ROM-based applications created by Palm Computing have all-lower case
 
70
//  creator ID's.  Third-party applications have creator ID's which
 
71
//  are either all caps, or mixed case.  The same requirements go for
 
72
//  system patches and extensions.
 
73
//
 
74
//  All applications, system patches and extensions shall have unique creator
 
75
//  ID's.
 
76
//
 
77
//  Types:
 
78
//
 
79
//  'Application', 'Extension', and 'Patch' file/database types for ROM-based
 
80
//  apps shall be all-lower case (they are defined below).  Other
 
81
//  file/database types must be mixed-case,
 
82
//  or all caps.  These other types are internal to the applications, and
 
83
//  therefore the system is unconcerned with their exact values.
 
84
//................................................................
 
85
{$define Rsc := }
 
86
const
 
87
  sysFileCSystem                  = Rsc('psys'); // Creator type for System files
 
88
  sysFileCOEMSystem               = Rsc('poem'); // Creator type for OEM System files
 
89
  sysFileCPalmDevice              = Rsc('pdvc'); // Creator type for Palm Devices, analogous to 'poem'
 
90
  sysFileCGraffiti                = Rsc('graf'); // Creator type for Graffiti databases
 
91
  sysFileCSystemPatch             = Rsc('ptch'); // Creator for System resource file patches
 
92
 
 
93
  sysFileCCalculator              = Rsc('calc'); // Creator type for Calculator App
 
94
  sysFileCSecurity                = Rsc('secr'); // Creator type for Security App
 
95
  sysFileCPreferences             = Rsc('pref'); // Creator type for Preferences App
 
96
  sysFileCAddress                 = Rsc('addr'); // Creator type for Address App
 
97
  sysFileCToDo                    = Rsc('todo'); // Creator type for To Do App
 
98
  sysFileCDatebook                = Rsc('date'); // Creator type for Datebook App
 
99
  sysFileCMemo                    = Rsc('memo'); // Creator type for MemoPad App
 
100
  sysFileCSync                    = Rsc('sync'); // Creator type for HotSync App
 
101
  sysFileCMemory                  = Rsc('memr'); // Creator type for Memory App
 
102
  sysFileCMail                    = Rsc('mail'); // Creator type for Mail App
 
103
  sysFileCExpense                 = Rsc('exps'); // Creator type for Expense App
 
104
  sysFileCLauncher                = Rsc('lnch'); // Creator type for Launcher App
 
105
  sysFileCClipper                 = Rsc('clpr'); // Creator type for clipper app.
 
106
  sysFileCDial                    = Rsc('dial'); // Creator type for dial app.
 
107
  sysFileCSetup                   = Rsc('setp'); // Creator type for setup app.
 
108
  sysFileCActivate                = Rsc('actv'); // Creator type for activation app.
 
109
  sysFileCGenenicActivate         = Rsc('gafd'); // New Generic Activation application working for all Palm models
 
110
  sysFileCFlashInstaller          = Rsc('fins'); // Creator type for FlashInstaller app.
 
111
  sysFileCRFDiag                  = Rsc('rfdg'); // Creator type for RF diagnostics app.
 
112
  sysFileCMessaging               = Rsc('msgs'); // Creator type for Messaging App
 
113
  sysFileCModemFlashTool          = Rsc('gsmf'); // Creator type for Palm V modem flash app.
 
114
  sysFileCJEDict                  = Rsc('dict'); // Creator type for JEDict app.
 
115
  sysFileHotSyncServer            = Rsc('srvr'); // Creator type for HotSync(R) Server app.
 
116
  sysFileHotSyncServerUpdate      = Rsc('hssu'); // Creator type for HotSync(R) Server update app.
 
117
 
 
118
   sysFileCCardInfo               = Rsc('cinf'); // Creator type for the Card info app.
 
119
   sysFileCPhone                  = Rsc('fone'); // Creator type for integrated phone components.
 
120
   sysFileCSmsMessenger           = Rsc('smsm'); // Creator type for SMS messenger app.
 
121
   sysFileCNetTrace               = Rsc('nett'); // Creator type for Net Trace StdIO app.
 
122
   sysFileCPing                   = Rsc('ping'); // Creator type for Ping StdIO app.
 
123
   sysFileCLanguagePicker         = Rsc('lpkr'); // Creator type for Language Picker app.
 
124
 
 
125
// The following apps are manufacturing, calibration and maintenance related
 
126
   sysFileCMfgExtension           = Rsc('mfx1'); // Creator type for Manufacturing Extension.
 
127
   sysFileCMfgFunctional          = Rsc('mfgf'); // Creator type for Manufacturing functional test autostart app.
 
128
   sysFileCMfgCalibration         = Rsc('mfgc'); // Creator type for Manufacturing radio calibration app.
 
129
 
 
130
// Demo Apps
 
131
  sysFileCGraffitiDemo            = Rsc('gdem'); // Creator type for Graffiti Demo
 
132
  sysFileCMailDemo                = Rsc('mdem'); // Creator type for Mail Demo
 
133
 
 
134
  sysFileCFirstApp                = sysFileCPreferences; // Creator type for First App after reset
 
135
  sysFileCAltFirstApp             = sysFileCSetup;       // Creator type for First alternate App after reset (with hard key pressed)
 
136
  sysFileCDefaultApp              = sysFileCPreferences; // Creator type for Default app
 
137
  sysFileCDefaultButton1App       = sysFileCDatebook;    // Creator type for dflt hard button 1 app
 
138
  sysFileCDefaultButton2App       = sysFileCAddress;     // Creator type for dflt hard button 2 app
 
139
  sysFileCDefaultButton3App       = sysFileCToDo;        // Creator type for dflt hard button 3 app
 
140
  sysFileCDefaultButton4App       = sysFileCMemo;        // Creator type for dflt hard button 4 app
 
141
  sysFileCDefaultCalcButtonApp    = sysFileCCalculator;  // Creator type for dflt calc button app
 
142
  sysFileCDefaultCradleApp        = sysFileCSync;        // Creator type for dflt hot sync button app
 
143
  sysFileCDefaultModemApp         = sysFileCSync;        // Creator type for dflt modem button app
 
144
  sysFileCDefaultAntennaButtonApp = sysFileCLauncher;    // Creator type for dflt antenna up button app
 
145
  sysFileCNullApp                 = Rsc('0000'); // Creator type for non-existing app
 
146
  sysFileCSimulator               = Rsc('????'); // Creator type for Simulator files (app.tres, sys.tres)
 
147
                                                 //  '????' does not compile with VC++ (Elaine Server)
 
148
 
 
149
  sysFileCDigitizer               = Rsc('digi'); // Creator type for Digitizer Panel
 
150
  sysFileCDateTime                = Rsc('dttm'); // Creator type for Date & Time Panel
 
151
  sysFileCGeneral                 = Rsc('gnrl'); // Creator type for General Panel
 
152
  sysFileCFormats                 = Rsc('frmt'); // Creator type for Formats Panel
 
153
  sysFileCShortCuts               = Rsc('shct'); // Creator type for ShortCuts Panel
 
154
  sysFileCButtons                 = Rsc('bttn'); // Creator type for Buttons Panel
 
155
  sysFileCOwner                   = Rsc('ownr'); // Creator type for Owner Panel
 
156
  sysFileCModemPanel              = Rsc('modm'); // Creator type for Modem Panel
 
157
  sysFileCDialPanel               = Rsc('dial'); // Creator type for Dial Panel
 
158
  sysFileCNetworkPanel            = Rsc('netw'); // Creator type for Network Panel
 
159
  sysFileCWirelessPanel           = Rsc('wclp'); // Creator type for the wireless Panel.
 
160
  sysFileCUserDict                = Rsc('udic'); // Creator type for the UserDict panel.
 
161
  sysFileCPADHtal                 = Rsc('hpad'); // Creator type for PAD HTAL lirary
 
162
  sysFileCTCPHtal                 = Rsc('htcp'); // Creator type for TCP HTAL lirary
 
163
  sysFileCRELHtal                 = Rsc('hrel'); // Creator type for REL HTAL library
 
164
  sysFileCMineHunt                = Rsc('mine'); // Creator type for MineHunt App
 
165
  sysFileCPuzzle15                = Rsc('puzl'); // Creator type for Puzzle "15" App
 
166
  sysFileCOpenLibInfo             = Rsc('olbi'); // Creator type for Feature Manager features
 
167
                                                                                                   // used for saving open library info under PalmOS v1.x
 
168
  sysFileCHwrFlashMgr             = Rsc('flsh'); // Creator type for HwrFlashMgr features
 
169
  sysFileCPhonePanel              = Rsc('phop'); // Creator type for Phone Panel
 
170
 
 
171
// Added by BGT, 08/01/2000
 
172
  sysFileDRAMFixOriginal          = Rsc('mmfx'); // Creator type for 1.0 DRAM Fix
 
173
  sysFileDRAMFix                  = Rsc('dmfx'); // Creator type for 1.0.3 DRAM Fix and later
 
174
 
 
175
// Libraries.  If the resource used by these are expected to be treated as part of
 
176
// the system's usage then the Memory app must be changed.
 
177
  sysFileTLibrary                 = Rsc('libr'); // File type of Shared Libraries
 
178
  sysFileTLibraryExtension        = Rsc('libx'); // File type of library extensions
 
179
 
 
180
  sysFileCNet                     = Rsc('netl'); // Creator type for Net (TCP/IP) Library
 
181
  sysFileCRmpLib                  = Rsc('netp'); // Creator type for RMP Library (NetLib plug-in)
 
182
  sysFileCINetLib                 = Rsc('inet'); // Creator type for INet Library
 
183
  sysFileCSecLib                  = Rsc('secl'); // Creator type for Ir Library
 
184
  sysFileCWebLib                  = Rsc('webl'); // Creator type for Web Library
 
185
  sysFileCIrLib                   = Rsc('irda'); // Creator type for Ir Library
 
186
 
 
187
  sysFileCBtLib                   = Rsc('blth'); // Creator type for Bt Library
 
188
  sysFileCBtTransLib              = Rsc('bttx'); // Creator for the Bt HCI Transport library
 
189
  sysFileCLocalLib                = Rsc('locl'); // Creator type for Local exchange library
 
190
  sysFileCLz77Lib                 = Rsc('lz77'); // Creator type for LZ77 Library (Registered)
 
191
  sysFileCSmsLib                  = Rsc('smsl'); // Creator type for SMS Library
 
192
  sysFileCBtExgLib                = Rsc('btex'); // Creator type for Bluetooth Exchange Library
 
193
  sysFileCPdiLib                  = Rsc('pdil'); // Creator type for PDI Library
 
194
  sysFileCTelMgrLib               = Rsc('tmgr'); // Creator type for Telephony Manager Library
 
195
  sysFileCTelTaskSerial           = Rsc('spht'); // Creator type for Serial Telephony Task
 
196
  sysFileTTelTaskSerial           = Rsc('ttsk'); // File type for Serial Telephony Task
 
197
  sysFileCBaseATDriver            = Rsc('patd'); // Creator type for the Base AT Driver
 
198
  sysFileTBaseATDriver            = Rsc('patd'); // File type for the Base AT Driver (same as Creator)
 
199
  sysFileCStandardGsm             = Rsc('stgd'); // Creator type for the Standard GSM Driver
 
200
  sysFileTPhoneDriver             = Rsc('pdrv'); // File type for Phone Drivers of Telephony Task
 
201
 
 
202
  sysFileCSerialMgr               = Rsc('smgr'); // Creator for SerialMgrNew used for features.
 
203
  sysFileCSerialWrapper           = Rsc('swrp'); // Creator type for Serial Wrapper Library.
 
204
  sysFileCIrSerialWrapper         = Rsc('iwrp'); // Creator type for Ir Serial Wrapper Library.
 
205
  sysFileCTextServices            = Rsc('tsml'); // Creator type for Text Services Library.
 
206
 
 
207
  sysFileTUartPlugIn              = Rsc('sdrv'); // File type for SerialMgrNew physical port plug-in.
 
208
  sysFileTVirtPlugin              = Rsc('vdrv'); // Flir type for SerialMgrNew virtual port plug-in.
 
209
  sysFileCUart328                 = Rsc('u328'); // Creator type for '328 UART plug-in
 
210
  sysFileCUart328EZ               = Rsc('u8EZ'); // Creator type for '328EZ UART plug-in
 
211
  sysFileCUart650                 = Rsc('u650'); // Creator type for '650 UART plug-in
 
212
  sysFileCVirtIrComm              = Rsc('ircm'); // Creator type for IrComm virtual port plug-in.
 
213
 
 
214
  sysFileCVirtRfComm              = Rsc('rfcm'); // Creator type for RfComm (Bluetooth) virtual port plug-in.
 
215
  sysFileCBtConnectPanelHelper    = Rsc('btcp'); // Creator type for the Bt Connection Panel helper app.
 
216
  sysFileCPDIUSBD12               = Rsc('pusb'); // Creator type for USB database
 
217
  sysPortUSBDesktop               = Rsc('usbd'); // Creator type for USB Desktop
 
218
  sysPortUSBConsole               = Rsc('usbc'); // Creator type for USB Console
 
219
  sysPortUSBPeripheral            = Rsc('usbp'); // Creator type for USB Peripheral
 
220
  sysFileCsyscallConnector       = Rsc('econ'); // Creator type for the syscall connector
 
221
  sysFileCExpansionMgr            = Rsc('expn'); // Creator of Expansion Manager extension database
 
222
  sysFileCVFSMgr                  = Rsc('vfsm'); // Creator code for VFSMgr...
 
223
  sysFileCFATFS                   = Rsc('tatf'); // Creator type for FAT filesystem library
 
224
  sysFileCSdSpiCard               = Rsc('sdsd'); // Creator type for Slot Driver: SD bus, SPI mode, memory cards
 
225
  sysFileCSlotDriverPnps          = Rsc('pnps'); // Creator ID for Pnps Serial Peripheral Slot Driver
 
226
 
 
227
  sysFileTSystem                  = Rsc('rsrc'); // File type for Main System File
 
228
  sysFileTSystemPatch             = Rsc('ptch'); // File type for System resource file patches
 
229
  sysFileTKernel                  = Rsc('krnl'); // File type for System Kernel (AMX)
 
230
  sysFileTBoot                    = Rsc('boot'); // File type for SmallROM System File
 
231
  sysFileTSmallHal                = Rsc('shal'); // File type for SmallROM HAL File
 
232
  sysFileTBigHal                  = Rsc('bhal'); // File type for Main ROM HAL File
 
233
  sysFileTSplash                  = Rsc('spls'); // File type for Main ROM Splash File
 
234
  sysFileTUIAppShell              = Rsc('uish'); // File type for UI Application Shell
 
235
  sysFileTOverlay                 = Rsc('ovly'); // File type for UI overlay database
 
236
  sysFileTExtension               = Rsc('extn'); // File type for System Extensions
 
237
  sysFileTApplication             = Rsc('appl'); // File type for applications
 
238
  sysFileTPanel                   = Rsc('panl'); // File type for preference panels
 
239
  sysFileTSavedPreferences        = Rsc('sprf'); // File type for saved preferences
 
240
  sysFileTPreferences             = Rsc('pref'); // File type for preferences
 
241
  sysFileTMidi                    = Rsc('smfr'); // File type for Standard MIDI File record databases
 
242
  sysFileTpqa                     = Rsc('pqa '); // File type for the PQA files.
 
243
  sysFileTLocaleModule            = Rsc('locm'); // File type for locale modules.
 
244
  sysFileTActivationPlugin        = Rsc('actp'); // File type for activation plug-ins.
 
245
 
 
246
  sysFileTUserDictionary          = Rsc('dict'); // File type for input method user dictionary.
 
247
  sysFileTLearningData            = Rsc('lean'); // File type for input method learning data.
 
248
 
 
249
  sysFileTGraffitiMacros          = Rsc('macr'); //  Graffiti Macros database
 
250
 
 
251
  sysFileTHtalLib                 = Rsc('htal'); //  HTAL library
 
252
 
 
253
  sysFileTExgLib                  = Rsc('exgl'); // Type of Exchange libraries
 
254
 
 
255
  sysFileTSlotDriver              = Rsc('libs'); // File type for slot driver libraries
 
256
  sysFileTFileSystem              = Rsc('libf'); // File type for file system libraries
 
257
 
 
258
  sysFileTFileStream              = Rsc('strm'); //  Default File Stream database type
 
259
 
 
260
  sysFileTTemp                    = Rsc('temp'); //  Temporary database type; as of Palm OS 4.0, the
 
261
                                                                                                   //  system WILL automatically delete any db's of
 
262
                                                                                                   //  before exiting to protect valuable storage space)
 
263
// Begin Change - BGT 03/21/2000
 
264
 
 
265
  sysFileTNetworkPanelPlugin      = Rsc('nppi'); // File type for network preference panel plug-ins
 
266
 
 
267
// End Change - BGT 03/21/2000
 
268
 
 
269
  sysFileTScriptPlugin            = Rsc('scpt'); // File type for plugin to the Network Panel to
 
270
                                                                                                   // extend scripting capabilities.
 
271
  sysFileTStdIO                   = Rsc('sdio'); // File type for standard IO apps
 
272
 
 
273
  sysFileTSimulator               = Rsc('????'); // File type for Simulator files (app.tres, sys.tres)
 
274
                                                                                                   // '????' does not compile with VC++ (Elaine Server)
 
275
 
 
276
//................................................................
 
277
// Resource types and IDs
 
278
//................................................................
 
279
  sysResTBootCode                 = Rsc('boot'); // Resource type of boot resources
 
280
  sysResIDBootReset               = 10000; // Reset code
 
281
  sysResIDBootInitCode            = 10001; // Init code
 
282
  sysResIDBootSysCodeStart        = 10100; // System code resources start here
 
283
  sysResIDBootSysCodeMin          = 10102; // IDs 'Start' to this must exist!!
 
284
  sysResIDBootUICodeStart         = 10200; // UI code resources start here
 
285
  sysResIDBootUICodeMin           = 10203; // IDs 'Start' to this must exist!!
 
286
 
 
287
  sysResIDBootHAL                 = 19000; // HAL initial code resource (from HAL.prc)
 
288
  sysResIDBootHALCodeStart        = 19100; // start of additional high-level HAL code resources
 
289
 
 
290
  sysResIDBitmapSplash            = 19000; // ID of (boot) splash screen bitmap
 
291
  sysResIDBitmapConfirm           = 19001; // ID of hard reset confirmation bitmap
 
292
 
 
293
  sysResTAppPrefs                 = Rsc('pref'); // Resource type of App preferences resources
 
294
  sysResIDAppPrefs                = 0;     // Application preference
 
295
 
 
296
  sysResTExtPrefs                 = Rsc('xprf'); // Resource type of extended preferences
 
297
  sysResIDExtPrefs                = 0;     // Extended preferences
 
298
 
 
299
  sysResTAppCode                  = Rsc('code'); // Resource type of App code resources
 
300
  sysResTAppGData                 = Rsc('data'); // Resource type of App global data resources
 
301
 
 
302
  sysResTExtensionCode            = Rsc('extn'); // Resource type of Extensions code
 
303
  sysResTExtensionOEMCode         = Rsc('exte'); // Resource type of OEM Extensions code
 
304
 
 
305
  sysResTFeatures                 = Rsc('feat'); // Resource type of System features table
 
306
  sysResIDFeatures                = 10000; // Resource ID of System features table
 
307
  sysResIDOverlayFeatures         = 10001; // Resource ID of system overlay feature table.
 
308
 
 
309
  sysResTLibrary                  = Rsc('libr'); // Resource type of System Libraries
 
310
// sysResIDLibrarySerMgr328       = 10000; // Dragonball (68328) UART
 
311
// sysResIDLibrarySerMgr681       = 10001; // 68681 UART
 
312
// sysResIDLibraryRMPPlugIn       = 10002; // Reliable Message Protocol NetLib Plug-in
 
313
 
 
314
  sysResTSilkscreen               = Rsc('silk'); // Resource type of silkscreen info.
 
315
 
 
316
  sysResTGrfTemplate              = Rsc('tmpl'); // Graffiti templates "file"
 
317
  sysResIDGrfTemplate             = 10000; // Graffiti templates "file" ID
 
318
  sysResTGrfDictionary            = Rsc('dict'); // Graffiti dictionary "file"
 
319
  sysResIDGrfDictionary           = 10000; // Graffiti dictionary "file" ID
 
320
  sysResIDGrfDefaultMacros        = 10000; // sysResTDefaultDB resource with Graffiti Macros database
 
321
 
 
322
  sysResTDefaultDB                = Rsc('dflt'); // Default database resource type
 
323
  sysResIDDefaultDB               = 1;     // resource ID of sysResTDefaultDB in each app
 
324
  sysResTCompressedDB             = Rsc('cpdb'); // Compressed database resource type
 
325
  sysResIDCompressedDB            = 10000; // resource ID of first sysResTCompressedDB
 
326
 
 
327
  sysResTErrStrings               = Rsc('tSTL'); // list of error strings
 
328
  sysResIDErrStrings              = 10000; // resource ID is (errno>>8)+sysResIDErrStrings
 
329
 
 
330
  sysResIDOEMDBVersion            = 20001; // resource ID of "tver" and "tint" versions in OEM stamped databases
 
331
 
 
332
  sysResTButtonDefaults           = Rsc('hsbd'); // Hard/soft button default apps
 
333
  sysResIDButtonDefaults          = 10000; // resource ID of system button defaults resource
 
334
 
 
335
// System Preferences
 
336
  sysResTSysPref                  = sysFileCSystem;
 
337
  sysResIDSysPrefMain             = 0; // Main preferences
 
338
  sysResIDSysPrefPassword         = 1; // Password
 
339
  sysResIDSysPrefFindStr          = 2; // Find string
 
340
  sysResIDSysPrefCalibration      = 3; // Digitizer calibration.
 
341
  sysResIDDlkUserInfo             = 4; // Desktop Link user information.
 
342
  sysResIDDlkLocalPC              = 5; // Desktop Link local PC host name
 
343
  sysResIDDlkCondFilterTab        = 6; // Desktop Link conduit filter table
 
344
  sysResIDModemMgrPref            = 7; // Modem Manager preferences
 
345
  sysResIDDlkLocalPCAddr          = 8; // Desktop Link local PC host address
 
346
  sysResIDDlkLocalPCMask          = 9; // Desktop Link local PC host subnet mask
 
347
 
 
348
// These prefs store parameters to pass to an app when launched with a button
 
349
  sysResIDButton1Param            = 10; // Parameter for hard button 1 app
 
350
  sysResIDButton2Param            = 11; // Parameter for hard button 2 app
 
351
  sysResIDButton3Param            = 12; // Parameter for hard button 3 app
 
352
  sysResIDButton4Param            = 13; // Parameter for hard button 4 app
 
353
  sysResIDCalcButtonParam         = 14; // Parameter for calc button app
 
354
  sysResIDCradleParam             = 15; // Parameter for hot sync button app
 
355
  sysResIDModemParam              = 16; // Parameter for modem button app
 
356
  sysResIDAntennaButtonParam      = 17; // Parameter for antenna up button app
 
357
 
 
358
// New for Color, user's color preferences
 
359
  sysResIDPrefUIColorTableBase    = 17; // base + depth = ID of actual pref
 
360
  sysResIDPrefUIColorTable1       = 18; // User's UI colors for 1bpp displays
 
361
  sysResIDPrefUIColorTable2       = 19; // User's UI colors for 2bpp displays
 
362
  sysResIDPrefUIColorTable4       = 21; // User's UI colors for 4bpp displays
 
363
  sysResIDPrefUIColorTable8       = 25; // User's UI colors for 8bpp displays
 
364
  sysResIDSysPrefPasswordHint     = 26; // Password hint
 
365
  sysResIDSysPrefPasswordHash     = 27; // Password hash (MD5)
 
366
 
 
367
// FlashMgr Resources - old
 
368
  sysResTFlashMgr                 = Rsc('flsh');
 
369
  sysResIDFlashMgrWorkspace       = 1; // RAM workspace during flash activity
 
370
 
 
371
// FlashMgr Resources - new
 
372
  sysResTHwrFlashIdent            = Rsc('flid'); // Flash identification code resource
 
373
  sysResIDHwrFlashIdent           = 10000; // Flash identification code resource
 
374
 
 
375
  sysResTHwrFlashCode             = Rsc('flcd'); // Flash programming code resource
 
376
                                                                                                   // (resource ID determined by device type)
 
377
// FontMgr Resources
 
378
  sysResTFontMap                  = Rsc('fntm'); // Font map resource
 
379
 
 
380
// OEM Feature type and id.
 
381
  sysFtrTOEMSys                   = sysFileCOEMSystem;
 
382
  sysFtrIDOEMSysHideBatteryGauge  = 1;
 
383
 
 
384
// Onscreen keyboard features
 
385
  sysFtrTKeyboard                 = Rsc('keyb');
 
386
  sysFtrIDKeyboardActive          = 1; // Boolean value, true => keyboard is active.
 
387
                                       // Currently only used for Japanese.
 
388
 
 
389
// Activation status values.
 
390
  sysActivateStatusFeatureIndex   = 1;
 
391
  sysActivateNeedGeorgeQuery      = 0;
 
392
  sysActivateNeedMortyQuery       = 1;
 
393
  sysActivateFullyActivated       = 2;
 
394
 
 
395
  sysMaxUserDomainNameLength      = 64;
 
396
 
 
397
// Current clipper feature indeces
 
398
  sysClipperPQACardNoIndex        = 1;
 
399
  sysClipperPQADbIDIndex          = 2;
 
400
 
 
401
//-----------------------------------------------------------
 
402
// This section is only valid when running the resource compiler
 
403
//
 
404
// Actually, this section is obsolete.  Instear, .r files should
 
405
// inlude SysResTypes.rh to get these definitions.
 
406
//
 
407
//-----------------------------------------------------------
 
408
 
 
409
implementation
 
410
 
 
411
end.
 
 
b'\\ No newline at end of file'