diff options
Diffstat (limited to 'Mac/Lib/lib-toolbox/AEObjects.py')
-rw-r--r-- | Mac/Lib/lib-toolbox/AEObjects.py | 105 |
1 files changed, 53 insertions, 52 deletions
diff --git a/Mac/Lib/lib-toolbox/AEObjects.py b/Mac/Lib/lib-toolbox/AEObjects.py index 38a8e1b..7d4f28e 100644 --- a/Mac/Lib/lib-toolbox/AEObjects.py +++ b/Mac/Lib/lib-toolbox/AEObjects.py @@ -1,50 +1,51 @@ # Generated from 'flap:Metrowerks:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:AEObjects.h' -kAEAND = 'AND ' -kAEOR = 'OR ' -kAENOT = 'NOT ' -kAEFirst = 'firs' -kAELast = 'last' -kAEMiddle = 'midd' -kAEAny = 'any ' -kAEAll = 'all ' -kAENext = 'next' -kAEPrevious = 'prev' -keyAECompOperator = 'relo' -keyAELogicalTerms = 'term' -keyAELogicalOperator = 'logc' -keyAEObject1 = 'obj1' -keyAEObject2 = 'obj2' -keyAEDesiredClass = 'want' -keyAEContainer = 'from' -keyAEKeyForm = 'form' -keyAEKeyData = 'seld' -keyAERangeStart = 'star' -keyAERangeStop = 'stop' -keyDisposeTokenProc = 'xtok' -keyAECompareProc = 'cmpr' -keyAECountProc = 'cont' -keyAEMarkTokenProc = 'mkid' -keyAEMarkProc = 'mark' -keyAEAdjustMarksProc = 'adjm' -keyAEGetErrDescProc = 'indc' -formAbsolutePosition = 'indx' -formRelativePosition = 'rele' -formTest = 'test' -formRange = 'rang' -formPropertyID = 'prop' -formName = 'name' -typeObjectSpecifier = 'obj ' -typeObjectBeingExamined = 'exmn' -typeCurrentContainer = 'ccnt' -typeToken = 'toke' -typeRelativeDescriptor = 'rel ' -typeAbsoluteOrdinal = 'abso' -typeIndexDescriptor = 'inde' -typeRangeDescriptor = 'rang' -typeLogicalDescriptor = 'logi' -typeCompDescriptor = 'cmpd' -typeOSLTokenList = 'ostl' +def FOUR_CHAR_CODE(x): return x +kAEAND = FOUR_CHAR_CODE('AND ') +kAEOR = FOUR_CHAR_CODE('OR ') +kAENOT = FOUR_CHAR_CODE('NOT ') +kAEFirst = FOUR_CHAR_CODE('firs') +kAELast = FOUR_CHAR_CODE('last') +kAEMiddle = FOUR_CHAR_CODE('midd') +kAEAny = FOUR_CHAR_CODE('any ') +kAEAll = FOUR_CHAR_CODE('all ') +kAENext = FOUR_CHAR_CODE('next') +kAEPrevious = FOUR_CHAR_CODE('prev') +keyAECompOperator = FOUR_CHAR_CODE('relo') +keyAELogicalTerms = FOUR_CHAR_CODE('term') +keyAELogicalOperator = FOUR_CHAR_CODE('logc') +keyAEObject1 = FOUR_CHAR_CODE('obj1') +keyAEObject2 = FOUR_CHAR_CODE('obj2') +keyAEDesiredClass = FOUR_CHAR_CODE('want') +keyAEContainer = FOUR_CHAR_CODE('from') +keyAEKeyForm = FOUR_CHAR_CODE('form') +keyAEKeyData = FOUR_CHAR_CODE('seld') +keyAERangeStart = FOUR_CHAR_CODE('star') +keyAERangeStop = FOUR_CHAR_CODE('stop') +keyDisposeTokenProc = FOUR_CHAR_CODE('xtok') +keyAECompareProc = FOUR_CHAR_CODE('cmpr') +keyAECountProc = FOUR_CHAR_CODE('cont') +keyAEMarkTokenProc = FOUR_CHAR_CODE('mkid') +keyAEMarkProc = FOUR_CHAR_CODE('mark') +keyAEAdjustMarksProc = FOUR_CHAR_CODE('adjm') +keyAEGetErrDescProc = FOUR_CHAR_CODE('indc') +formAbsolutePosition = FOUR_CHAR_CODE('indx') +formRelativePosition = FOUR_CHAR_CODE('rele') +formTest = FOUR_CHAR_CODE('test') +formRange = FOUR_CHAR_CODE('rang') +formPropertyID = FOUR_CHAR_CODE('prop') +formName = FOUR_CHAR_CODE('name') +typeObjectSpecifier = FOUR_CHAR_CODE('obj ') +typeObjectBeingExamined = FOUR_CHAR_CODE('exmn') +typeCurrentContainer = FOUR_CHAR_CODE('ccnt') +typeToken = FOUR_CHAR_CODE('toke') +typeRelativeDescriptor = FOUR_CHAR_CODE('rel ') +typeAbsoluteOrdinal = FOUR_CHAR_CODE('abso') +typeIndexDescriptor = FOUR_CHAR_CODE('inde') +typeRangeDescriptor = FOUR_CHAR_CODE('rang') +typeLogicalDescriptor = FOUR_CHAR_CODE('logi') +typeCompDescriptor = FOUR_CHAR_CODE('cmpd') +typeOSLTokenList = FOUR_CHAR_CODE('ostl') kAEIDoMinimum = 0x0000 kAEIDoWhose = 0x0001 kAEIDoMarking = 0x0004 @@ -52,10 +53,10 @@ kAEPassSubDescs = 0x0008 kAEResolveNestedLists = 0x0010 kAEHandleSimpleRanges = 0x0020 kAEUseRelativeIterators = 0x0040 -typeWhoseDescriptor = 'whos' -formWhose = 'whos' -typeWhoseRange = 'wrng' -keyAEWhoseRangeStart = 'wstr' -keyAEWhoseRangeStop = 'wstp' -keyAEIndex = 'kidx' -keyAETest = 'ktst' +typeWhoseDescriptor = FOUR_CHAR_CODE('whos') +formWhose = FOUR_CHAR_CODE('whos') +typeWhoseRange = FOUR_CHAR_CODE('wrng') +keyAEWhoseRangeStart = FOUR_CHAR_CODE('wstr') +keyAEWhoseRangeStop = FOUR_CHAR_CODE('wstp') +keyAEIndex = FOUR_CHAR_CODE('kidx') +keyAETest = FOUR_CHAR_CODE('ktst') |