Jack Jansen | f5101ee | 1995-08-31 13:38:44 +0000 | [diff] [blame] | 1 | # MACFS.py - Constants used by macfs routines |
| 2 | # Derived from Finder.h and Folders.h |
| 3 | |
| 4 | # Flags in FInfo.Flags field: |
| 5 | kIsOnDesk = 0x1 |
| 6 | kColor = 0xE |
| 7 | kIsShared = 0x40 |
| 8 | kHasBeenInited = 0x100 |
| 9 | kHasCustomIcon = 0x400 |
| 10 | kIsStationery = 0x800 |
| 11 | kIsStationary = 0x800 |
| 12 | kNameLocked = 0x1000 |
| 13 | kHasBundle = 0x2000 |
| 14 | kIsInvisible = 0x4000 |
| 15 | kIsAlias = 0x8000 |
| 16 | |
| 17 | # Constants for FindFolder |
| 18 | kOnSystemDisk = 0x8000 |
| 19 | kSystemFolderType = 'macs' # the system folder |
| 20 | kDesktopFolderType = 'desk' # the desktop folder; objects in this folder show on the desk top. |
| 21 | kTrashFolderType = 'trsh' # the trash folder; objects in this folder show up in the trash |
| 22 | kWhereToEmptyTrashFolderType = 'empt' # the "empty trash" folder; Finder starts empty from here down |
| 23 | kPrintMonitorDocsFolderType = 'prnt' # Print Monitor documents |
| 24 | kStartupFolderType = 'strt' # Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here |
| 25 | kAppleMenuFolderType = 'amnu' # Finder objects to put into the Apple menu go here |
| 26 | kControlPanelFolderType = 'ctrl' # Control Panels go here (may contain INITs) |
| 27 | kExtensionFolderType = 'extn' # Finder extensions go here |
| 28 | kFontsFolderType = 'font' # Fonts go here |
| 29 | kPreferencesFolderType = 'pref' # preferences for applications go here |
| 30 | kTemporaryFolderType = 'temp' |
Jack Jansen | 7b7a2c2 | 1998-04-24 10:42:01 +0000 | [diff] [blame] | 31 | |
| 32 | # Alias types |
| 33 | kContainerFolderAliasType = 'fdrp' |
| 34 | kContainerTrashAliasType = 'trsh' |
| 35 | kContainerHardDiskAliasType = 'hdsk' |
| 36 | kContainerFloppyAliasType = 'flpy' |
| 37 | kContainerServerAliasType = 'srvr' |
| 38 | kApplicationAliasType = 'adrp' |
| 39 | kContainerAliasType = 'drop' |
| 40 | # types for Special folder aliases |
| 41 | kSystemFolderAliasType = 'fasy' |
| 42 | kAppleMenuFolderAliasType = 'faam' |
| 43 | kStartupFolderAliasType = 'fast' |
| 44 | kPrintMonitorDocsFolderAliasType = 'fapn' |
| 45 | kPreferencesFolderAliasType = 'fapf' |
| 46 | kControlPanelFolderAliasType = 'fact' |
| 47 | kExtensionFolderAliasType = 'faex' |
| 48 | kExportedFolderAliasType = 'faet' |
| 49 | kDropFolderAliasType = 'fadr' |
| 50 | kSharedFolderAliasType = 'fash' |
| 51 | kMountedFolderAliasType = 'famn' |
| 52 | |
| 53 | # New FindFolder constants |
| 54 | kExtensionDisabledFolderType = 'extD' |
| 55 | kControlPanelDisabledFolderType = 'ctrD' |
| 56 | kSystemExtensionDisabledFolderType = 'macD' |
| 57 | kStartupItemsDisabledFolderType = 'strD' |
| 58 | kShutdownItemsDisabledFolderType = 'shdD' |
| 59 | kApplicationsFolderType = 'apps' |
| 60 | kDocumentsFolderType = 'docs' |
| 61 | |
| 62 | kVolumeRootFolderType = 'root' |
| 63 | kChewableItemsFolderType = 'flnt' |
| 64 | kApplicationSupportFolderType = 'asup' |
| 65 | kTextEncodingsFolderType = 'tex' |
| 66 | kStationeryFolderType = 'odst' |
| 67 | kOpenDocFolderType = 'odod' |
| 68 | kOpenDocShellPlugInsFolderType = 'odsp' |
| 69 | kEditorsFolderType = 'oded' |
| 70 | kOpenDocEditorsFolderType = 'odf' |
| 71 | kOpenDocLibrariesFolderType = 'odlb' |
| 72 | kGenEditorsFolderType = 'edi' |
| 73 | kHelpFolderType = 'hlp' |
| 74 | kInternetPlugInFolderType = 'net' |
| 75 | kModemScriptsFolderType = 'mod' |
| 76 | kPrinterDescriptionFolderType = 'ppdf' |
| 77 | kPrinterDriverFolderType = 'prd' |
| 78 | kScriptingAdditionsFolderType = 'scr' |
| 79 | kSharedLibrariesFolderType = 'lib' |
| 80 | kVoicesFolderType = 'fvoc' |
| 81 | kControlStripModulesFolderType = 'sdev' |
| 82 | kAssistantsFolderType = 'ast' |
| 83 | kUtilitiesFolderType = 'uti' |
| 84 | kAppleExtrasFolderType = 'aex' |
| 85 | kContextualMenuItemsFolderType = 'cmnu' |
| 86 | kMacOSReadMesFolderType = 'mor' |
| 87 | kALMModulesFolderType = 'walk' |
| 88 | kALMPreferencesFolderType = 'trip' |
| 89 | kALMLocationsFolderType = 'fall' |
| 90 | kColorSyncProfilesFolderType = 'prof' |
| 91 | kThemesFolderType = 'thme' |
| 92 | kFavoritesFolderType = 'favs' |