190 lines
9.1 KiB
Python
190 lines
9.1 KiB
Python
# Generated from 'Folders.h'
|
|
|
|
def FOUR_CHAR_CODE(x): return x
|
|
true = True
|
|
false = False
|
|
kOnSystemDisk = -32768L
|
|
kOnAppropriateDisk = -32767
|
|
kSystemDomain = -32766
|
|
kLocalDomain = -32765
|
|
kNetworkDomain = -32764
|
|
kUserDomain = -32763
|
|
kClassicDomain = -32762
|
|
kCreateFolder = true
|
|
kDontCreateFolder = false
|
|
kSystemFolderType = FOUR_CHAR_CODE('macs')
|
|
kDesktopFolderType = FOUR_CHAR_CODE('desk')
|
|
kSystemDesktopFolderType = FOUR_CHAR_CODE('sdsk')
|
|
kTrashFolderType = FOUR_CHAR_CODE('trsh')
|
|
kSystemTrashFolderType = FOUR_CHAR_CODE('strs')
|
|
kWhereToEmptyTrashFolderType = FOUR_CHAR_CODE('empt')
|
|
kPrintMonitorDocsFolderType = FOUR_CHAR_CODE('prnt')
|
|
kStartupFolderType = FOUR_CHAR_CODE('strt')
|
|
kShutdownFolderType = FOUR_CHAR_CODE('shdf')
|
|
kAppleMenuFolderType = FOUR_CHAR_CODE('amnu')
|
|
kControlPanelFolderType = FOUR_CHAR_CODE('ctrl')
|
|
kSystemControlPanelFolderType = FOUR_CHAR_CODE('sctl')
|
|
kExtensionFolderType = FOUR_CHAR_CODE('extn')
|
|
kFontsFolderType = FOUR_CHAR_CODE('font')
|
|
kPreferencesFolderType = FOUR_CHAR_CODE('pref')
|
|
kSystemPreferencesFolderType = FOUR_CHAR_CODE('sprf')
|
|
kTemporaryFolderType = FOUR_CHAR_CODE('temp')
|
|
kExtensionDisabledFolderType = FOUR_CHAR_CODE('extD')
|
|
kControlPanelDisabledFolderType = FOUR_CHAR_CODE('ctrD')
|
|
kSystemExtensionDisabledFolderType = FOUR_CHAR_CODE('macD')
|
|
kStartupItemsDisabledFolderType = FOUR_CHAR_CODE('strD')
|
|
kShutdownItemsDisabledFolderType = FOUR_CHAR_CODE('shdD')
|
|
kApplicationsFolderType = FOUR_CHAR_CODE('apps')
|
|
kDocumentsFolderType = FOUR_CHAR_CODE('docs')
|
|
kVolumeRootFolderType = FOUR_CHAR_CODE('root')
|
|
kChewableItemsFolderType = FOUR_CHAR_CODE('flnt')
|
|
kApplicationSupportFolderType = FOUR_CHAR_CODE('asup')
|
|
kTextEncodingsFolderType = FOUR_CHAR_CODE('\xc4tex')
|
|
kStationeryFolderType = FOUR_CHAR_CODE('odst')
|
|
kOpenDocFolderType = FOUR_CHAR_CODE('odod')
|
|
kOpenDocShellPlugInsFolderType = FOUR_CHAR_CODE('odsp')
|
|
kEditorsFolderType = FOUR_CHAR_CODE('oded')
|
|
kOpenDocEditorsFolderType = FOUR_CHAR_CODE('\xc4odf')
|
|
kOpenDocLibrariesFolderType = FOUR_CHAR_CODE('odlb')
|
|
kGenEditorsFolderType = FOUR_CHAR_CODE('\xc4edi')
|
|
kHelpFolderType = FOUR_CHAR_CODE('\xc4hlp')
|
|
kInternetPlugInFolderType = FOUR_CHAR_CODE('\xc4net')
|
|
kModemScriptsFolderType = FOUR_CHAR_CODE('\xc4mod')
|
|
kPrinterDescriptionFolderType = FOUR_CHAR_CODE('ppdf')
|
|
kPrinterDriverFolderType = FOUR_CHAR_CODE('\xc4prd')
|
|
kScriptingAdditionsFolderType = FOUR_CHAR_CODE('\xc4scr')
|
|
kSharedLibrariesFolderType = FOUR_CHAR_CODE('\xc4lib')
|
|
kVoicesFolderType = FOUR_CHAR_CODE('fvoc')
|
|
kControlStripModulesFolderType = FOUR_CHAR_CODE('sdev')
|
|
kAssistantsFolderType = FOUR_CHAR_CODE('ast\xc4')
|
|
kUtilitiesFolderType = FOUR_CHAR_CODE('uti\xc4')
|
|
kAppleExtrasFolderType = FOUR_CHAR_CODE('aex\xc4')
|
|
kContextualMenuItemsFolderType = FOUR_CHAR_CODE('cmnu')
|
|
kMacOSReadMesFolderType = FOUR_CHAR_CODE('mor\xc4')
|
|
kALMModulesFolderType = FOUR_CHAR_CODE('walk')
|
|
kALMPreferencesFolderType = FOUR_CHAR_CODE('trip')
|
|
kALMLocationsFolderType = FOUR_CHAR_CODE('fall')
|
|
kColorSyncProfilesFolderType = FOUR_CHAR_CODE('prof')
|
|
kThemesFolderType = FOUR_CHAR_CODE('thme')
|
|
kFavoritesFolderType = FOUR_CHAR_CODE('favs')
|
|
kInternetFolderType = FOUR_CHAR_CODE('int\xc4')
|
|
kAppearanceFolderType = FOUR_CHAR_CODE('appr')
|
|
kSoundSetsFolderType = FOUR_CHAR_CODE('snds')
|
|
kDesktopPicturesFolderType = FOUR_CHAR_CODE('dtp\xc4')
|
|
kInternetSearchSitesFolderType = FOUR_CHAR_CODE('issf')
|
|
kFindSupportFolderType = FOUR_CHAR_CODE('fnds')
|
|
kFindByContentFolderType = FOUR_CHAR_CODE('fbcf')
|
|
kInstallerLogsFolderType = FOUR_CHAR_CODE('ilgf')
|
|
kScriptsFolderType = FOUR_CHAR_CODE('scr\xc4')
|
|
kFolderActionsFolderType = FOUR_CHAR_CODE('fasf')
|
|
kLauncherItemsFolderType = FOUR_CHAR_CODE('laun')
|
|
kRecentApplicationsFolderType = FOUR_CHAR_CODE('rapp')
|
|
kRecentDocumentsFolderType = FOUR_CHAR_CODE('rdoc')
|
|
kRecentServersFolderType = FOUR_CHAR_CODE('rsvr')
|
|
kSpeakableItemsFolderType = FOUR_CHAR_CODE('spki')
|
|
kKeychainFolderType = FOUR_CHAR_CODE('kchn')
|
|
kQuickTimeExtensionsFolderType = FOUR_CHAR_CODE('qtex')
|
|
kDisplayExtensionsFolderType = FOUR_CHAR_CODE('dspl')
|
|
kMultiprocessingFolderType = FOUR_CHAR_CODE('mpxf')
|
|
kPrintingPlugInsFolderType = FOUR_CHAR_CODE('pplg')
|
|
kDomainTopLevelFolderType = FOUR_CHAR_CODE('dtop')
|
|
kDomainLibraryFolderType = FOUR_CHAR_CODE('dlib')
|
|
kColorSyncFolderType = FOUR_CHAR_CODE('sync')
|
|
kColorSyncCMMFolderType = FOUR_CHAR_CODE('ccmm')
|
|
kColorSyncScriptingFolderType = FOUR_CHAR_CODE('cscr')
|
|
kPrintersFolderType = FOUR_CHAR_CODE('impr')
|
|
kSpeechFolderType = FOUR_CHAR_CODE('spch')
|
|
kCarbonLibraryFolderType = FOUR_CHAR_CODE('carb')
|
|
kDocumentationFolderType = FOUR_CHAR_CODE('info')
|
|
kDeveloperDocsFolderType = FOUR_CHAR_CODE('ddoc')
|
|
kDeveloperHelpFolderType = FOUR_CHAR_CODE('devh')
|
|
kISSDownloadsFolderType = FOUR_CHAR_CODE('issd')
|
|
kUserSpecificTmpFolderType = FOUR_CHAR_CODE('utmp')
|
|
kCachedDataFolderType = FOUR_CHAR_CODE('cach')
|
|
kFrameworksFolderType = FOUR_CHAR_CODE('fram')
|
|
kPrivateFrameworksFolderType = FOUR_CHAR_CODE('pfrm')
|
|
kClassicDesktopFolderType = FOUR_CHAR_CODE('sdsk')
|
|
kDeveloperFolderType = FOUR_CHAR_CODE('devf')
|
|
kSystemSoundsFolderType = FOUR_CHAR_CODE('ssnd')
|
|
kComponentsFolderType = FOUR_CHAR_CODE('cmpd')
|
|
kQuickTimeComponentsFolderType = FOUR_CHAR_CODE('wcmp')
|
|
kCoreServicesFolderType = FOUR_CHAR_CODE('csrv')
|
|
kPictureDocumentsFolderType = FOUR_CHAR_CODE('pdoc')
|
|
kMovieDocumentsFolderType = FOUR_CHAR_CODE('mdoc')
|
|
kMusicDocumentsFolderType = FOUR_CHAR_CODE('\xb5doc')
|
|
kInternetSitesFolderType = FOUR_CHAR_CODE('site')
|
|
kPublicFolderType = FOUR_CHAR_CODE('pubb')
|
|
kAudioSupportFolderType = FOUR_CHAR_CODE('adio')
|
|
kAudioSoundsFolderType = FOUR_CHAR_CODE('asnd')
|
|
kAudioSoundBanksFolderType = FOUR_CHAR_CODE('bank')
|
|
kAudioAlertSoundsFolderType = FOUR_CHAR_CODE('alrt')
|
|
kAudioPlugInsFolderType = FOUR_CHAR_CODE('aplg')
|
|
kAudioComponentsFolderType = FOUR_CHAR_CODE('acmp')
|
|
kKernelExtensionsFolderType = FOUR_CHAR_CODE('kext')
|
|
kDirectoryServicesFolderType = FOUR_CHAR_CODE('dsrv')
|
|
kDirectoryServicesPlugInsFolderType = FOUR_CHAR_CODE('dplg')
|
|
kInstallerReceiptsFolderType = FOUR_CHAR_CODE('rcpt')
|
|
kFileSystemSupportFolderType = FOUR_CHAR_CODE('fsys')
|
|
kAppleShareSupportFolderType = FOUR_CHAR_CODE('shar')
|
|
kAppleShareAuthenticationFolderType = FOUR_CHAR_CODE('auth')
|
|
kMIDIDriversFolderType = FOUR_CHAR_CODE('midi')
|
|
kLocalesFolderType = FOUR_CHAR_CODE('\xc4loc')
|
|
kFindByContentPluginsFolderType = FOUR_CHAR_CODE('fbcp')
|
|
kUsersFolderType = FOUR_CHAR_CODE('usrs')
|
|
kCurrentUserFolderType = FOUR_CHAR_CODE('cusr')
|
|
kCurrentUserRemoteFolderLocation = FOUR_CHAR_CODE('rusf')
|
|
kCurrentUserRemoteFolderType = FOUR_CHAR_CODE('rusr')
|
|
kSharedUserDataFolderType = FOUR_CHAR_CODE('sdat')
|
|
kVolumeSettingsFolderType = FOUR_CHAR_CODE('vsfd')
|
|
kAppleshareAutomountServerAliasesFolderType = FOUR_CHAR_CODE('srv\xc4')
|
|
kPreMacOS91ApplicationsFolderType = FOUR_CHAR_CODE('\x8cpps')
|
|
kPreMacOS91InstallerLogsFolderType = FOUR_CHAR_CODE('\x94lgf')
|
|
kPreMacOS91AssistantsFolderType = FOUR_CHAR_CODE('\x8cst\xc4')
|
|
kPreMacOS91UtilitiesFolderType = FOUR_CHAR_CODE('\x9fti\xc4')
|
|
kPreMacOS91AppleExtrasFolderType = FOUR_CHAR_CODE('\x8cex\xc4')
|
|
kPreMacOS91MacOSReadMesFolderType = FOUR_CHAR_CODE('\xb5or\xc4')
|
|
kPreMacOS91InternetFolderType = FOUR_CHAR_CODE('\x94nt\xc4')
|
|
kPreMacOS91AutomountedServersFolderType = FOUR_CHAR_CODE('\xa7rv\xc4')
|
|
kPreMacOS91StationeryFolderType = FOUR_CHAR_CODE('\xbfdst')
|
|
kCreateFolderAtBoot = 0x00000002
|
|
kCreateFolderAtBootBit = 1
|
|
kFolderCreatedInvisible = 0x00000004
|
|
kFolderCreatedInvisibleBit = 2
|
|
kFolderCreatedNameLocked = 0x00000008
|
|
kFolderCreatedNameLockedBit = 3
|
|
kFolderCreatedAdminPrivs = 0x00000010
|
|
kFolderCreatedAdminPrivsBit = 4
|
|
kFolderInUserFolder = 0x00000020
|
|
kFolderInUserFolderBit = 5
|
|
kFolderTrackedByAlias = 0x00000040
|
|
kFolderTrackedByAliasBit = 6
|
|
kFolderInRemoteUserFolderIfAvailable = 0x00000080
|
|
kFolderInRemoteUserFolderIfAvailableBit = 7
|
|
kFolderNeverMatchedInIdentifyFolder = 0x00000100
|
|
kFolderNeverMatchedInIdentifyFolderBit = 8
|
|
kFolderMustStayOnSameVolume = 0x00000200
|
|
kFolderMustStayOnSameVolumeBit = 9
|
|
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledMask = 0x00000400
|
|
kFolderManagerFolderInMacOS9FolderIfMacOSXIsInstalledBit = 10
|
|
kFolderInLocalOrRemoteUserFolder = kFolderInUserFolder | kFolderInRemoteUserFolderIfAvailable
|
|
kRelativeFolder = FOUR_CHAR_CODE('relf')
|
|
kSpecialFolder = FOUR_CHAR_CODE('spcf')
|
|
kBlessedFolder = FOUR_CHAR_CODE('blsf')
|
|
kRootFolder = FOUR_CHAR_CODE('rotf')
|
|
kCurrentUserFolderLocation = FOUR_CHAR_CODE('cusf')
|
|
kFindFolderRedirectionFlagUseDistinctUserFoldersBit = 0
|
|
kFindFolderRedirectionFlagUseGivenVRefAndDirIDAsUserFolderBit = 1
|
|
kFindFolderRedirectionFlagsUseGivenVRefNumAndDirIDAsRemoteUserFolderBit = 2
|
|
kFolderManagerUserRedirectionGlobalsCurrentVersion = 1
|
|
kFindFolderExtendedFlagsDoNotFollowAliasesBit = 0
|
|
kFindFolderExtendedFlagsDoNotUseUserFolderBit = 1
|
|
kFindFolderExtendedFlagsUseOtherUserRecord = 0x01000000
|
|
kFolderManagerNotificationMessageUserLogIn = FOUR_CHAR_CODE('log+')
|
|
kFolderManagerNotificationMessagePreUserLogIn = FOUR_CHAR_CODE('logj')
|
|
kFolderManagerNotificationMessageUserLogOut = FOUR_CHAR_CODE('log-')
|
|
kFolderManagerNotificationMessagePostUserLogOut = FOUR_CHAR_CODE('logp')
|
|
kFolderManagerNotificationDiscardCachedData = FOUR_CHAR_CODE('dche')
|
|
kFolderManagerNotificationMessageLoginStartup = FOUR_CHAR_CODE('stup')
|
|
kDoNotRemoveWhenCurrentApplicationQuitsBit = 0
|
|
kDoNotRemoveWheCurrentApplicationQuitsBit = kDoNotRemoveWhenCurrentApplicationQuitsBit
|
|
kStopIfAnyNotificationProcReturnsErrorBit = 31
|