systemresources.pp 25 KB

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