1# Generated from 'LaunchServices.h' 2 3def FOUR_CHAR_CODE(x): return x 4from Carbon.Files import * 5kLSRequestAllInfo = -1 6kLSRolesAll = -1 7kLSUnknownType = FOUR_CHAR_CODE('\0\0\0\0') 8kLSUnknownCreator = FOUR_CHAR_CODE('\0\0\0\0') 9kLSInvalidExtensionIndex = -1 10kLSUnknownErr = -10810 11kLSNotAnApplicationErr = -10811 12kLSNotInitializedErr = -10812 13kLSDataUnavailableErr = -10813 14kLSApplicationNotFoundErr = -10814 15kLSUnknownTypeErr = -10815 16kLSDataTooOldErr = -10816 17kLSDataErr = -10817 18kLSLaunchInProgressErr = -10818 19kLSNotRegisteredErr = -10819 20kLSAppDoesNotClaimTypeErr = -10820 21kLSAppDoesNotSupportSchemeWarning = -10821 22kLSServerCommunicationErr = -10822 23kLSCannotSetInfoErr = -10823 24kLSInitializeDefaults = 0x00000001 25kLSMinCatInfoBitmap = (kFSCatInfoNodeFlags | kFSCatInfoParentDirID | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo) 26# kLSInvalidExtensionIndex = (unsigned long)0xFFFFFFFF 27kLSRequestExtension = 0x00000001 28kLSRequestTypeCreator = 0x00000002 29kLSRequestBasicFlagsOnly = 0x00000004 30kLSRequestAppTypeFlags = 0x00000008 31kLSRequestAllFlags = 0x00000010 32kLSRequestIconAndKind = 0x00000020 33kLSRequestExtensionFlagsOnly = 0x00000040 34# kLSRequestAllInfo = (unsigned long)0xFFFFFFFF 35kLSItemInfoIsPlainFile = 0x00000001 36kLSItemInfoIsPackage = 0x00000002 37kLSItemInfoIsApplication = 0x00000004 38kLSItemInfoIsContainer = 0x00000008 39kLSItemInfoIsAliasFile = 0x00000010 40kLSItemInfoIsSymlink = 0x00000020 41kLSItemInfoIsInvisible = 0x00000040 42kLSItemInfoIsNativeApp = 0x00000080 43kLSItemInfoIsClassicApp = 0x00000100 44kLSItemInfoAppPrefersNative = 0x00000200 45kLSItemInfoAppPrefersClassic = 0x00000400 46kLSItemInfoAppIsScriptable = 0x00000800 47kLSItemInfoIsVolume = 0x00001000 48kLSItemInfoExtensionIsHidden = 0x00100000 49kLSRolesNone = 0x00000001 50kLSRolesViewer = 0x00000002 51kLSRolesEditor = 0x00000004 52# kLSRolesAll = (unsigned long)0xFFFFFFFF 53kLSUnknownKindID = 0 54# kLSUnknownType = 0 55# kLSUnknownCreator = 0 56kLSAcceptDefault = 0x00000001 57kLSAcceptAllowLoginUI = 0x00000002 58kLSLaunchDefaults = 0x00000001 59kLSLaunchAndPrint = 0x00000002 60kLSLaunchReserved2 = 0x00000004 61kLSLaunchReserved3 = 0x00000008 62kLSLaunchReserved4 = 0x00000010 63kLSLaunchReserved5 = 0x00000020 64kLSLaunchReserved6 = 0x00000040 65kLSLaunchInhibitBGOnly = 0x00000080 66kLSLaunchDontAddToRecents = 0x00000100 67kLSLaunchDontSwitch = 0x00000200 68kLSLaunchNoParams = 0x00000800 69kLSLaunchAsync = 0x00010000 70kLSLaunchStartClassic = 0x00020000 71kLSLaunchInClassic = 0x00040000 72kLSLaunchNewInstance = 0x00080000 73kLSLaunchAndHide = 0x00100000 74kLSLaunchAndHideOthers = 0x00200000 75