1 # Generated from 'Folders.h' 2 3 def FOUR_CHAR_CODE(x): return x 4 true = True 5 false = False 6 kOnSystemDisk = -32768L 7 kOnAppropriateDisk = -32767 8 kSystemDomain = -32766 9 kLocalDomain = -32765 10 kNetworkDomain = -32764 11 kUserDomain = -32763 12 kClassicDomain = -32762 13 kCreateFolder = true 14 kDontCreateFolder = false 15 kSystemFolderType = FOUR_CHAR_CODE('macs') 16 kDesktopFolderType = FOUR_CHAR_CODE('desk') 17 kSystemDesktopFolderType = FOUR_CHAR_CODE('sdsk') 18 kTrashFolderType = FOUR_CHAR_CODE('trsh') 19 kSystemTrashFolderType = FOUR_CHAR_CODE('strs') 20 kWhereToEmptyTrashFolderType = FOUR_CHAR_CODE('empt') 21 kPrintMonitorDocsFolderType = FOUR_CHAR_CODE('prnt') 22 kStartupFolderType = FOUR_CHAR_CODE('strt') 23 kShutdownFolderType = FOUR_CHAR_CODE('shdf') 24 kAppleMenuFolderType = FOUR_CHAR_CODE('amnu') 25 kControlPanelFolderType = FOUR_CHAR_CODE('ctrl') 26 kSystemControlPanelFolderType = FOUR_CHAR_CODE('sctl') 27 kExtensionFolderType = FOUR_CHAR_CODE('extn') 28 kFontsFolderType = FOUR_CHAR_CODE('font') 29 kPreferencesFolderType = FOUR_CHAR_CODE('pref') 30 kSystemPreferencesFolderType = FOUR_CHAR_CODE('sprf') 31 kTemporaryFolderType = FOUR_CHAR_CODE('temp') 32 kExtensionDisabledFolderType = FOUR_CHAR_CODE('extD') 33 kControlPanelDisabledFolderType = FOUR_CHAR_CODE('ctrD') 34 kSystemExtensionDisabledFolderType = FOUR_CHAR_CODE('macD') 35 kStartupItemsDisabledFolderType = FOUR_CHAR_CODE('strD') 36 kShutdownItemsDisabledFolderType = FOUR_CHAR_CODE('shdD') 37 kApplicationsFolderType = FOUR_CHAR_CODE('apps') 38 kDocumentsFolderType = FOUR_CHAR_CODE('docs') 39 kVolumeRootFolderType = FOUR_CHAR_CODE('root') 40 kChewableItemsFolderType = FOUR_CHAR_CODE('flnt') 41 kApplicationSupportFolderType = FOUR_CHAR_CODE('asup') 42 kTextEncodingsFolderType = FOUR_CHAR_CODE('\xc4tex') 43 kStationeryFolderType = FOUR_CHAR_CODE('odst') 44 kOpenDocFolderType = FOUR_CHAR_CODE('odod') 45 kOpenDocShellPlugInsFolderType = FOUR_CHAR_CODE('odsp') 46 kEditorsFolderType = FOUR_CHAR_CODE('oded') 47 kOpenDocEditorsFolderType = FOUR_CHAR_CODE('\xc4odf') 48 kOpenDocLibrariesFolderType = FOUR_CHAR_CODE('odlb') 49 kGenEditorsFolderType = FOUR_CHAR_CODE('\xc4edi') 50 kHelpFolderType = FOUR_CHAR_CODE('\xc4hlp') 51 kInternetPlugInFolderType = FOUR_CHAR_CODE('\xc4net') 52 kModemScriptsFolderType = FOUR_CHAR_CODE('\xc4mod') 53 kPrinterDescriptionFolderType = FOUR_CHAR_CODE('ppdf') 54 kPrinterDriverFolderType = FOUR_CHAR_CODE('\xc4prd') 55 kScriptingAdditionsFolderType = FOUR_CHAR_CODE('\xc4scr') 56 kSharedLibrariesFolderType = FOUR_CHAR_CODE('\xc4lib') 57 kVoicesFolderType = FOUR_CHAR_CODE('fvoc') 58 kControlStripModulesFolderType = FOUR_CHAR_CODE('sdev') 59 kAssistantsFolderType = FOUR_CHAR_CODE('ast\xc4') 60 kUtilitiesFolderType = FOUR_CHAR_CODE('uti\xc4') 61 kAppleExtrasFolderType = FOUR_CHAR_CODE('aex\xc4') 62 kContextualMenuItemsFolderType = FOUR_CHAR_CODE('cmnu') 63 kMacOSReadMesFolderType = FOUR_CHAR_CODE('mor\xc4') 64 kALMModulesFolderType = FOUR_CHAR_CODE('walk') 65 kALMPreferencesFolderType = FOUR_CHAR_CODE('trip') 66 kALMLocationsFolderType = FOUR_CHAR_CODE('fall') 67 kColorSyncProfilesFolderType = FOUR_CHAR_CODE('prof') 68 kThemesFolderType = FOUR_CHAR_CODE('thme') 69 kFavoritesFolderType = FOUR_CHAR_CODE('favs') 70 kInternetFolderType = FOUR_CHAR_CODE('int\xc4') 71 kAppearanceFolderType = FOUR_CHAR_CODE('appr') 72 kSoundSetsFolderType = FOUR_CHAR_CODE('snds') 73 kDesktopPicturesFolderType = FOUR_CHAR_CODE('dtp\xc4') 74 kInternetSearchSitesFolderType = FOUR_CHAR_CODE('issf') 75 kFindSupportFolderType = FOUR_CHAR_CODE('fnds') 76 kFindByContentFolderType = FOUR_CHAR_CODE('fbcf') 77 kInstallerLogsFolderType = FOUR_CHAR_CODE('ilgf') 78 kScriptsFolderType = FOUR_CHAR_CODE('scr\xc4') 79 kFolderActionsFolderType = FOUR_CHAR_CODE('fasf') 80 kLauncherItemsFolderType = FOUR_CHAR_CODE('laun') 81 kRecentApplicationsFolderType = FOUR_CHAR_CODE('rapp') 82 kRecentDocumentsFolderType = FOUR_CHAR_CODE('rdoc') 83 kRecentServersFolderType = FOUR_CHAR_CODE('rsvr') 84 kSpeakableItemsFolderType = FOUR_CHAR_CODE('spki') 85 kKeychainFolderType = FOUR_CHAR_CODE('kchn') 86 kQuickTimeExtensionsFolderType = FOUR_CHAR_CODE('qtex') 87 kDisplayExtensionsFolderType = FOUR_CHAR_CODE('dspl') 88 kMultiprocessingFolderType = FOUR_CHAR_CODE('mpxf') 89 kPrintingPlugInsFolderType = FOUR_CHAR_CODE('pplg') 90 kDomainTopLevelFolderType = FOUR_CHAR_CODE('dtop') 91 kDomainLibraryFolderType = FOUR_CHAR_CODE('dlib') 92 kColorSyncFolderType = FOUR_CHAR_CODE('sync') 93 kColorSyncCMMFolderType = FOUR_CHAR_CODE('ccmm') 94 kColorSyncScriptingFolderType = FOUR_CHAR_CODE('cscr') 95 kPrintersFolderType = FOUR_CHAR_CODE('impr') 96 kSpeechFolderType = FOUR_CHAR_CODE('spch') 97 kCarbonLibraryFolderType = FOUR_CHAR_CODE('carb') 98 kDocumentationFolderType = FOUR_CHAR_CODE('info') 99 kDeveloperDocsFolderType = FOUR_CHAR_CODE('ddoc') 100 kDeveloperHelpFolderType = FOUR_CHAR_CODE('devh') 101 kISSDownloadsFolderType = FOUR_CHAR_CODE('issd') 102 kUserSpecificTmpFolderType = FOUR_CHAR_CODE('utmp') 103 kCachedDataFolderType = FOUR_CHAR_CODE('cach') 104 kFrameworksFolderType = FOUR_CHAR_CODE('fram') 105 kPrivateFrameworksFolderType = FOUR_CHAR_CODE('pfrm') 106 kClassicDesktopFolderType = FOUR_CHAR_CODE('sdsk') 107 kDeveloperFolderType = FOUR_CHAR_CODE('devf') 108 kSystemSoundsFolderType = FOUR_CHAR_CODE('ssnd') 109 kComponentsFolderType = FOUR_CHAR_CODE('cmpd') 110 kQuickTimeComponentsFolderType = FOUR_CHAR_CODE('wcmp') 111 kCoreServicesFolderType = FOUR_CHAR_CODE('csrv') 112 kPictureDocumentsFolderType = FOUR_CHAR_CODE('pdoc') 113 kMovieDocumentsFolderType = FOUR_CHAR_CODE('mdoc') 114 kMusicDocumentsFolderType = FOUR_CHAR_CODE('\xb5doc') 115 kInternetSitesFolderType = FOUR_CHAR_CODE('site') 116 kPublicFolderType = FOUR_CHAR_CODE('pubb') 117 kAudioSupportFolderType = FOUR_CHAR_CODE('adio') 118 kAudioSoundsFolderType = FOUR_CHAR_CODE('asnd') 119 kAudioSoundBanksFolderType = FOUR_CHAR_CODE('bank') 120 kAudioAlertSoundsFolderType = FOUR_CHAR_CODE('alrt') 121 kAudioPlugInsFolderType = FOUR_CHAR_CODE('aplg') 122 kAudioComponentsFolderType = FOUR_CHAR_CODE('acmp') 123 kKernelExtensionsFolderType = FOUR_CHAR_CODE('kext') 124 kDirectoryServicesFolderType = FOUR_CHAR_CODE('dsrv') 125 kDirectoryServicesPlugInsFolderType = FOUR_CHAR_CODE('dplg') 126 kInstallerReceiptsFolderType = FOUR_CHAR_CODE('rcpt') 127 kFileSystemSupportFolderType = FOUR_CHAR_CODE('fsys') 128 kAppleShareSupportFolderType = FOUR_CHAR_CODE('shar') 129 kAppleShareAuthenticationFolderType = FOUR_CHAR_CODE('auth') 130 kMIDIDriversFolderType = FOUR_CHAR_CODE('midi') 131 kLocalesFolderType = FOUR_CHAR_CODE('\xc4loc') 132 kFindByContentPluginsFolderType = FOUR_CHAR_CODE('fbcp') 133 kUsersFolderType = FOUR_CHAR_CODE('usrs') 134 kCurrentUserFolderType = FOUR_CHAR_CODE('cusr') 135 kCurrentUserRemoteFolderLocation = FOUR_CHAR_CODE('rusf') 136 kCurrentUserRemoteFolderType = FOUR_CHAR_CODE('rusr') 137 kSharedUserDataFolderType = FOUR_CHAR_CODE('sdat') 138 kVolumeSettingsFolderType = FOUR_CHAR_CODE('vsfd') 139 kAppleshareAutomountServerAliasesFolderType = FOUR_CHAR_CODE('srv\xc4') 140 kPreMacOS91ApplicationsFolderType = FOUR_CHAR_CODE('\x8cpps') 141 kPreMacOS91InstallerLogsFolderType = FOUR_CHAR_CODE('\x94lgf') 142 kPreMacOS91AssistantsFolderType = FOUR_CHAR_CODE('\x8cst\xc4') 143 kPreMacOS91UtilitiesFolderType = FOUR_CHAR_CODE('\x9fti\xc4') 144 kPreMacOS91AppleExtrasFolderType = FOUR_CHAR_CODE('\x8cex\xc4') 145 kPreMacOS91MacOSReadMesFolderType = FOUR_CHAR_CODE('\xb5or\xc4') 146 kPreMacOS91InternetFolderType = FOUR_CHAR_CODE('\x94nt\xc4') 147 kPreMacOS91AutomountedServersFolderType = FOUR_CHAR_CODE('\xa7rv\xc4') 148 kPreMacOS91StationeryFolderType = FOUR_CHAR_CODE('\xbfdst') 149 kCreateFolderAtBoot = 0x00000002 150 kCreateFolderAtBootBit = 1 151 kFolderCreatedInvisible = 0x00000004 152 kFolderCreatedInvisibleBit = 2 153 kFolderCreatedNameLocked = 0x00000008 154 kFolderCreatedNameLockedBit = 3 155 kFolderCreatedAdminPrivs = 0x00000010 156 kFolderCreatedAdminPrivsBit = 4 157 kFolderInUserFolder = 0x00000020 158 kFolderInUserFolderBit = 5 159 kFolderTrackedByAlias = 0x00000040 160 kFolderTrackedByAliasBit = 6 161 kFolderInRemoteUserFolderIfAvailable = 0x00000080 162 kFolderInRemoteUserFolderIfAvailableBit = 7 163 kFolderNeverMatchedInIdentifyFolder = 0x00000100 164 kFolderNeverMatchedInIdentifyFolderBit = 8 165 kFolderMustStayOnSameVolume = 0x00000200 166 kFolderMustStayOnSameVolumeBit = 9 167 kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask = 0x00000400 168 kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit = 10 169 kFolderInLocalOrRemoteUserFolder = kFolderInUserFolder | kFolderInRemoteUserFolderIfAvailable 170 kRelativeFolder = FOUR_CHAR_CODE('relf') 171 kSpecialFolder = FOUR_CHAR_CODE('spcf') 172 kBlessedFolder = FOUR_CHAR_CODE('blsf') 173 kRootFolder = FOUR_CHAR_CODE('rotf') 174 kCurrentUserFolderLocation = FOUR_CHAR_CODE('cusf') 175 kFindFolderRedirectionFlagUseDistinctUserFoldersBit = 0 176 kFindFolderRedirectionFlagUseGivenVRefAndDirIDAsUserFolderBit = 1 177 kFindFolderRedirectionFlagsUseGivenVRefNumAndDirIDAsRemoteUserFolderBit = 2 178 kFolderManagerUserRedirectionGlobalsCurrentVersion = 1 179 kFindFolderExtendedFlagsDoNotFollowAliasesBit = 0 180 kFindFolderExtendedFlagsDoNotUseUserFolderBit = 1 181 kFindFolderExtendedFlagsUseOtherUserRecord = 0x01000000 182 kFolderManagerNotificationMessageUserLogIn = FOUR_CHAR_CODE('log+') 183 kFolderManagerNotificationMessagePreUserLogIn = FOUR_CHAR_CODE('logj') 184 kFolderManagerNotificationMessageUserLogOut = FOUR_CHAR_CODE('log-') 185 kFolderManagerNotificationMessagePostUserLogOut = FOUR_CHAR_CODE('logp') 186 kFolderManagerNotificationDiscardCachedData = FOUR_CHAR_CODE('dche') 187 kFolderManagerNotificationMessageLoginStartup = FOUR_CHAR_CODE('stup') 188 kDoNotRemoveWhenCurrentApplicationQuitsBit = 0 189 kDoNotRemoveWheCurrentApplicationQuitsBit = kDoNotRemoveWhenCurrentApplicationQuitsBit 190 kStopIfAnyNotificationProcReturnsErrorBit = 31 191