2003-12-02 19:01:43 -04:00
|
|
|
# Generated from 'LaunchServices.h'
|
|
|
|
|
|
|
|
def FOUR_CHAR_CODE(x): return x
|
2003-12-05 19:59:37 -04:00
|
|
|
from Carbon.Files import *
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSRequestAllInfo = -1
|
|
|
|
kLSRolesAll = -1
|
2004-03-13 19:50:48 -04:00
|
|
|
kLSUnknownType = FOUR_CHAR_CODE('\0\0\0\0')
|
|
|
|
kLSUnknownCreator = FOUR_CHAR_CODE('\0\0\0\0')
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSInvalidExtensionIndex = -1
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSUnknownErr = -10810
|
|
|
|
kLSNotAnApplicationErr = -10811
|
|
|
|
kLSNotInitializedErr = -10812
|
|
|
|
kLSDataUnavailableErr = -10813
|
|
|
|
kLSApplicationNotFoundErr = -10814
|
|
|
|
kLSUnknownTypeErr = -10815
|
|
|
|
kLSDataTooOldErr = -10816
|
|
|
|
kLSDataErr = -10817
|
|
|
|
kLSLaunchInProgressErr = -10818
|
|
|
|
kLSNotRegisteredErr = -10819
|
|
|
|
kLSAppDoesNotClaimTypeErr = -10820
|
|
|
|
kLSAppDoesNotSupportSchemeWarning = -10821
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSServerCommunicationErr = -10822
|
|
|
|
kLSCannotSetInfoErr = -10823
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSInitializeDefaults = 0x00000001
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSMinCatInfoBitmap = (kFSCatInfoNodeFlags | kFSCatInfoParentDirID | kFSCatInfoFinderInfo | kFSCatInfoFinderXInfo)
|
|
|
|
# kLSInvalidExtensionIndex = (unsigned long)0xFFFFFFFF
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSRequestExtension = 0x00000001
|
|
|
|
kLSRequestTypeCreator = 0x00000002
|
|
|
|
kLSRequestBasicFlagsOnly = 0x00000004
|
|
|
|
kLSRequestAppTypeFlags = 0x00000008
|
|
|
|
kLSRequestAllFlags = 0x00000010
|
|
|
|
kLSRequestIconAndKind = 0x00000020
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSRequestExtensionFlagsOnly = 0x00000040
|
2003-12-02 19:01:43 -04:00
|
|
|
# kLSRequestAllInfo = (unsigned long)0xFFFFFFFF
|
|
|
|
kLSItemInfoIsPlainFile = 0x00000001
|
|
|
|
kLSItemInfoIsPackage = 0x00000002
|
|
|
|
kLSItemInfoIsApplication = 0x00000004
|
|
|
|
kLSItemInfoIsContainer = 0x00000008
|
|
|
|
kLSItemInfoIsAliasFile = 0x00000010
|
|
|
|
kLSItemInfoIsSymlink = 0x00000020
|
|
|
|
kLSItemInfoIsInvisible = 0x00000040
|
|
|
|
kLSItemInfoIsNativeApp = 0x00000080
|
|
|
|
kLSItemInfoIsClassicApp = 0x00000100
|
|
|
|
kLSItemInfoAppPrefersNative = 0x00000200
|
|
|
|
kLSItemInfoAppPrefersClassic = 0x00000400
|
|
|
|
kLSItemInfoAppIsScriptable = 0x00000800
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSItemInfoIsVolume = 0x00001000
|
|
|
|
kLSItemInfoExtensionIsHidden = 0x00100000
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSRolesNone = 0x00000001
|
|
|
|
kLSRolesViewer = 0x00000002
|
|
|
|
kLSRolesEditor = 0x00000004
|
2003-12-05 19:59:37 -04:00
|
|
|
# kLSRolesAll = (unsigned long)0xFFFFFFFF
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSUnknownKindID = 0
|
2004-03-13 19:50:48 -04:00
|
|
|
# kLSUnknownType = 0
|
|
|
|
# kLSUnknownCreator = 0
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSAcceptDefault = 0x00000001
|
2003-12-05 19:59:37 -04:00
|
|
|
kLSAcceptAllowLoginUI = 0x00000002
|
2003-12-02 19:01:43 -04:00
|
|
|
kLSLaunchDefaults = 0x00000001
|
|
|
|
kLSLaunchAndPrint = 0x00000002
|
|
|
|
kLSLaunchReserved2 = 0x00000004
|
|
|
|
kLSLaunchReserved3 = 0x00000008
|
|
|
|
kLSLaunchReserved4 = 0x00000010
|
|
|
|
kLSLaunchReserved5 = 0x00000020
|
|
|
|
kLSLaunchReserved6 = 0x00000040
|
|
|
|
kLSLaunchInhibitBGOnly = 0x00000080
|
|
|
|
kLSLaunchDontAddToRecents = 0x00000100
|
|
|
|
kLSLaunchDontSwitch = 0x00000200
|
|
|
|
kLSLaunchNoParams = 0x00000800
|
|
|
|
kLSLaunchAsync = 0x00010000
|
|
|
|
kLSLaunchStartClassic = 0x00020000
|
|
|
|
kLSLaunchInClassic = 0x00040000
|
|
|
|
kLSLaunchNewInstance = 0x00080000
|
|
|
|
kLSLaunchAndHide = 0x00100000
|
|
|
|
kLSLaunchAndHideOthers = 0x00200000
|