PageRenderTime 26ms CodeModel.GetById 15ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 1ms

/Lib/plat-mac/Carbon/Components.py

http://unladen-swallow.googlecode.com/
Python | 62 lines | 60 code | 1 blank | 1 comment | 0 complexity | 567ad8676b6a5496c5e1b9bb1c680158 MD5 | raw file
 1# Generated from 'Components.h'
 2
 3def FOUR_CHAR_CODE(x): return x
 4kAppleManufacturer = FOUR_CHAR_CODE('appl')
 5kComponentResourceType = FOUR_CHAR_CODE('thng')
 6kComponentAliasResourceType = FOUR_CHAR_CODE('thga')
 7kAnyComponentType = 0
 8kAnyComponentSubType = 0
 9kAnyComponentManufacturer = 0
10kAnyComponentFlagsMask = 0
11cmpIsMissing = 1L << 29
12cmpWantsRegisterMessage = 1L << 31
13kComponentOpenSelect = -1
14kComponentCloseSelect = -2
15kComponentCanDoSelect = -3
16kComponentVersionSelect = -4
17kComponentRegisterSelect = -5
18kComponentTargetSelect = -6
19kComponentUnregisterSelect = -7
20kComponentGetMPWorkFunctionSelect = -8
21kComponentExecuteWiredActionSelect = -9
22kComponentGetPublicResourceSelect = -10
23componentDoAutoVersion = (1 << 0)
24componentWantsUnregister = (1 << 1)
25componentAutoVersionIncludeFlags = (1 << 2)
26componentHasMultiplePlatforms = (1 << 3)
27componentLoadResident = (1 << 4)
28defaultComponentIdentical = 0
29defaultComponentAnyFlags = 1
30defaultComponentAnyManufacturer = 2
31defaultComponentAnySubType = 4
32defaultComponentAnyFlagsAnyManufacturer = (defaultComponentAnyFlags + defaultComponentAnyManufacturer)
33defaultComponentAnyFlagsAnyManufacturerAnySubType = (defaultComponentAnyFlags + defaultComponentAnyManufacturer + defaultComponentAnySubType)
34registerComponentGlobal = 1
35registerComponentNoDuplicates = 2
36registerComponentAfterExisting = 4
37registerComponentAliasesOnly = 8
38platform68k = 1
39platformPowerPC = 2
40platformInterpreted = 3
41platformWin32 = 4
42platformPowerPCNativeEntryPoint = 5
43mpWorkFlagDoWork = (1 << 0)
44mpWorkFlagDoCompletion = (1 << 1)
45mpWorkFlagCopyWorkBlock = (1 << 2)
46mpWorkFlagDontBlock = (1 << 3)
47mpWorkFlagGetProcessorCount = (1 << 4)
48mpWorkFlagGetIsRunning = (1 << 6)
49cmpAliasNoFlags = 0
50cmpAliasOnlyThisFile = 1
51uppComponentFunctionImplementedProcInfo = 0x000002F0
52uppGetComponentVersionProcInfo = 0x000000F0
53uppComponentSetTargetProcInfo = 0x000003F0
54uppCallComponentOpenProcInfo = 0x000003F0
55uppCallComponentCloseProcInfo = 0x000003F0
56uppCallComponentCanDoProcInfo = 0x000002F0
57uppCallComponentVersionProcInfo = 0x000000F0
58uppCallComponentRegisterProcInfo = 0x000000F0
59uppCallComponentTargetProcInfo = 0x000003F0
60uppCallComponentUnregisterProcInfo = 0x000000F0
61uppCallComponentGetMPWorkFunctionProcInfo = 0x00000FF0
62uppCallComponentGetPublicResourceProcInfo = 0x00003BF0