mirror of https://github.com/python/cpython.git
This now contains constants from Files.h, Aliases.h and Finder.h.
This commit is contained in:
parent
e55beefed8
commit
b4289b5771
|
@ -338,3 +338,86 @@ def FOUR_CHAR_CODE(x): return x
|
|||
kFSVolFlagSoftwareLockedBit = 15
|
||||
kFSVolFlagSoftwareLockedMask = 0x8000
|
||||
kFNDirectoryModifiedMessage = 1
|
||||
rAliasType = FOUR_CHAR_CODE('alis')
|
||||
kARMMountVol = 0x00000001
|
||||
kARMNoUI = 0x00000002
|
||||
kARMMultVols = 0x00000008
|
||||
kARMSearch = 0x00000100
|
||||
kARMSearchMore = 0x00000200
|
||||
kARMSearchRelFirst = 0x00000400
|
||||
asiZoneName = -3
|
||||
asiServerName = -2
|
||||
asiVolumeName = -1
|
||||
asiAliasName = 0
|
||||
asiParentName = 1
|
||||
kResolveAliasFileNoUI = 0x00000001
|
||||
kClippingCreator = FOUR_CHAR_CODE('drag')
|
||||
kClippingPictureType = FOUR_CHAR_CODE('clpp')
|
||||
kClippingTextType = FOUR_CHAR_CODE('clpt')
|
||||
kClippingSoundType = FOUR_CHAR_CODE('clps')
|
||||
kClippingUnknownType = FOUR_CHAR_CODE('clpu')
|
||||
kInternetLocationCreator = FOUR_CHAR_CODE('drag')
|
||||
kInternetLocationHTTP = FOUR_CHAR_CODE('ilht')
|
||||
kInternetLocationFTP = FOUR_CHAR_CODE('ilft')
|
||||
kInternetLocationFile = FOUR_CHAR_CODE('ilfi')
|
||||
kInternetLocationMail = FOUR_CHAR_CODE('ilma')
|
||||
kInternetLocationNNTP = FOUR_CHAR_CODE('ilnw')
|
||||
kInternetLocationAFP = FOUR_CHAR_CODE('ilaf')
|
||||
kInternetLocationAppleTalk = FOUR_CHAR_CODE('ilat')
|
||||
kInternetLocationNSL = FOUR_CHAR_CODE('ilns')
|
||||
kInternetLocationGeneric = FOUR_CHAR_CODE('ilge')
|
||||
kCustomIconResource = -16455
|
||||
kCustomBadgeResourceType = FOUR_CHAR_CODE('badg')
|
||||
kCustomBadgeResourceID = kCustomIconResource
|
||||
kCustomBadgeResourceVersion = 0
|
||||
# kSystemFolderType = 'macs'.
|
||||
kRoutingResourceType = FOUR_CHAR_CODE('rout')
|
||||
kRoutingResourceID = 0
|
||||
kContainerFolderAliasType = FOUR_CHAR_CODE('fdrp')
|
||||
kContainerTrashAliasType = FOUR_CHAR_CODE('trsh')
|
||||
kContainerHardDiskAliasType = FOUR_CHAR_CODE('hdsk')
|
||||
kContainerFloppyAliasType = FOUR_CHAR_CODE('flpy')
|
||||
kContainerServerAliasType = FOUR_CHAR_CODE('srvr')
|
||||
kApplicationAliasType = FOUR_CHAR_CODE('adrp')
|
||||
kContainerAliasType = FOUR_CHAR_CODE('drop')
|
||||
kDesktopPrinterAliasType = FOUR_CHAR_CODE('dtpa')
|
||||
kContainerCDROMAliasType = FOUR_CHAR_CODE('cddr')
|
||||
kApplicationCPAliasType = FOUR_CHAR_CODE('acdp')
|
||||
kApplicationDAAliasType = FOUR_CHAR_CODE('addp')
|
||||
kPackageAliasType = FOUR_CHAR_CODE('fpka')
|
||||
kAppPackageAliasType = FOUR_CHAR_CODE('fapa')
|
||||
kSystemFolderAliasType = FOUR_CHAR_CODE('fasy')
|
||||
kAppleMenuFolderAliasType = FOUR_CHAR_CODE('faam')
|
||||
kStartupFolderAliasType = FOUR_CHAR_CODE('fast')
|
||||
kPrintMonitorDocsFolderAliasType = FOUR_CHAR_CODE('fapn')
|
||||
kPreferencesFolderAliasType = FOUR_CHAR_CODE('fapf')
|
||||
kControlPanelFolderAliasType = FOUR_CHAR_CODE('fact')
|
||||
kExtensionFolderAliasType = FOUR_CHAR_CODE('faex')
|
||||
kExportedFolderAliasType = FOUR_CHAR_CODE('faet')
|
||||
kDropFolderAliasType = FOUR_CHAR_CODE('fadr')
|
||||
kSharedFolderAliasType = FOUR_CHAR_CODE('fash')
|
||||
kMountedFolderAliasType = FOUR_CHAR_CODE('famn')
|
||||
kIsOnDesk = 0x0001
|
||||
kColor = 0x000E
|
||||
kIsShared = 0x0040
|
||||
kHasNoINITs = 0x0080
|
||||
kHasBeenInited = 0x0100
|
||||
kHasCustomIcon = 0x0400
|
||||
kIsStationery = 0x0800
|
||||
kNameLocked = 0x1000
|
||||
kHasBundle = 0x2000
|
||||
kIsInvisible = 0x4000
|
||||
kIsAlias = 0x8000
|
||||
fOnDesk = kIsOnDesk
|
||||
fHasBundle = kHasBundle
|
||||
fInvisible = kIsInvisible
|
||||
fTrash = -3
|
||||
fDesktop = -2
|
||||
fDisk = 0
|
||||
kIsStationary = kIsStationery
|
||||
kExtendedFlagsAreInvalid = 0x8000
|
||||
kExtendedFlagHasCustomBadge = 0x0100
|
||||
kExtendedFlagHasRoutingInfo = 0x0004
|
||||
kFirstMagicBusyFiletype = FOUR_CHAR_CODE('bzy ')
|
||||
kLastMagicBusyFiletype = FOUR_CHAR_CODE('bzy?')
|
||||
kMagicBusyCreationDate = 0x4F3AFDB0
|
||||
|
|
Loading…
Reference in New Issue