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