#ifndef __SYSTEMRESOURCES_H__ #define __SYSTEMRESOURCES_H__ #define sysFileTsdio 0x7364696F // 'sdio': stdio #define sysFileCping 0x70696E67 // 'ping' #define sysFileCnett 0x6E657474 // 'nett' #define sysFileCpalm 0x70616C6D // 'palm' #define sysFileCrdio 0x7264696F // 'rdio' #define sysFileCGira 0x47697261 // 'Gira' /****************************************************************************** ****************************************************************************** *** From /SrcShared/Palm/Platform/Incs/Core/UI/UIResources.h ****************************************************************************** ******************************************************************************/ #define bsBitmapRsc 0x54627362 // 'Tbsb' /****************************************************************************** ****************************************************************************** *** From /SrcShared/Palm/Platform/Incs/Core/System/NetMgr.h ****************************************************************************** ******************************************************************************/ /************************************** * Our own additions */ #define sysFileTneti 0x6E657469 // 'neti': Filetype of all Network Interface #define sysFileTloop 0x6C6F6F70 // 'loop': Loopback network interface creator. #define sysFileTslip 0x736C6970 // 'slip': SLIP network interface creator. #define sysFileTppp 0x7070705F // 'ppp_': PPP network interface creator. #define sysFileTram 0x72616D5F // 'ram_': Mobitex network interface creator #define sysFileCneti 0x6E657469 // 'neti': Filetype of all Network Interface #define sysFileCloop 0x6C6F6F70 // 'loop': Loopback network interface creator. #define sysFileCslip 0x736C6970 // 'slip': SLIP network interface creator. #define sysFileCppp 0x7070705F // 'ppp_': PPP network interface creator. #define sysFileCram 0x72616D5F // 'ram_': Mobitex network interface creator /**************************************/ #define netIFFileType 0x6E657469 // 'neti': Filetype of all Network Interface // Each Network interface has a unique creator: #define netIFCreatorLoop 0x6C6F6F70 // 'loop': Loopback network interface creator. #define netIFCreatorSLIP 0x736C6970 // 'slip': SLIP network interface creator. #define netIFCreatorPPP 0x7070705F // 'ppp_': PPP network interface creator. // #define netIFCreatorRAM 0x72616D5F // 'ram_': Mobitex network interface creator /****************************************************************************** ****************************************************************************** *** From /SrcShared/Palm/Platform/Incs/Core/System/SystemResources.h ****************************************************************************** ******************************************************************************/ /****************************************************************************** * * Copyright (c) 1995-1999 Palm Computing, Inc. or its subsidiaries. * All rights reserved. * * File: SystemResources.h * * Description: * Include file for both PalmRez and the C Compiler. This file contains * equates used by both tools. When compiling using the C compiler * the variable RESOURCE_COMPILER must be defined. * * History: * 02/27/95 ron Created by Ron Marianetti * 08/04/95 vmk Added system resource id for Desktop Link user info * 02/03/98 tlw Changed sysFileCDefaultApp from sysFileCMemory which * no longer exists to sysFileCPreferences. * 6/23/98 jhl Added FlashMgr resource * 06/23/98 jhl Added FlashMgr resource * 05/05/99 kwk Added simulator creator/file types, also the * Japanese user dict panel creator and the TSM * library creator. * 05/06/99 lyl Added OEM System File type * 06/25/99 kwk Added sysResIDAppPrefs & sysResIDOverlayFeatures. * 07/14/99 kwk Added sysResTSilkscreen. * 08/08/99 kwk Added sysFileCJEDict. * 09/20/99 kwk Added keyboard feature for reentrancy check. * *****************************************************************************/ //----------------------------------------------------------- // This section is common to both the C and Resource Compiler //----------------------------------------------------------- //................................................................ // File types and creators // // Each database shall have a creator ID and a type. // // The creator ID shall establish which application, patch, or extension // a particular database is associated with. The creator ID should identify // the application/patch/extension, NOT who created it. // // The type will determine which part of an application, // patch, or extension a particular database is. // // There can be only one database per application, patch, or extension // which has type 'application', 'patch', or 'extension'. // // Creators: // // ROM-based applications created by Palm Computing have all-lower case // creator ID's. Third-party applications have creator ID's which // are either all caps, or mixed case. The same requirements go for // system patches and extensions. // // All applications, system patches and extensions shall have unique creator // ID's. // // Types: // // 'Application', 'Extension', and 'Patch' file/database types for ROM-based // apps shall be all-lower case (they are defined below). Other // file/database types must be mixed-case, // or all caps. These other types are internal to the applications, and // therefore the system is unconcerned with their exact values. //................................................................ #define sysFileCSystem 0x70737973 // 'psys': Creator type for // System files #define sysFileCOEMSystem 0x706F656D // 'poem': Creator type for // OEM System files #define sysFileCGraffiti 0x67726166 // 'graf': Creator type for // Graffiti databases #define sysFileCSystemPatch 0x70746368 // 'ptch': Creator for // System resource file patches #define sysFileCCalculator 0x63616C63 // 'calc': Creator type for // Calculator App #define sysFileCSecurity 0x73656372 // 'secr': Creator type for // Security App #define sysFileCPreferences 0x70726566 // 'pref': Creator type for // Preferences App #define sysFileCAddress 0x61646472 // 'addr': Creator type for // Address App #define sysFileCToDo 0x746F646F // 'todo': Creator type for // To Do App #define sysFileCDatebook 0x64617465 // 'date': Creator type for // Datebook App #define sysFileCMemo 0x6D656D6F // 'memo': Creator type for // MemoPad App #define sysFileCSync 0x73796E63 // 'sync': Creator type for // HotSync App #define sysFileCMemory 0x6D656D72 // 'memr': Creator type for // Memory App #define sysFileCMail 0x6D61696C // 'mail': Creator type for // Mail App #define sysFileCExpense 0x65787073 // 'exps': Creator type for // Expense App #define sysFileCLauncher 0x6C6E6368 // 'lnch': Creator type for // Launcher App #define sysFileCClipper 0x636C7072 // 'clpr': Creator type for // clipper app. #define sysFileCSetup 0x73657470 // 'setp': Creator type for // setup app. #define sysFileCActivate 0x61637476 // 'actv': Creator type for // activation app. #define sysFileCFlashInstaller 0x66696E73 // 'fins': Creator type for // FlashInstaller app. #define sysFileCRFDiag 0x72666467 // 'rfdg': Creator type for // RF diagnostics app. #define sysFileCMessaging 0x6D736773 // 'msgs': Creator type for // Messaging App #define sysFileCModemFlashTool 0x67736D66 // 'gsmf': Creator type for // Palm V modem flash app. #define sysFileCJEDict 0x64696374 // 'dict': Creator type for // JEDict app. #define sysFileHotSyncServer 0x73727672 // 'srvr': Creator type for // HotSync(R) Server app. #define sysFileHotSyncServerUpdate 0x68737375 // 'hssu': Creator type for // HotSync(R) Server update app. // The following two apps are manufacturing, calibration and maintenance related #define sysFileCMACUtilScreen 0x6D637574 // 'mcut': Creator type for // screen oriented MACUtil app. #define sysFileCMACUtilSerial 0x6D637573 // 'mcus': Creator type for // serial line driven MACUtil app. #define sysResIDMACUtilAutostart 10000 // Autostart serial MACUtil // Demo Apps #define sysFileCGraffitiDemo 0x6764656D // 'gdem': Creator type for // Graffiti Demo #define sysFileCMailDemo 0x6D64656D // 'mdem': Creator type for // Mail Demo #define sysFileCFirstApp sysFileCPreferences // Creator type for // First App after // reset #define sysFileCAltFirstApp sysFileCSetup // Creator type for // First alternate // App after reset // (with hard key // pressed) #define sysFileCDefaultApp sysFileCPreferences // Creator type for // Default app #define sysFileCDefaultButton1App sysFileCDatebook // Creator type for // dflt hard // button 1 app #define sysFileCDefaultButton2App sysFileCAddress // Creator type for // dflt hard // button 2 app #define sysFileCDefaultButton3App sysFileCToDo // Creator type for // dflt hard // button 3 app #define sysFileCDefaultButton4App sysFileCMemo // Creator type for // dflt hard // button 4 app #define sysFileCDefaultCalcButtonApp sysFileCCalculator // Creator type for // dflt calc // button app #define sysFileCDefaultCradleApp sysFileCSync // Creator type for // dflt hot sync // button app #define sysFileCDefaultModemApp sysFileCSync // Creator type for // dflt modem // button app #define sysFileCDefaultAntennaButtonApp sysFileCLauncher // Creator type for // dflt antenna up // button app #define sysFileCNullApp 0x30303030 // '0000': Creator type for // non-existing app #define sysFileCSimulator 0x3F3F3F3F // '????': Creator type for // Simulator files // (app.tres, // sys.tres) #define sysFileCDigitizer 0x64696769 // 'digi': Creator type for // Digitizer Panel #define sysFileCGeneral 0x676E726C // 'gnrl': Creator type for // General Panel #define sysFileCFormats 0x66726D74 // 'frmt': Creator type for // Formats Panel #define sysFileCShortCuts 0x73686374 // 'shct': Creator type for // ShortCuts Panel #define sysFileCButtons 0x6274746E // 'bttn': Creator type for // Buttons Panel #define sysFileCOwner 0x6F776E72 // 'ownr': Creator type for // Owner Panel #define sysFileCModemPanel 0x6D6F646D // 'modm': Creator type for // Modem Panel #define sysFileCDialPanel 0x6469616C // 'dial': Creator type for // Dial Panel #define sysFileCNetworkPanel 0x6E657477 // 'netw': Creator type for // Network Panel #define sysFileCWirelessPanel 0x77726C73 // 'wrls': Creator type for // the wireless Panel #define sysFileCUserDict 0x75646963 // 'udic': Creator type for // the UserDict panel #define sysFileCPADHtal 0x68706164 // 'hpad': Creator type for // PAD HTAL lirary #define sysFileCTCPHtal 0x68746370 // 'htcp': Creator type for // TCP HTAL lirary #define sysFileCMineHunt 0x6D696E65 // 'mine': Creator type for // MineHunt App #define sysFileCPuzzle15 0x70757A6C // 'puzl': Creator type for // Puzzle "15" App #define sysFileCOpenLibInfo 0x6F6C6269 // 'olbi': Creator type for // Feature Manager // features used for // saving open // library info // under PalmOS v1.x #define sysFileCHwrFlashMgr 0x666C7368 // 'flsh': Creator type for // HwrFlashMgr features // Libraries. If the resource used by these are expected to be treated as part of // the system's usage then the Memory app must be changed. #define sysFileTDefault 0x64666C74 // 'dflt': Default #define sysFileTLibrary 0x6C696272 // 'libr': File type of // Shared Libraries #define sysFileTLibraryExtension 0x6C696278 // 'libx': File type of // library extensions #define sysFileCNet 0x6E65746C // 'netl': Creator type for // Net (TCP/IP) Library #define sysFileCRmpLib 0x6E657470 // 'netp': Creator type for // RMP Library (NetLib plug-in) #define sysFileCINetLib 0x696E6574 // 'inet': Creator type for // INet Library #define sysFileCSecLib 0x7365636C // 'secl': Creator type for // Ir Library #define sysFileCWebLib 0x7765626C // 'webl': Creator type for // Web Library #define sysFileCIrLib 0x69726461 // 'irda': Creator type for // Ir Library #define sysFileCSerialMgr 0x736D6772 // 'smgr': Creator for // SerialMgrNew used // for features. #define sysFileCSerialWrapper 0x73777270 // 'swrp': Creator type for // Serial Wrapper // Library. #define sysFileCIrSerialWrapper 0x69777270 // 'iwrp': Creator type for // Ir Serial Wrapper // Library. #define sysFileCTextServices 0x74736D6C // 'tsml': Creator type for // Text Services // Library. #define sysFileTUartPlugIn 0x73647276 // 'sdrv': File type for // SerialMgrNew // physical port // plug-in. #define sysFileTVirtPlugin 0x76647276 // 'vdrv': Flir type for // SerialMgrNew // virtual port // plug-in. #define sysFileCUart328 0x75333238 // 'u328': Creator type for // '328 UART plug-in #define sysFileCUart328EZ 0x7538455A // 'u8EZ': Creator type for // '328EZ UART // plug-in #define sysFileCUart650 0x75363530 // 'u650': Creator type for // '650 UART plug-in #define sysFileCVirtIrComm 0x6972636D // 'ircm': Creator type for // IrComm virtual // port plug-in. #define sysFileTSystem 0x72737263 // 'rsrc': File type for // Main System File #define sysFileTSystemPatch 0x70746368 // 'ptch': File type for // System resource // file patches #define sysFileTKernel 0x6B726E6C // 'krnl': File type for // System Kernel // (AMX) #define sysFileTBoot 0x626F6F74 // 'boot': File type for // SmallROM System // File #define sysFileTSmallHal 0x7368616C // 'shal': File type for // SmallROM HAL File #define sysFileTBigHal 0x6268616C // 'bhal': File type for // Main ROM HAL File #define sysFileTSplash 0x73706C73 // 'spls': File type for // Main ROM Splash // File #define sysFileTUIAppShell 0x75697368 // 'uish': File type for // UI Application // Shell #define sysFileTOverlay 0x6F766C79 // 'ovly': File type for // UI overlay // database #define sysFileTExtension 0x6578746E // 'extn': File type for // System Extensions #define sysFileTApplication 0x6170706C // 'appl': File type for // applications #define sysFileTPanel 0x70616E6C // 'panl': File type for // preference panels #define sysFileTSavedPreferences 0x73707266 // 'sprf': File type for // saved preferences #define sysFileTPreferences 0x70726566 // 'pref': File type for // preferences #define sysFileTMidi 0x736D6672 // 'smfr': File type for // Standard MIDI // File record // databases #define sysFileTpqa 0x70716120 // 'pqa ': File type for // the PQA files. #define sysFileTUserDictionary 0x64696374 // 'dict': File type for // input method user // dictionary. #define sysFileTLearningData 0x6C65616E // 'lean': File type for // input method // learning data. #define sysFileTGraffitiMacros 0x6D616372 // 'macr': Graffiti Macros // database #define sysFileTHtalLib 0x6874616C // 'htal': HTAL library #define sysFileTExgLib 0x6578676C // 'exgl': Type of Exchange // libraries #define sysFileTFileStream 0x7374726D // 'strm': Default File // Stream database // type #define sysFileTTemp 0x74656D70 // 'temp': Temporary // database type; // in future // versions of // PalmOS (although // likely not // before 3.3), // the system may // automatically // delete any db's // of this type at // reset time // (however, apps // are still // responsible for // deleting the // ones they // create before // exiting to // protect // valuable // storage space) #define sysFileTScriptPlugin 0x73637074 // 'scpt': File type for // plugin to the // Network Panel to // extend scripting // capabilities. #define sysFileTSimulator 0x3F3F3F3F // '????': File type for // Simulator files // (app.tres, // sys.tres) //................................................................ // Resource types and IDs //................................................................ #define sysResTBootCode 0x626F6F74 // 'boot': Resource type of // boot resources #define sysResIDBootReset 10000 // Reset code #define sysResIDBootInitCode 10001 // Init code #define sysResIDBootSysCodeStart 10100 // System code resources // start here #define sysResIDBootSysCodeMin 10102 // IDs 'Start' to this must // exist!! #define sysResIDBootUICodeStart 10200 // UI code resources start // here #define sysResIDBootUICodeMin 10203 // IDs 'Start' to this must // exist!! #define sysResIDBootHAL 19000 // HAL code resource (from // HAL.prc) #define sysResIDBitmapSplash 19000 // ID of (boot) splash // screen bitmap #define sysResIDBitmapConfirm 19001 // ID of hard reset // confirmation bitmap #define sysResTAppPrefs 0x70726566 // 'pref': Resource type of // App preferences resources #define sysResIDAppPrefs 0 // Application preference #define sysResTExtPrefs 0x78707266 // 'xprf': Resource type of // extended preferences #define sysResIDExtPrefs 0 // Extended preferences #define sysResTAppCode 0x636F6465 // 'code': Resource type of // App code resources #define sysResTAppGData 0x64617461 // 'data': Resource type of // App global data resources #define sysResTAppRLOC 0x726C6F63 // 'rloc': Relocation info #define sysResTExtensionCode 0x6578746E // 'extn': Resource type of // Extensions code #define sysResTExtensionOEMCode 0x65787465 // 'exte': Resource type of // OEM Extensions code #define sysResTFeatures 0x66656174 // 'feat': Resource type of // System features table #define sysResIDFeatures 10000 // Resource ID of System features table #define sysResIDOverlayFeatures 10001 // Resource ID of system overlay feature table. #define sysResTCountries 0x636E7479 // 'cnty': Resource type of // System countries table #define sysResIDCountries 10000 // Resource ID of System countries table #define sysResTLibrary 0x6C696272 // 'libr': Resource type of // System Libraries #ifndef PUBLIC_STUFF_STRIPPED // DOLATER - obsolete, should be removed: #endif // PUBLIC_STUFF_STRIPPED //#define sysResIDLibrarySerMgr328 10000 // Dragonball (68328) UART //#define sysResIDLibrarySerMgr681 10001 // 68681 UART //#define sysResIDLibraryRMPPlugIn 10002 // Reliable Message Protocol NetLib Plug-in #define sysResTSilkscreen 0x73696C6B // 'silk': Resource type of // silkscreen info. #define sysResTGrfTemplate 0x746D706C // 'tmpl': Graffiti // templates "file" #define sysResIDGrfTemplate 10000 // Graffiti templates "file" // ID #define sysResTGrfDictionary 0x64696374 // 'dict': Graffiti // dictionary "file" #define sysResIDGrfDictionary 10000 // Graffiti dictionary // "file" ID #define sysResIDGrfDefaultMacros 10000 // sysResTDefaultDB resource with Graffiti Macros database #define sysResTDefaultDB 0x64666C74 // 'dflt': Default database // resource type #define sysResIDDefaultDB 1 // resource ID of sysResTDefaultDB in each app #define sysResTErrStrings 0x7453544C // 'tSTL': list of error // strings #define sysResIDErrStrings 10000 // resource ID is (errno>>8)+sysResIDErrStrings #define sysResIDOEMDBVersion 20001 // resource ID of "tver" and "tint" versions in OEM stamped databases // System Preferences #define sysResTSysPref sysFileCSystem #define sysResIDSysPrefMain 0 // Main preferences #define sysResIDSysPrefPassword 1 // Password #define sysResIDSysPrefFindStr 2 // Find string #define sysResIDSysPrefCalibration 3 // Digitizer calibration. #define sysResIDDlkUserInfo 4 // Desktop Link user // information. #define sysResIDDlkLocalPC 5 // Desktop Link local PC // host name #define sysResIDDlkCondFilterTab 6 // Desktop Link conduit // filter table #define sysResIDModemMgrPref 7 // Modem Manager preferences #define sysResIDDlkLocalPCAddr 8 // Desktop Link local PC // host address #define sysResIDDlkLocalPCMask 9 // Desktop Link local PC // host subnet mask // These prefs store parameters to pass to an app when launched with a button #define sysResIDButton1Param 10 // Parameter for hard // button 1 app #define sysResIDButton2Param 11 // Parameter for hard // button 2 app #define sysResIDButton3Param 12 // Parameter for hard // button 3 app #define sysResIDButton4Param 13 // Parameter for hard // button 4 app #define sysResIDCalcButtonParam 14 // Parameter for calc // button app #define sysResIDCradleParam 15 // Parameter for hot sync // button app #define sysResIDModemParam 16 // Parameter for modem // button app #define sysResIDAntennaButtonParam 17 // Parameter for antenna up // button app // New for Color, user's color preferences #define sysResIDPrefUIColorTableBase 17 // base + depth = ID of // actual pref #define sysResIDPrefUIColorTable1 18 // User's UI colors for 1bpp // displays #define sysResIDPrefUIColorTable2 19 // User's UI colors for 2bpp // displays #define sysResIDPrefUIColorTable4 21 // User's UI colors for 4bpp // displays #define sysResIDPrefUIColorTable8 25 // User's UI colors for 8bpp // displays // FlashMgr Resources - old #define sysResTFlashMgr 0x666C7368 // 'flsh' #define sysResIDFlashMgrWorkspace 1 // RAM workspace during // flash activity // FlashMgr Resources - new #define sysResTHwrFlashIdent 0x666C6964 // 'flid': Flash // identification // code resource #define sysResIDHwrFlashIdent 10000 // Flash identification code resource #define sysResTHwrFlashCode 0x666C6364 // 'flcd': Flash programming // code resource // (resource ID // determined by // device type) // OEM Feature type and id. #define sysFtrTOEMSys sysFileCOEMSystem #define sysFtrIDOEMSysHideBatteryGauge 1 // Onscreen keyboard features #define sysFtrTKeyboard 0x6B657962 // 'keyb' #define sysFtrIDKeyboardActive 1 // Boolean value, // true => keyboard is // active. Currently only // used for Japanese. // Activation status values. #define sysActivateStatusFeatureIndex 1 #define sysActivateNeedGeorgeQuery 0 #define sysActivateNeedMortyQuery 1 #define sysActivateFullyActivated 2 #define sysMaxUserDomainNameLength 64 // Current clipper feature indeces #define sysClipperPQACardNoIndex 1 #define sysClipperPQADbIDIndex 2 //----------------------------------------------------------- // This section is only valid when running the resource compiler // // Actually, this section is obsolete. Instear, .r files should // inlude SysResTypes.rh to get these definitions. // #ifndef PUBLIC_STUFF_STRIPPED // DOLATER еее leaving this here for now just in case. #endif // PUBLIC_STUFF_STRIPPED //----------------------------------------------------------- #ifdef RESOURCE_COMPILER #include #endif #endif // __SYSTEMRESOURCES_H__