home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 May / maximum-cd-2010-05.iso / DiscContents / boxee-0.9.20.10711.exe / system / python / Lib / plat-mac / Carbon / Files.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-07-20  |  15.9 KB  |  427 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.4)
  3.  
  4.  
  5. def FOUR_CHAR_CODE(x):
  6.     return x
  7.  
  8. true = True
  9. false = False
  10. fsCurPerm = 0
  11. fsRdPerm = 1
  12. fsWrPerm = 2
  13. fsRdWrPerm = 3
  14. fsRdWrShPerm = 4
  15. fsRdDenyPerm = 16
  16. fsWrDenyPerm = 32
  17. fsRtParID = 1
  18. fsRtDirID = 2
  19. fsAtMark = 0
  20. fsFromStart = 1
  21. fsFromLEOF = 2
  22. fsFromMark = 3
  23. pleaseCacheBit = 4
  24. pleaseCacheMask = 16
  25. noCacheBit = 5
  26. noCacheMask = 32
  27. rdVerifyBit = 6
  28. rdVerifyMask = 64
  29. rdVerify = 64
  30. forceReadBit = 6
  31. forceReadMask = 64
  32. newLineBit = 7
  33. newLineMask = 128
  34. newLineCharMask = 65280
  35. fsSBPartialName = 1
  36. fsSBFullName = 2
  37. fsSBFlAttrib = 4
  38. fsSBFlFndrInfo = 8
  39. fsSBFlLgLen = 32
  40. fsSBFlPyLen = 64
  41. fsSBFlRLgLen = 128
  42. fsSBFlRPyLen = 256
  43. fsSBFlCrDat = 512
  44. fsSBFlMdDat = 1024
  45. fsSBFlBkDat = 2048
  46. fsSBFlXFndrInfo = 4096
  47. fsSBFlParID = 8192
  48. fsSBNegate = 16384
  49. fsSBDrUsrWds = 8
  50. fsSBDrNmFls = 16
  51. fsSBDrCrDat = 512
  52. fsSBDrMdDat = 1024
  53. fsSBDrBkDat = 2048
  54. fsSBDrFndrInfo = 4096
  55. fsSBDrParID = 8192
  56. fsSBPartialNameBit = 0
  57. fsSBFullNameBit = 1
  58. fsSBFlAttribBit = 2
  59. fsSBFlFndrInfoBit = 3
  60. fsSBFlLgLenBit = 5
  61. fsSBFlPyLenBit = 6
  62. fsSBFlRLgLenBit = 7
  63. fsSBFlRPyLenBit = 8
  64. fsSBFlCrDatBit = 9
  65. fsSBFlMdDatBit = 10
  66. fsSBFlBkDatBit = 11
  67. fsSBFlXFndrInfoBit = 12
  68. fsSBFlParIDBit = 13
  69. fsSBNegateBit = 14
  70. fsSBDrUsrWdsBit = 3
  71. fsSBDrNmFlsBit = 4
  72. fsSBDrCrDatBit = 9
  73. fsSBDrMdDatBit = 10
  74. fsSBDrBkDatBit = 11
  75. fsSBDrFndrInfoBit = 12
  76. fsSBDrParIDBit = 13
  77. bLimitFCBs = 31
  78. bLocalWList = 30
  79. bNoMiniFndr = 29
  80. bNoVNEdit = 28
  81. bNoLclSync = 27
  82. bTrshOffLine = 26
  83. bNoSwitchTo = 25
  84. bDontShareIt = 21
  85. bNoDeskItems = 20
  86. bNoBootBlks = 19
  87. bAccessCntl = 18
  88. bNoSysDir = 17
  89. bHasExtFSVol = 16
  90. bHasOpenDeny = 15
  91. bHasCopyFile = 14
  92. bHasMoveRename = 13
  93. bHasDesktopMgr = 12
  94. bHasShortName = 11
  95. bHasFolderLock = 10
  96. bHasPersonalAccessPrivileges = 9
  97. bHasUserGroupList = 8
  98. bHasCatSearch = 7
  99. bHasFileIDs = 6
  100. bHasBTreeMgr = 5
  101. bHasBlankAccessPrivileges = 4
  102. bSupportsAsyncRequests = 3
  103. bSupportsTrashVolumeCache = 2
  104. bIsEjectable = 0
  105. bSupportsHFSPlusAPIs = 1
  106. bSupportsFSCatalogSearch = 2
  107. bSupportsFSExchangeObjects = 3
  108. bSupports2TBFiles = 4
  109. bSupportsLongNames = 5
  110. bSupportsMultiScriptNames = 6
  111. bSupportsNamedForks = 7
  112. bSupportsSubtreeIterators = 8
  113. bL2PCanMapFileBlocks = 9
  114. bParentModDateChanges = 10
  115. bAncestorModDateChanges = 11
  116. bSupportsSymbolicLinks = 13
  117. bIsAutoMounted = 14
  118. bAllowCDiDataHandler = 17
  119. kLargeIcon = 1
  120. kLarge4BitIcon = 2
  121. kLarge8BitIcon = 3
  122. kSmallIcon = 4
  123. kSmall4BitIcon = 5
  124. kSmall8BitIcon = 6
  125. kicnsIconFamily = 239
  126. kLargeIconSize = 256
  127. kLarge4BitIconSize = 512
  128. kLarge8BitIconSize = 1024
  129. kSmallIconSize = 64
  130. kSmall4BitIconSize = 128
  131. kSmall8BitIconSize = 256
  132. kWidePosOffsetBit = 8
  133. kUseWidePositioning = 1 << kWidePosOffsetBit
  134. kMaximumBlocksIn4GB = 8388607
  135. fsUnixPriv = 1
  136. kNoUserAuthentication = 1
  137. kPassword = 2
  138. kEncryptPassword = 3
  139. kTwoWayEncryptPassword = 6
  140. kOwnerID2Name = 1
  141. kGroupID2Name = 2
  142. kOwnerName2ID = 3
  143. kGroupName2ID = 4
  144. kReturnNextUser = 1
  145. kReturnNextGroup = 2
  146. kReturnNextUG = 3
  147. kVCBFlagsIdleFlushBit = 3
  148. kVCBFlagsIdleFlushMask = 8
  149. kVCBFlagsHFSPlusAPIsBit = 4
  150. kVCBFlagsHFSPlusAPIsMask = 16
  151. kVCBFlagsHardwareGoneBit = 5
  152. kVCBFlagsHardwareGoneMask = 32
  153. kVCBFlagsVolumeDirtyBit = 15
  154. kVCBFlagsVolumeDirtyMask = 32768
  155. kioVAtrbDefaultVolumeBit = 5
  156. kioVAtrbDefaultVolumeMask = 32
  157. kioVAtrbFilesOpenBit = 6
  158. kioVAtrbFilesOpenMask = 64
  159. kioVAtrbHardwareLockedBit = 7
  160. kioVAtrbHardwareLockedMask = 128
  161. kioVAtrbSoftwareLockedBit = 15
  162. kioVAtrbSoftwareLockedMask = 32768
  163. kioFlAttribLockedBit = 0
  164. kioFlAttribLockedMask = 1
  165. kioFlAttribResOpenBit = 2
  166. kioFlAttribResOpenMask = 4
  167. kioFlAttribDataOpenBit = 3
  168. kioFlAttribDataOpenMask = 8
  169. kioFlAttribDirBit = 4
  170. kioFlAttribDirMask = 16
  171. ioDirFlg = 4
  172. ioDirMask = 16
  173. kioFlAttribCopyProtBit = 6
  174. kioFlAttribCopyProtMask = 64
  175. kioFlAttribFileOpenBit = 7
  176. kioFlAttribFileOpenMask = 128
  177. kioFlAttribInSharedBit = 2
  178. kioFlAttribInSharedMask = 4
  179. kioFlAttribMountedBit = 3
  180. kioFlAttribMountedMask = 8
  181. kioFlAttribSharePointBit = 5
  182. kioFlAttribSharePointMask = 32
  183. kioFCBWriteBit = 8
  184. kioFCBWriteMask = 256
  185. kioFCBResourceBit = 9
  186. kioFCBResourceMask = 512
  187. kioFCBWriteLockedBit = 10
  188. kioFCBWriteLockedMask = 1024
  189. kioFCBLargeFileBit = 11
  190. kioFCBLargeFileMask = 2048
  191. kioFCBSharedWriteBit = 12
  192. kioFCBSharedWriteMask = 4096
  193. kioFCBFileLockedBit = 13
  194. kioFCBFileLockedMask = 8192
  195. kioFCBOwnClumpBit = 14
  196. kioFCBOwnClumpMask = 16384
  197. kioFCBModifiedBit = 15
  198. kioFCBModifiedMask = 32768
  199. kioACUserNoSeeFolderBit = 0
  200. kioACUserNoSeeFolderMask = 1
  201. kioACUserNoSeeFilesBit = 1
  202. kioACUserNoSeeFilesMask = 2
  203. kioACUserNoMakeChangesBit = 2
  204. kioACUserNoMakeChangesMask = 4
  205. kioACUserNotOwnerBit = 7
  206. kioACUserNotOwnerMask = 128
  207. kioACAccessOwnerBit = 31
  208. kioACAccessBlankAccessBit = 28
  209. kioACAccessBlankAccessMask = 268435456
  210. kioACAccessUserWriteBit = 26
  211. kioACAccessUserWriteMask = 67108864
  212. kioACAccessUserReadBit = 25
  213. kioACAccessUserReadMask = 33554432
  214. kioACAccessUserSearchBit = 24
  215. kioACAccessUserSearchMask = 16777216
  216. kioACAccessEveryoneWriteBit = 18
  217. kioACAccessEveryoneWriteMask = 262144
  218. kioACAccessEveryoneReadBit = 17
  219. kioACAccessEveryoneReadMask = 131072
  220. kioACAccessEveryoneSearchBit = 16
  221. kioACAccessEveryoneSearchMask = 65536
  222. kioACAccessGroupWriteBit = 10
  223. kioACAccessGroupWriteMask = 1024
  224. kioACAccessGroupReadBit = 9
  225. kioACAccessGroupReadMask = 512
  226. kioACAccessGroupSearchBit = 8
  227. kioACAccessGroupSearchMask = 256
  228. kioACAccessOwnerWriteBit = 2
  229. kioACAccessOwnerWriteMask = 4
  230. kioACAccessOwnerReadBit = 1
  231. kioACAccessOwnerReadMask = 2
  232. kioACAccessOwnerSearchBit = 0
  233. kioACAccessOwnerSearchMask = 1
  234. kfullPrivileges = 458759
  235. kownerPrivileges = 7
  236. knoUser = 0
  237. kadministratorUser = 1
  238. knoGroup = 0
  239. AppleShareMediaType = FOUR_CHAR_CODE('afpm')
  240. volMountNoLoginMsgFlagBit = 0
  241. volMountNoLoginMsgFlagMask = 1
  242. volMountExtendedFlagsBit = 7
  243. volMountExtendedFlagsMask = 128
  244. volMountInteractBit = 15
  245. volMountInteractMask = 32768
  246. volMountChangedBit = 14
  247. volMountChangedMask = 16384
  248. volMountFSReservedMask = 255
  249. volMountSysReservedMask = 65280
  250. kAFPExtendedFlagsAlternateAddressMask = 1
  251. kAFPTagTypeIP = 1
  252. kAFPTagTypeIPPort = 2
  253. kAFPTagTypeDDP = 3
  254. kAFPTagTypeDNS = 4
  255. kAFPTagLengthIP = 6
  256. kAFPTagLengthIPPort = 8
  257. kAFPTagLengthDDP = 6
  258. kFSInvalidVolumeRefNum = 0
  259. kFSCatInfoNone = 0
  260. kFSCatInfoTextEncoding = 1
  261. kFSCatInfoNodeFlags = 2
  262. kFSCatInfoVolume = 4
  263. kFSCatInfoParentDirID = 8
  264. kFSCatInfoNodeID = 16
  265. kFSCatInfoCreateDate = 32
  266. kFSCatInfoContentMod = 64
  267. kFSCatInfoAttrMod = 128
  268. kFSCatInfoAccessDate = 256
  269. kFSCatInfoBackupDate = 512
  270. kFSCatInfoPermissions = 1024
  271. kFSCatInfoFinderInfo = 2048
  272. kFSCatInfoFinderXInfo = 4096
  273. kFSCatInfoValence = 8192
  274. kFSCatInfoDataSizes = 16384
  275. kFSCatInfoRsrcSizes = 32768
  276. kFSCatInfoSharingFlags = 65536
  277. kFSCatInfoUserPrivs = 131072
  278. kFSCatInfoUserAccess = 524288
  279. kFSCatInfoAllDates = 992
  280. kFSCatInfoGettableInfo = 262143
  281. kFSCatInfoSettableInfo = 8163
  282. kFSNodeLockedBit = 0
  283. kFSNodeLockedMask = 1
  284. kFSNodeResOpenBit = 2
  285. kFSNodeResOpenMask = 4
  286. kFSNodeDataOpenBit = 3
  287. kFSNodeDataOpenMask = 8
  288. kFSNodeIsDirectoryBit = 4
  289. kFSNodeIsDirectoryMask = 16
  290. kFSNodeCopyProtectBit = 6
  291. kFSNodeCopyProtectMask = 64
  292. kFSNodeForkOpenBit = 7
  293. kFSNodeForkOpenMask = 128
  294. kFSNodeInSharedBit = 2
  295. kFSNodeInSharedMask = 4
  296. kFSNodeIsMountedBit = 3
  297. kFSNodeIsMountedMask = 8
  298. kFSNodeIsSharePointBit = 5
  299. kFSNodeIsSharePointMask = 32
  300. kFSIterateFlat = 0
  301. kFSIterateSubtree = 1
  302. kFSIterateDelete = 2
  303. fsSBNodeID = 32768
  304. fsSBAttributeModDate = 65536
  305. fsSBAccessDate = 131072
  306. fsSBPermissions = 262144
  307. fsSBNodeIDBit = 15
  308. fsSBAttributeModDateBit = 16
  309. fsSBAccessDateBit = 17
  310. fsSBPermissionsBit = 18
  311. kFSAllocDefaultFlags = 0
  312. kFSAllocAllOrNothingMask = 1
  313. kFSAllocContiguousMask = 2
  314. kFSAllocNoRoundUpMask = 4
  315. kFSAllocReservedMask = 65528
  316. kFSVolInfoNone = 0
  317. kFSVolInfoCreateDate = 1
  318. kFSVolInfoModDate = 2
  319. kFSVolInfoBackupDate = 4
  320. kFSVolInfoCheckedDate = 8
  321. kFSVolInfoFileCount = 16
  322. kFSVolInfoDirCount = 32
  323. kFSVolInfoSizes = 64
  324. kFSVolInfoBlocks = 128
  325. kFSVolInfoNextAlloc = 256
  326. kFSVolInfoRsrcClump = 512
  327. kFSVolInfoDataClump = 1024
  328. kFSVolInfoNextID = 2048
  329. kFSVolInfoFinderInfo = 4096
  330. kFSVolInfoFlags = 8192
  331. kFSVolInfoFSInfo = 16384
  332. kFSVolInfoDriveInfo = 32768
  333. kFSVolInfoGettableInfo = 65535
  334. kFSVolInfoSettableInfo = 12292
  335. kFSVolFlagDefaultVolumeBit = 5
  336. kFSVolFlagDefaultVolumeMask = 32
  337. kFSVolFlagFilesOpenBit = 6
  338. kFSVolFlagFilesOpenMask = 64
  339. kFSVolFlagHardwareLockedBit = 7
  340. kFSVolFlagHardwareLockedMask = 128
  341. kFSVolFlagSoftwareLockedBit = 15
  342. kFSVolFlagSoftwareLockedMask = 32768
  343. kFNDirectoryModifiedMessage = 1
  344. kFNNoImplicitAllSubscription = 1 << 0
  345. rAliasType = FOUR_CHAR_CODE('alis')
  346. kARMMountVol = 1
  347. kARMNoUI = 2
  348. kARMMultVols = 8
  349. kARMSearch = 256
  350. kARMSearchMore = 512
  351. kARMSearchRelFirst = 1024
  352. asiZoneName = -3
  353. asiServerName = -2
  354. asiVolumeName = -1
  355. asiAliasName = 0
  356. asiParentName = 1
  357. kResolveAliasFileNoUI = 1
  358. kClippingCreator = FOUR_CHAR_CODE('drag')
  359. kClippingPictureType = FOUR_CHAR_CODE('clpp')
  360. kClippingTextType = FOUR_CHAR_CODE('clpt')
  361. kClippingSoundType = FOUR_CHAR_CODE('clps')
  362. kClippingUnknownType = FOUR_CHAR_CODE('clpu')
  363. kInternetLocationCreator = FOUR_CHAR_CODE('drag')
  364. kInternetLocationHTTP = FOUR_CHAR_CODE('ilht')
  365. kInternetLocationFTP = FOUR_CHAR_CODE('ilft')
  366. kInternetLocationFile = FOUR_CHAR_CODE('ilfi')
  367. kInternetLocationMail = FOUR_CHAR_CODE('ilma')
  368. kInternetLocationNNTP = FOUR_CHAR_CODE('ilnw')
  369. kInternetLocationAFP = FOUR_CHAR_CODE('ilaf')
  370. kInternetLocationAppleTalk = FOUR_CHAR_CODE('ilat')
  371. kInternetLocationNSL = FOUR_CHAR_CODE('ilns')
  372. kInternetLocationGeneric = FOUR_CHAR_CODE('ilge')
  373. kCustomIconResource = -16455
  374. kCustomBadgeResourceType = FOUR_CHAR_CODE('badg')
  375. kCustomBadgeResourceID = kCustomIconResource
  376. kCustomBadgeResourceVersion = 0
  377. kRoutingResourceType = FOUR_CHAR_CODE('rout')
  378. kRoutingResourceID = 0
  379. kContainerFolderAliasType = FOUR_CHAR_CODE('fdrp')
  380. kContainerTrashAliasType = FOUR_CHAR_CODE('trsh')
  381. kContainerHardDiskAliasType = FOUR_CHAR_CODE('hdsk')
  382. kContainerFloppyAliasType = FOUR_CHAR_CODE('flpy')
  383. kContainerServerAliasType = FOUR_CHAR_CODE('srvr')
  384. kApplicationAliasType = FOUR_CHAR_CODE('adrp')
  385. kContainerAliasType = FOUR_CHAR_CODE('drop')
  386. kDesktopPrinterAliasType = FOUR_CHAR_CODE('dtpa')
  387. kContainerCDROMAliasType = FOUR_CHAR_CODE('cddr')
  388. kApplicationCPAliasType = FOUR_CHAR_CODE('acdp')
  389. kApplicationDAAliasType = FOUR_CHAR_CODE('addp')
  390. kPackageAliasType = FOUR_CHAR_CODE('fpka')
  391. kAppPackageAliasType = FOUR_CHAR_CODE('fapa')
  392. kSystemFolderAliasType = FOUR_CHAR_CODE('fasy')
  393. kAppleMenuFolderAliasType = FOUR_CHAR_CODE('faam')
  394. kStartupFolderAliasType = FOUR_CHAR_CODE('fast')
  395. kPrintMonitorDocsFolderAliasType = FOUR_CHAR_CODE('fapn')
  396. kPreferencesFolderAliasType = FOUR_CHAR_CODE('fapf')
  397. kControlPanelFolderAliasType = FOUR_CHAR_CODE('fact')
  398. kExtensionFolderAliasType = FOUR_CHAR_CODE('faex')
  399. kExportedFolderAliasType = FOUR_CHAR_CODE('faet')
  400. kDropFolderAliasType = FOUR_CHAR_CODE('fadr')
  401. kSharedFolderAliasType = FOUR_CHAR_CODE('fash')
  402. kMountedFolderAliasType = FOUR_CHAR_CODE('famn')
  403. kIsOnDesk = 1
  404. kColor = 14
  405. kIsShared = 64
  406. kHasNoINITs = 128
  407. kHasBeenInited = 256
  408. kHasCustomIcon = 1024
  409. kIsStationery = 2048
  410. kNameLocked = 4096
  411. kHasBundle = 8192
  412. kIsInvisible = 16384
  413. kIsAlias = 32768
  414. fOnDesk = kIsOnDesk
  415. fHasBundle = kHasBundle
  416. fInvisible = kIsInvisible
  417. fTrash = -3
  418. fDesktop = -2
  419. fDisk = 0
  420. kIsStationary = kIsStationery
  421. kExtendedFlagsAreInvalid = 32768
  422. kExtendedFlagHasCustomBadge = 256
  423. kExtendedFlagHasRoutingInfo = 4
  424. kFirstMagicBusyFiletype = FOUR_CHAR_CODE('bzy ')
  425. kLastMagicBusyFiletype = FOUR_CHAR_CODE('bzy?')
  426. kMagicBusyCreationDate = 1329266096
  427.