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