diff options
Diffstat (limited to 'Lib/plat-mac/Carbon/LaunchServices.py')
-rw-r--r-- | Lib/plat-mac/Carbon/LaunchServices.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Lib/plat-mac/Carbon/LaunchServices.py b/Lib/plat-mac/Carbon/LaunchServices.py index 7131d09..2be67c3 100644 --- a/Lib/plat-mac/Carbon/LaunchServices.py +++ b/Lib/plat-mac/Carbon/LaunchServices.py @@ -1,8 +1,10 @@ # Generated from 'LaunchServices.h' def FOUR_CHAR_CODE(x): return x +from Carbon.Files import * kLSRequestAllInfo = -1 kLSRolesAll = -1 +kLSInvalidExtensionIndex = -1 kLSUnknownErr = -10810 kLSNotAnApplicationErr = -10811 kLSNotInitializedErr = -10812 @@ -15,14 +17,18 @@ kLSLaunchInProgressErr = -10818 kLSNotRegisteredErr = -10819 kLSAppDoesNotClaimTypeErr = -10820 kLSAppDoesNotSupportSchemeWarning = -10821 -kLSServerCommunicationErr = -10822 +kLSServerCommunicationErr = -10822 +kLSCannotSetInfoErr = -10823 kLSInitializeDefaults = 0x00000001 +kLSMinCatInfoBitmap = (kFSCatInfoNodeFlags | kFSCatInfoParentDirID | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo) +# kLSInvalidExtensionIndex = (unsigned long)0xFFFFFFFF kLSRequestExtension = 0x00000001 kLSRequestTypeCreator = 0x00000002 kLSRequestBasicFlagsOnly = 0x00000004 kLSRequestAppTypeFlags = 0x00000008 kLSRequestAllFlags = 0x00000010 kLSRequestIconAndKind = 0x00000020 +kLSRequestExtensionFlagsOnly = 0x00000040 # kLSRequestAllInfo = (unsigned long)0xFFFFFFFF kLSItemInfoIsPlainFile = 0x00000001 kLSItemInfoIsPackage = 0x00000002 @@ -36,16 +42,17 @@ kLSItemInfoIsClassicApp = 0x00000100 kLSItemInfoAppPrefersNative = 0x00000200 kLSItemInfoAppPrefersClassic = 0x00000400 kLSItemInfoAppIsScriptable = 0x00000800 -kLSItemInfoIsVolume = 0x00001000 +kLSItemInfoIsVolume = 0x00001000 +kLSItemInfoExtensionIsHidden = 0x00100000 kLSRolesNone = 0x00000001 kLSRolesViewer = 0x00000002 kLSRolesEditor = 0x00000004 -# kLSRolesAll = (unsigned long)0xFFFFFFFF +# kLSRolesAll = (unsigned long)0xFFFFFFFF kLSUnknownKindID = 0 kLSUnknownType = 0 kLSUnknownCreator = 0 kLSAcceptDefault = 0x00000001 -kLSAcceptAllowLoginUI = 0x00000002 +kLSAcceptAllowLoginUI = 0x00000002 kLSLaunchDefaults = 0x00000001 kLSLaunchAndPrint = 0x00000002 kLSLaunchReserved2 = 0x00000004 |