summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib')
-rw-r--r--Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py687
-rw-r--r--Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py2355
-rw-r--r--Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py62
-rw-r--r--Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py410
-rw-r--r--Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py40
5 files changed, 3554 insertions, 0 deletions
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py
new file mode 100644
index 0000000..26f7d6a
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py
@@ -0,0 +1,687 @@
+"""Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE
+Level 0, version 0
+
+Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'CWIE'
+
+class CodeWarrior_suite_Events:
+
+ _argmap_add = {
+ 'new' : 'kocl',
+ 'with_data' : 'data',
+ 'to_targets' : 'TTGT',
+ 'to_group' : 'TGRP',
+ }
+
+ def add(self, _object, _attributes={}, **_arguments):
+ """add: add elements to a project or target
+ Required argument: an AE object reference
+ Keyword argument new: the class of the new element or elements to add
+ Keyword argument with_data: the initial data for the element or elements
+ Keyword argument to_targets: the targets to which the new element or elements will be added
+ Keyword argument to_group: the group to which the new element or elements will be added
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'ADDF'
+
+ aetools.keysubst(_arguments, self._argmap_add)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_export = {
+ '_in' : 'kfil',
+ }
+
+ def export(self, _no_object=None, _attributes={}, **_arguments):
+ """export: Export the project file as an XML file
+ Keyword argument _in: the XML file in which to export the project
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'EXPT'
+
+ aetools.keysubst(_arguments, self._argmap_export)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def update(self, _no_object=None, _attributes={}, **_arguments):
+ """update: bring a project or target up to date
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'UP2D'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def check(self, _object=None, _attributes={}, **_arguments):
+ """check: check the syntax of a file in a project or target
+ Required argument: the file or files to be checked
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'CHEK'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def compile_file(self, _object=None, _attributes={}, **_arguments):
+ """compile file: compile a file in a project or target
+ Required argument: the file or files to be compiled
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'COMP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def disassemble_file(self, _object=None, _attributes={}, **_arguments):
+ """disassemble file: disassemble a file in a project or target
+ Required argument: the file or files to be disassembled
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'DASM'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def build(self, _no_object=None, _attributes={}, **_arguments):
+ """build: build a project or target (equivalent of the Make menu command)
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'MAKE'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def remove_target_files(self, _object, _attributes={}, **_arguments):
+ """remove target files: remove files from a target
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'RMFL'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def remove_object_code(self, _no_object=None, _attributes={}, **_arguments):
+ """remove object code: remove object code from a project or target
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'RMOB'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def run_target(self, _no_object=None, _attributes={}, **_arguments):
+ """run target: run a project or target
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'RUN '
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def touch_file(self, _object=None, _attributes={}, **_arguments):
+ """touch file: touch a file in a project or target for compilation
+ Required argument: the file or files to be touched
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'CWIE'
+ _subcode = 'TOCH'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+
+class build_progress_document(aetools.ComponentItem):
+ """build progress document - a build progress document """
+ want = 'PRGS'
+class inherits(aetools.NProperty):
+ """inherits - all properties and elements of the given class are inherited by this class. """
+ which = 'c@#^'
+ want = 'docu'
+
+build_progress_documents = build_progress_document
+
+class catalog_document(aetools.ComponentItem):
+ """catalog document - a browser catalog document """
+ want = 'CTLG'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+catalog_documents = catalog_document
+
+class class_browser(aetools.ComponentItem):
+ """class browser - a class browser """
+ want = 'BROW'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+class_browsers = class_browser
+
+class class_hierarchy(aetools.ComponentItem):
+ """class hierarchy - a class hierarchy document """
+ want = 'HIER'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+class_hierarchies = class_hierarchy
+
+class editor_document(aetools.ComponentItem):
+ """editor document - an editor document """
+ want = 'EDIT'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+editor_documents = editor_document
+
+class file_compare_document(aetools.ComponentItem):
+ """file compare document - a file compare document """
+ want = 'COMP'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+file_compare_documents = file_compare_document
+
+class message_document(aetools.ComponentItem):
+ """message document - a message document """
+ want = 'MSSG'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+message_documents = message_document
+
+class project_document(aetools.ComponentItem):
+ """project document - a project document """
+ want = 'PRJD'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+class current_target(aetools.NProperty):
+ """current target - the current target """
+ which = 'CURT'
+ want = 'TRGT'
+# element 'TRGT' as ['indx', 'name', 'test', 'rang']
+
+project_documents = project_document
+
+class project_inspector(aetools.ComponentItem):
+ """project inspector - the project inspector """
+ want = 'INSP'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+project_inspectors = project_inspector
+
+class single_class_browser(aetools.ComponentItem):
+ """single class browser - a single class browser """
+ want = '1BRW'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+single_class_browsers = single_class_browser
+
+class single_class_hierarchy(aetools.ComponentItem):
+ """single class hierarchy - a single class hierarchy document """
+ want = '1HIR'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+single_class_hierarchies = single_class_hierarchy
+
+class subtarget(aetools.ComponentItem):
+ """subtarget - a target that is prerequisite for another target """
+ want = 'SBTG'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+class target(aetools.NProperty):
+ """target - the target that is dependent on this subtarget """
+ which = 'TrgT'
+ want = 'TRGT'
+class link_against_output(aetools.NProperty):
+ """link against output - is the output of this subtarget linked into its dependent target? """
+ which = 'LNKO'
+ want = 'bool'
+
+subtargets = subtarget
+
+class symbol_browser(aetools.ComponentItem):
+ """symbol browser - a symbol browser """
+ want = 'SYMB'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+symbol_browsers = symbol_browser
+
+class target(aetools.ComponentItem):
+ """target - a target in a project """
+ want = 'TRGT'
+class name(aetools.NProperty):
+ """name - """
+ which = 'pnam'
+ want = 'itxt'
+class index(aetools.NProperty):
+ """index - the number of the target """
+ which = 'pidx'
+ want = 'long'
+class project_document(aetools.NProperty):
+ """project document - the project document that contains this target """
+ which = 'PrjD'
+ want = 'PRJD'
+# element 'SRCF' as ['indx', 'test', 'rang']
+# element 'SBTG' as ['indx', 'test', 'rang']
+
+targets = target
+
+class target_file(aetools.ComponentItem):
+ """target file - a source or header file in a target """
+ want = 'SRCF'
+class id(aetools.NProperty):
+ """id - the unique ID number of the target file """
+ which = 'ID '
+ want = 'long'
+class type(aetools.NProperty):
+ """type - the type of source file """
+ which = 'FTYP'
+ want = 'FTYP'
+# repeated property index the number of the target file
+class location(aetools.NProperty):
+ """location - the location of the target file on disk """
+ which = 'FILE'
+ want = 'fss '
+class path(aetools.NProperty):
+ """path - the path of the source file on disk """
+ which = 'Path'
+ want = 'itxt'
+class linked(aetools.NProperty):
+ """linked - is the source file in the link order of its target? """
+ which = 'LINK'
+ want = 'bool'
+class link_index(aetools.NProperty):
+ """link index - the index of the source file in its targetıs link order (-1 if source file is not in link order) """
+ which = 'LIDX'
+ want = 'long'
+class modified_date(aetools.NProperty):
+ """modified date - the date and time this source file was last modified """
+ which = 'MODD'
+ want = 'ldt '
+class compiled_date(aetools.NProperty):
+ """compiled date - the date and this source file was last compiled """
+ which = 'CMPD'
+ want = 'ldt '
+class code_size(aetools.NProperty):
+ """code size - the size of the code (in bytes) produced by compiling this source file """
+ which = 'CSZE'
+ want = 'long'
+class data_size(aetools.NProperty):
+ """data size - the size of the date (in bytes) produced by compiling this source file """
+ which = 'DSZE'
+ want = 'long'
+class debug(aetools.NProperty):
+ """debug - is debugging information generated for this source file? """
+ which = 'DBUG'
+ want = 'bool'
+class weak_link(aetools.NProperty):
+ """weak link - is this shared library linked weakly? """
+ which = 'WEAK'
+ want = 'bool'
+class init_before(aetools.NProperty):
+ """init before - is the Œinitialize beforeı flag set for this shared library? """
+ which = 'INIT'
+ want = 'bool'
+class merge_output(aetools.NProperty):
+ """merge output - is this shared library merged into another code fragment? """
+ which = 'MRGE'
+ want = 'bool'
+class prerequisites(aetools.NProperty):
+ """prerequisites - the source files needed to build this source file """
+ which = 'PRER'
+ want = 'list'
+class dependents(aetools.NProperty):
+ """dependents - the source files that need this source file in order to build """
+ which = 'DPND'
+ want = 'list'
+
+target_files = target_file
+
+class text_document(aetools.ComponentItem):
+ """text document - a document that contains text """
+ want = 'TXTD'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+class modified(aetools.NProperty):
+ """modified - Has the document been modified since the last save? """
+ which = 'imod'
+ want = 'bool'
+class selection(aetools.NProperty):
+ """selection - the selection visible to the user """
+ which = 'sele'
+ want = 'csel'
+# element 'cha ' as ['indx', 'rele', 'rang', 'test']
+# element 'cins' as ['rele']
+# element 'clin' as ['indx', 'rang', 'rele']
+# element 'ctxt' as ['rang']
+
+text_documents = text_document
+
+class ToolServer_worksheet(aetools.ComponentItem):
+ """ToolServer worksheet - a ToolServer worksheet """
+ want = 'TOOL'
+# repeated property inherits all properties and elements of the given class are inherited by this class.
+
+ToolServer_worksheets = ToolServer_worksheet
+build_progress_document._propdict = {
+ 'inherits' : inherits,
+}
+build_progress_document._elemdict = {
+}
+catalog_document._propdict = {
+ 'inherits' : inherits,
+}
+catalog_document._elemdict = {
+}
+class_browser._propdict = {
+ 'inherits' : inherits,
+}
+class_browser._elemdict = {
+}
+class_hierarchy._propdict = {
+ 'inherits' : inherits,
+}
+class_hierarchy._elemdict = {
+}
+editor_document._propdict = {
+ 'inherits' : inherits,
+}
+editor_document._elemdict = {
+}
+file_compare_document._propdict = {
+ 'inherits' : inherits,
+}
+file_compare_document._elemdict = {
+}
+message_document._propdict = {
+ 'inherits' : inherits,
+}
+message_document._elemdict = {
+}
+project_document._propdict = {
+ 'inherits' : inherits,
+ 'current_target' : current_target,
+}
+project_document._elemdict = {
+ 'target' : target,
+}
+project_inspector._propdict = {
+ 'inherits' : inherits,
+}
+project_inspector._elemdict = {
+}
+single_class_browser._propdict = {
+ 'inherits' : inherits,
+}
+single_class_browser._elemdict = {
+}
+single_class_hierarchy._propdict = {
+ 'inherits' : inherits,
+}
+single_class_hierarchy._elemdict = {
+}
+subtarget._propdict = {
+ 'inherits' : inherits,
+ 'target' : target,
+ 'link_against_output' : link_against_output,
+}
+subtarget._elemdict = {
+}
+symbol_browser._propdict = {
+ 'inherits' : inherits,
+}
+symbol_browser._elemdict = {
+}
+target._propdict = {
+ 'name' : name,
+ 'index' : index,
+ 'project_document' : project_document,
+}
+target._elemdict = {
+ 'target_file' : target_file,
+ 'subtarget' : subtarget,
+}
+target_file._propdict = {
+ 'id' : id,
+ 'type' : type,
+ 'index' : index,
+ 'location' : location,
+ 'path' : path,
+ 'linked' : linked,
+ 'link_index' : link_index,
+ 'modified_date' : modified_date,
+ 'compiled_date' : compiled_date,
+ 'code_size' : code_size,
+ 'data_size' : data_size,
+ 'debug' : debug,
+ 'weak_link' : weak_link,
+ 'init_before' : init_before,
+ 'merge_output' : merge_output,
+ 'prerequisites' : prerequisites,
+ 'dependents' : dependents,
+}
+target_file._elemdict = {
+}
+import Standard_Suite
+text_document._propdict = {
+ 'inherits' : inherits,
+ 'modified' : modified,
+ 'selection' : selection,
+}
+text_document._elemdict = {
+ 'character' : Standard_Suite.character,
+ 'insertion_point' : Standard_Suite.insertion_point,
+ 'line' : Standard_Suite.line,
+ 'text' : Standard_Suite.text,
+}
+ToolServer_worksheet._propdict = {
+ 'inherits' : inherits,
+}
+ToolServer_worksheet._elemdict = {
+}
+_Enum_Inte = {
+ 'never_interact' : 'eNvr', # never allow user interactions
+ 'interact_with_self' : 'eInS', # allow user interaction only when an AppleEvent is sent from within CodeWarrior
+ 'interact_with_local' : 'eInL', # allow user interaction when AppleEvents are sent from applications on the same machine (default)
+ 'interact_with_all' : 'eInA', # allow user interaction from both local and remote AppleEvents
+}
+
+_Enum_DKND = {
+ 'project' : 'PRJD', # a project document
+ 'editor_document' : 'EDIT', # an editor document
+ 'message' : 'MSSG', # a message document
+ 'file_compare' : 'COMP', # a file compare document
+ 'catalog_document' : 'CTLG', # a browser catalog
+ 'class_browser' : 'BROW', # a class browser document
+ 'single_class_browser' : '1BRW', # a single class browser document
+ 'symbol_browser' : 'SYMB', # a symbol browser document
+ 'class_hierarchy' : 'HIER', # a class hierarchy document
+ 'single_class_hierarchy' : '1HIR', # a single class hierarchy document
+ 'project_inspector' : 'INSP', # a project inspector
+ 'ToolServer_worksheet' : 'TOOL', # the ToolServer worksheet
+ 'build_progress_document' : 'PRGS', # the build progress window
+}
+
+_Enum_FTYP = {
+ 'library_file' : 'LIBF', # a library file
+ 'project_file' : 'PRJF', # a project file
+ 'resource_file' : 'RESF', # a resource file
+ 'text_file' : 'TXTF', # a text file
+ 'unknown_file' : 'UNKN', # unknown file type
+}
+
+_Enum_PERM = {
+ 'read_write' : 'RdWr', # the file is open with read/write permission
+ 'read_only' : 'Read', # the file is open with read/only permission
+ 'checked_out_read_write' : 'CkRW', # the file is checked out with read/write permission
+ 'checked_out_read_only' : 'CkRO', # the file is checked out with read/only permission
+ 'checked_out_read_modify' : 'CkRM', # the file is checked out with read/modify permission
+ 'locked' : 'Lock', # the file is locked on disk
+ 'none' : 'LNNO', # the file is new
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'TOOL' : ToolServer_worksheet,
+ '1HIR' : single_class_hierarchy,
+ 'SRCF' : target_file,
+ 'TXTD' : text_document,
+ 'TRGT' : target,
+ 'HIER' : class_hierarchy,
+ 'CTLG' : catalog_document,
+ '1BRW' : single_class_browser,
+ 'MSSG' : message_document,
+ 'INSP' : project_inspector,
+ 'BROW' : class_browser,
+ 'COMP' : file_compare_document,
+ 'EDIT' : editor_document,
+ 'PRJD' : project_document,
+ 'SBTG' : subtarget,
+ 'SYMB' : symbol_browser,
+ 'PRGS' : build_progress_document,
+}
+
+_propdeclarations = {
+ 'PRER' : prerequisites,
+ 'DBUG' : debug,
+ 'CSZE' : code_size,
+ 'Path' : path,
+ 'pnam' : name,
+ 'TrgT' : target,
+ 'DSZE' : data_size,
+ 'FTYP' : type,
+ 'MODD' : modified_date,
+ 'INIT' : init_before,
+ 'sele' : selection,
+ 'imod' : modified,
+ 'DPND' : dependents,
+ 'FILE' : location,
+ 'LIDX' : link_index,
+ 'LINK' : linked,
+ 'ID ' : id,
+ 'c@#^' : inherits,
+ 'pidx' : index,
+ 'LNKO' : link_against_output,
+ 'WEAK' : weak_link,
+ 'MRGE' : merge_output,
+ 'CMPD' : compiled_date,
+ 'PrjD' : project_document,
+ 'CURT' : current_target,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'PERM' : _Enum_PERM,
+ 'FTYP' : _Enum_FTYP,
+ 'DKND' : _Enum_DKND,
+ 'Inte' : _Enum_Inte,
+}
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py
new file mode 100644
index 0000000..0d1fc90
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Metrowerks_Shell_Suite.py
@@ -0,0 +1,2355 @@
+"""Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
+Level 1, version 1
+
+Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'MMPR'
+
+class Metrowerks_Shell_Suite_Events:
+
+ _argmap_Add_Files = {
+ 'To_Segment' : 'Segm',
+ }
+
+ def Add_Files(self, _object, _attributes={}, **_arguments):
+ """Add Files: Add the specified file(s) to the current project
+ Required argument: List of files to add
+ Keyword argument To_Segment: Segment number into which to add the file(s)
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Error code for each file added
+ """
+ _code = 'MMPR'
+ _subcode = 'AddF'
+
+ aetools.keysubst(_arguments, self._argmap_Add_Files)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Check_Syntax = {
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Check_Syntax(self, _object, _attributes={}, **_arguments):
+ """Check Syntax: Check the syntax of the specified file(s)
+ Required argument: List of files to check the syntax of
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors for each file whose syntax was checked
+ """
+ _code = 'MMPR'
+ _subcode = 'Chek'
+
+ aetools.keysubst(_arguments, self._argmap_Check_Syntax)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Close_Project(self, _no_object=None, _attributes={}, **_arguments):
+ """Close Project: Close the current project
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'ClsP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Close_Window = {
+ 'Saving' : 'savo',
+ }
+
+ def Close_Window(self, _object, _attributes={}, **_arguments):
+ """Close Window: Close the windows showing the specified files
+ Required argument: The files to close
+ Keyword argument Saving: Whether to save changes to each file before closing its window
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'ClsW'
+
+ aetools.keysubst(_arguments, self._argmap_Close_Window)
+ _arguments['----'] = _object
+
+ aetools.enumsubst(_arguments, 'savo', _Enum_savo)
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Compile = {
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Compile(self, _object, _attributes={}, **_arguments):
+ """Compile: Compile the specified file(s)
+ Required argument: List of files to compile
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors for each file compiled
+ """
+ _code = 'MMPR'
+ _subcode = 'Comp'
+
+ aetools.keysubst(_arguments, self._argmap_Compile)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Create_Project = {
+ 'from_stationery' : 'Tmpl',
+ }
+
+ def Create_Project(self, _object, _attributes={}, **_arguments):
+ """Create Project: Create a new project file
+ Required argument: New project file specifier
+ Keyword argument from_stationery: undocumented, typecode 'alis'
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'NewP'
+
+ aetools.keysubst(_arguments, self._argmap_Create_Project)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_Definition(self, _object, _attributes={}, **_arguments):
+ """Get Definition: Returns the location(s) of a globally scoped function or data object.
+ Required argument: undocumented, typecode 'TEXT'
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: undocumented, typecode 'FDef'
+ """
+ _code = 'MMPR'
+ _subcode = 'GDef'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_Open_Documents(self, _no_object=None, _attributes={}, **_arguments):
+ """Get Open Documents: Returns the list of open documents
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: The list of documents
+ """
+ _code = 'MMPR'
+ _subcode = 'GDoc'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Get_Preferences = {
+ 'of' : 'PRec',
+ 'from_panel' : 'PNam',
+ }
+
+ def Get_Preferences(self, _no_object=None, _attributes={}, **_arguments):
+ """Get Preferences: Get the preferences for the current project
+ Keyword argument of: Names of requested preferences
+ Keyword argument from_panel: Name of the preference panel
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: The requested preferences
+ """
+ _code = 'MMPR'
+ _subcode = 'Gref'
+
+ aetools.keysubst(_arguments, self._argmap_Get_Preferences)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Get_Project_File = {
+ 'Segment' : 'Segm',
+ }
+
+ def Get_Project_File(self, _object, _attributes={}, **_arguments):
+ """Get Project File: Returns a description of a file in the project window.
+ Required argument: The index of the file within its segment.
+ Keyword argument Segment: The segment containing the file.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: undocumented, typecode 'SrcF'
+ """
+ _code = 'MMPR'
+ _subcode = 'GFil'
+
+ aetools.keysubst(_arguments, self._argmap_Get_Project_File)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_Project_Specifier(self, _no_object=None, _attributes={}, **_arguments):
+ """Get Project Specifier: Return the File Specifier for the current project
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: File Specifier for the current project
+ """
+ _code = 'MMPR'
+ _subcode = 'GetP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_Segments(self, _no_object=None, _attributes={}, **_arguments):
+ """Get Segments: Returns a description of each segment in the project.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: undocumented, typecode 'Seg '
+ """
+ _code = 'MMPR'
+ _subcode = 'GSeg'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Goto_Function(self, _object, _attributes={}, **_arguments):
+ """Goto Function: Goto Specified Function Name
+ Required argument: undocumented, typecode 'TEXT'
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'GoFn'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Goto_Line(self, _object, _attributes={}, **_arguments):
+ """Goto Line: Goto Specified Line Number
+ Required argument: The requested source file line number
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'GoLn'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Is_In_Project(self, _object, _attributes={}, **_arguments):
+ """Is In Project: Whether or not the specified file(s) is in the current project
+ Required argument: List of files to check for project membership
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Result code for each file
+ """
+ _code = 'MMPR'
+ _subcode = 'FInP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Make_Project = {
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Make_Project(self, _no_object=None, _attributes={}, **_arguments):
+ """Make Project: Make the current project
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors that occurred while making the project
+ """
+ _code = 'MMPR'
+ _subcode = 'Make'
+
+ aetools.keysubst(_arguments, self._argmap_Make_Project)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Precompile = {
+ 'Saving_As' : 'Targ',
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Precompile(self, _object, _attributes={}, **_arguments):
+ """Precompile: Precompile the specified file to the specified destination file
+ Required argument: File to precompile
+ Keyword argument Saving_As: Destination file for precompiled header
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors for the precompiled file
+ """
+ _code = 'MMPR'
+ _subcode = 'PreC'
+
+ aetools.keysubst(_arguments, self._argmap_Precompile)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Preprocess = {
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Preprocess(self, _object, _attributes={}, **_arguments):
+ """Preprocess: Preprocesses the specified file(s)
+ Required argument: undocumented, typecode 'alis'
+ Keyword argument ExternalEditor: undocumented, typecode 'bool'
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors for each preprocessed file
+ """
+ _code = 'MMPR'
+ _subcode = 'PreP'
+
+ aetools.keysubst(_arguments, self._argmap_Preprocess)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Remove_Binaries(self, _no_object=None, _attributes={}, **_arguments):
+ """Remove Binaries: Remove the binary object code from the current project
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'RemB'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Remove_Files(self, _object, _attributes={}, **_arguments):
+ """Remove Files: Remove the specified file(s) from the current project
+ Required argument: List of files to remove
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Error code for each file removed
+ """
+ _code = 'MMPR'
+ _subcode = 'RemF'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Reset_File_Paths(self, _no_object=None, _attributes={}, **_arguments):
+ """Reset File Paths: Resets access paths for all files belonging to open project.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'ReFP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Run_Project = {
+ 'ExternalEditor' : 'Errs',
+ 'SourceDebugger' : 'DeBg',
+ }
+
+ def Run_Project(self, _no_object=None, _attributes={}, **_arguments):
+ """Run Project: Run the current project
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument SourceDebugger: Run the application under the control of the source-level debugger
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors that occurred when running the project
+ """
+ _code = 'MMPR'
+ _subcode = 'RunP'
+
+ aetools.keysubst(_arguments, self._argmap_Run_Project)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Save_Error_Window_As(self, _object, _attributes={}, **_arguments):
+ """Save Error Window As: Saves the Errors & Warnings window as a text file
+ Required argument: Destination file for Save Message Window As
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'SvMs'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Set_Current_Target(self, _object=None, _attributes={}, **_arguments):
+ """Set Current Target: Set the current target of a project
+ Required argument: Name of target
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'STrg'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Set_Default_Project(self, _object, _attributes={}, **_arguments):
+ """Set Default Project: Set the default project
+ Required argument: Name of project
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'SDfP'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Set_Modification_Date = {
+ 'to' : 'MDat',
+ }
+
+ def Set_Modification_Date(self, _object, _attributes={}, **_arguments):
+ """Set Modification Date: Changes the internal modification date of the specified file(s)
+ Required argument: List of files
+ Keyword argument to: undocumented, typecode 'ldt '
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Error code for each modified file
+ """
+ _code = 'MMPR'
+ _subcode = 'SMod'
+
+ aetools.keysubst(_arguments, self._argmap_Set_Modification_Date)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Set_Preferences = {
+ 'of_panel' : 'PNam',
+ 'to' : 'PRec',
+ }
+
+ def Set_Preferences(self, _no_object=None, _attributes={}, **_arguments):
+ """Set Preferences: Set the preferences for the current project
+ Keyword argument of_panel: Name of the preference panel
+ Keyword argument to: Preferences settings
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'Pref'
+
+ aetools.keysubst(_arguments, self._argmap_Set_Preferences)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Set_Project_File = {
+ 'to' : 'SrcS',
+ }
+
+ def Set_Project_File(self, _object, _attributes={}, **_arguments):
+ """Set Project File: Changes the settings for a given file in the project.
+ Required argument: The name of the file
+ Keyword argument to: The new settings for the file
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'SFil'
+
+ aetools.keysubst(_arguments, self._argmap_Set_Project_File)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Set_Segment = {
+ 'to' : 'Segm',
+ }
+
+ def Set_Segment(self, _object, _attributes={}, **_arguments):
+ """Set Segment: Changes the name and attributes of a segment.
+ Required argument: The segment to change
+ Keyword argument to: The new name and attributes for the segment.
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'SSeg'
+
+ aetools.keysubst(_arguments, self._argmap_Set_Segment)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Touch(self, _object, _attributes={}, **_arguments):
+ """Touch: Force recompilation of the specified file(s)
+ Required argument: List of files to compile
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Error code for each file touched
+ """
+ _code = 'MMPR'
+ _subcode = 'Toch'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_Update_Project = {
+ 'ExternalEditor' : 'Errs',
+ }
+
+ def Update_Project(self, _no_object=None, _attributes={}, **_arguments):
+ """Update Project: Update the current project
+ Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: Errors that occurred while updating the project
+ """
+ _code = 'MMPR'
+ _subcode = 'UpdP'
+
+ aetools.keysubst(_arguments, self._argmap_Update_Project)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Open_browser(self, _object, _attributes={}, **_arguments):
+ """Open browser: Display a class, member function, or data member object in a single class browser window
+ Required argument: an AE object reference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'MMPR'
+ _subcode = 'Brow'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments):
+ """Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: undocumented, typecode 'list'
+ """
+ _code = 'MMPR'
+ _subcode = 'NsCl'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def Get_member_function_names(self, _object, _attributes={}, **_arguments):
+ """Get member function names: Returns a list containing the names of all the member functions of a class object
+ Required argument: must be a class object
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: undocumented, typecode 'list'
+ """
+ _code = 'MMPR'
+ _subcode = 'MbFN'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+
+class Access_Paths(aetools.ComponentItem):
+ """Access Paths - Contains the definitions of a projectıs access (search) paths. """
+ want = 'PATH'
+class User_Paths(aetools.NProperty):
+ """User Paths - To add an access path for the source files. """
+ which = 'PA01'
+ want = 'PInf'
+class System_Paths(aetools.NProperty):
+ """System Paths - To add an access path for the include files. (Not supported in Pascal) """
+ which = 'PA03'
+ want = 'PInf'
+class Always_Full_Search(aetools.NProperty):
+ """Always Full Search - To force the compiler to search for system includes like it searches for user includes. """
+ which = 'PA02'
+ want = 'bool'
+class Convert_Paths(aetools.NProperty):
+ """Convert Paths - Enables conversion of DOS & Unix-style relative paths when searching for files. """
+ which = 'PA04'
+ want = 'bool'
+
+class Browser_Coloring(aetools.ComponentItem):
+ """Browser Coloring - Colors for Browser symbols. """
+ want = 'BRKW'
+class Browser_Keywords(aetools.NProperty):
+ """Browser Keywords - Mark Browser symbols with color. """
+ which = 'BW00'
+ want = 'bool'
+class Classes_Color(aetools.NProperty):
+ """Classes Color - The color for classes. """
+ which = 'BW01'
+ want = 'cRGB'
+class Constants_Color(aetools.NProperty):
+ """Constants Color - The color for constants. """
+ which = 'BW02'
+ want = 'cRGB'
+class Enums_Color(aetools.NProperty):
+ """Enums Color - The color for enums. """
+ which = 'BW03'
+ want = 'cRGB'
+class Functions_Color(aetools.NProperty):
+ """Functions Color - Set color for functions. """
+ which = 'BW04'
+ want = 'cRGB'
+class Globals_Color(aetools.NProperty):
+ """Globals Color - The color for globals """
+ which = 'BW05'
+ want = 'cRGB'
+class Macros_Color(aetools.NProperty):
+ """Macros Color - The color for macros. """
+ which = 'BW06'
+ want = 'cRGB'
+class Templates_Color(aetools.NProperty):
+ """Templates Color - Set color for templates. """
+ which = 'BW07'
+ want = 'cRGB'
+class Typedefs_Color(aetools.NProperty):
+ """Typedefs Color - The color for typedefs. """
+ which = 'BW08'
+ want = 'cRGB'
+class Template_Commands_in_Menu(aetools.NProperty):
+ """Template Commands in Menu - Include template commands in context menus """
+ which = 'BW10'
+ want = 'bool'
+
+class Build_Extras(aetools.ComponentItem):
+ """Build Extras - """
+ want = 'LXTR'
+class Browser_Active(aetools.NProperty):
+ """Browser Active - Allow the collection of browser information. """
+ which = 'EX09'
+ want = 'bool'
+class Modification_Date_Caching(aetools.NProperty):
+ """Modification Date Caching - """
+ which = 'EX04'
+ want = 'bool'
+class Dump_Browser_Info(aetools.NProperty):
+ """Dump Browser Info - """
+ which = 'EX30'
+ want = 'bool'
+class Cache_Subproject_Data(aetools.NProperty):
+ """Cache Subproject Data - """
+ which = 'EX31'
+ want = 'bool'
+
+class Build_Settings(aetools.ComponentItem):
+ """Build Settings - Build Settings preferences. """
+ want = 'BSTG'
+class Completion_Sound(aetools.NProperty):
+ """Completion Sound - Play a sound when finished a Bring Up To Date or Make command. """
+ which = 'BX01'
+ want = 'bool'
+class Success_Sound(aetools.NProperty):
+ """Success Sound - The sound CodeWarrior plays when it successfully finishes a Bring Up To Date or Make command. """
+ which = 'BX02'
+ want = 'TEXT'
+class Failure_Sound(aetools.NProperty):
+ """Failure Sound - The sound CodeWarrior plays when it cannot finish a Bring Up To Date or Make command. """
+ which = 'BX03'
+ want = 'TEXT'
+class Save_Before_Building(aetools.NProperty):
+ """Save Before Building - Save open editor files before build operations """
+ which = 'BX07'
+ want = 'bool'
+class Build_Before_Running(aetools.NProperty):
+ """Build Before Running - Build the target before running. """
+ which = 'BX04'
+ want = 'BXbr'
+class Include_Cache_Size(aetools.NProperty):
+ """Include Cache Size - Include file cache size. """
+ which = 'BX05'
+ want = 'long'
+class Compiler_Thread_Stack_Size(aetools.NProperty):
+ """Compiler Thread Stack Size - Compiler Thread Stack Size """
+ which = 'BX06'
+ want = 'long'
+
+class Custom_Keywords(aetools.ComponentItem):
+ """Custom Keywords - """
+ want = 'CUKW'
+class Custom_Color_1(aetools.NProperty):
+ """Custom Color 1 - The color for the first set of custom keywords. """
+ which = 'GH05'
+ want = 'cRGB'
+class Custom_Color_2(aetools.NProperty):
+ """Custom Color 2 - The color for the second set custom keywords. """
+ which = 'GH06'
+ want = 'cRGB'
+class Custom_Color_3(aetools.NProperty):
+ """Custom Color 3 - The color for the third set of custom keywords. """
+ which = 'GH07'
+ want = 'cRGB'
+class Custom_Color_4(aetools.NProperty):
+ """Custom Color 4 - The color for the fourth set of custom keywords. """
+ which = 'GH08'
+ want = 'cRGB'
+
+class Debugger_Display(aetools.ComponentItem):
+ """Debugger Display - Debugger Display preferences """
+ want = 'DbDS'
+class Show_Variable_Types(aetools.NProperty):
+ """Show Variable Types - Show variable types by default. """
+ which = 'Db01'
+ want = 'bool'
+class Show_Locals(aetools.NProperty):
+ """Show Locals - Show locals by default """
+ which = 'Db09'
+ want = 'bool'
+class Sort_By_Method(aetools.NProperty):
+ """Sort By Method - Sort functions by method. """
+ which = 'Db02'
+ want = 'bool'
+class Use_RTTI(aetools.NProperty):
+ """Use RTTI - Enable RunTime Type Information. """
+ which = 'Db03'
+ want = 'bool'
+class Threads_in_Window(aetools.NProperty):
+ """Threads in Window - Show threads in separate windows. """
+ which = 'Db04'
+ want = 'bool'
+class Variable_Hints(aetools.NProperty):
+ """Variable Hints - Show variable hints. """
+ which = 'Db05'
+ want = 'bool'
+class Watchpoint_Hilite(aetools.NProperty):
+ """Watchpoint Hilite - Watchpoint hilite color. """
+ which = 'Db06'
+ want = 'cRGB'
+class Variable_Changed_Hilite(aetools.NProperty):
+ """Variable Changed Hilite - Variable changed hilite color. """
+ which = 'Db07'
+ want = 'cRGB'
+class Default_Array_Size(aetools.NProperty):
+ """Default Array Size - Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files. """
+ which = 'Db08'
+ want = 'shor'
+class Show_As_Decimal(aetools.NProperty):
+ """Show As Decimal - Show variable values as decimal by default """
+ which = 'Db10'
+ want = 'bool'
+
+class Debugger_Global(aetools.ComponentItem):
+ """Debugger Global - Debugger Global preferences """
+ want = 'DbGL'
+class Cache_Edited_Files(aetools.NProperty):
+ """Cache Edited Files - Cache edit files between debug sessions """
+ which = 'Dg12'
+ want = 'bool'
+class File_Cache_Duration(aetools.NProperty):
+ """File Cache Duration - Duration to keep files in cache (in days) """
+ which = 'Dg13'
+ want = 'shor'
+class Ignore_Mod_Dates(aetools.NProperty):
+ """Ignore Mod Dates - Ignore modification dates of files. """
+ which = 'Dg01'
+ want = 'bool'
+class Open_All_Classes(aetools.NProperty):
+ """Open All Classes - Open all Java class files. """
+ which = 'Dg02'
+ want = 'bool'
+class Launch_Apps_on_Open(aetools.NProperty):
+ """Launch Apps on Open - Launch applications on the opening of sym files. """
+ which = 'Dg03'
+ want = 'bool'
+class Confirm_Kill(aetools.NProperty):
+ """Confirm Kill - Confirm the Œkillingı of the process. """
+ which = 'Dg04'
+ want = 'bool'
+class Stop_at_Main(aetools.NProperty):
+ """Stop at Main - Stop to debug on the main() function. """
+ which = 'Dg05'
+ want = 'bool'
+class Select_Stack_Crawl(aetools.NProperty):
+ """Select Stack Crawl - Select the stack crawl. """
+ which = 'Dg06'
+ want = 'bool'
+class Dont_Step_in_Runtime(aetools.NProperty):
+ """Dont Step in Runtime - Donıt step into runtime code when debugging. """
+ which = 'Dg07'
+ want = 'bool'
+class Auto_Target_Libraries(aetools.NProperty):
+ """Auto Target Libraries - Automatically target libraries when debugging """
+ which = 'Dg11'
+ want = 'bool'
+
+class Debugger_Target(aetools.ComponentItem):
+ """Debugger Target - Debugger Target preferences """
+ want = 'DbTG'
+class Log_System_Messages(aetools.NProperty):
+ """Log System Messages - Log all system messages while debugging. """
+ which = 'Dt02'
+ want = 'bool'
+class Relocated_Executable_Path(aetools.NProperty):
+ """Relocated Executable Path - Path to location of relocated libraries, code resources or remote debugging folder """
+ which = 'Dt10'
+ want = 'RlPt'
+class Update_Data_While_Running(aetools.NProperty):
+ """Update Data While Running - Should pause to update data while running """
+ which = 'Dt08'
+ want = 'bool'
+class Data_Update_Interval(aetools.NProperty):
+ """Data Update Interval - How often to update the data while running (in seconds) """
+ which = 'Dt09'
+ want = 'long'
+# repeated property Auto_Target_Libraries Automatically target libraries when debugging
+class Stop_at_temp_breakpoint(aetools.NProperty):
+ """Stop at temp breakpoint - Stop at a temp breakpoint on program launch. Set breakpoint type in Temp Breakpoint Type AppleEvent. """
+ which = 'Dt13'
+ want = 'bool'
+class Temp_breakpoint_names(aetools.NProperty):
+ """Temp breakpoint names - Comma separated list of names to attempt to stop at on program launch. First symbol to resolve in list is the temp BP that will be set. """
+ which = 'Dt14'
+ want = 'ctxt'
+class Cache_symbolics(aetools.NProperty):
+ """Cache symbolics - Cache symbolics between runs when executable doesnıt change, else release symbolics files after killing process. """
+ which = 'Dt15'
+ want = 'bool'
+class Temp_Breakpoint_Type(aetools.NProperty):
+ """Temp Breakpoint Type - Type of temp breakpoint to set on program launch. """
+ which = 'Dt16'
+ want = 'TmpB'
+
+class Debugger_Windowing(aetools.ComponentItem):
+ """Debugger Windowing - """
+ want = 'DbWN'
+class Debugging_Start_Action(aetools.NProperty):
+ """Debugging Start Action - What action to take when debug session starts """
+ which = 'Dw01'
+ want = 'DbSA'
+class Do_Nothing_To_Projects(aetools.NProperty):
+ """Do Nothing To Projects - Suppress debugging start action for project windows """
+ which = 'Dw02'
+ want = 'bool'
+
+class Editor(aetools.ComponentItem):
+ """Editor - """
+ want = 'EDTR'
+class Flash_Delay(aetools.NProperty):
+ """Flash Delay - The amount of time, in sixtieths of a second, the editor highlights a matching bracket. """
+ which = 'ED01'
+ want = 'long'
+class Dynamic_Scroll(aetools.NProperty):
+ """Dynamic Scroll - Display a windowıs contents as you move the scroll box. """
+ which = 'ED02'
+ want = 'bool'
+class Balance(aetools.NProperty):
+ """Balance - Flash the matching opening bracket when you type a closing bracket. """
+ which = 'ED03'
+ want = 'bool'
+class Use_Drag__26__Drop_Editing(aetools.NProperty):
+ """Use Drag & Drop Editing - Use Drag & Drop text editing. """
+ which = 'ED04'
+ want = 'bool'
+class Sort_Function_Popup(aetools.NProperty):
+ """Sort Function Popup - """
+ which = 'ED06'
+ want = 'bool'
+class Use_Multiple_Undo(aetools.NProperty):
+ """Use Multiple Undo - """
+ which = 'ED07'
+ want = 'bool'
+class Relaxed_C_Popup_Parsing(aetools.NProperty):
+ """Relaxed C Popup Parsing - Relax the function parser for C source files """
+ which = 'ED15'
+ want = 'bool'
+class Left_Margin_Line_Select(aetools.NProperty):
+ """Left Margin Line Select - Clicking in the left margin selects lines """
+ which = 'ED16'
+ want = 'bool'
+class Default_Text_File_Format(aetools.NProperty):
+ """Default Text File Format - Default text file format (i.e. which type of line endings to use) """
+ which = 'ED17'
+ want = 'TxtF'
+class Remember_Font(aetools.NProperty):
+ """Remember Font - Display a source file with its own font settings. """
+ which = 'ED08'
+ want = 'bool'
+class Remember_Selection(aetools.NProperty):
+ """Remember Selection - Restore the previous selection in a file when you open it. """
+ which = 'ED09'
+ want = 'bool'
+class Remember_Window(aetools.NProperty):
+ """Remember Window - Restore the last size and position for a source file window when you open it. """
+ which = 'ED10'
+ want = 'bool'
+class Main_Text_Color(aetools.NProperty):
+ """Main Text Color - Main, default, color for text. """
+ which = 'ED12'
+ want = 'cRGB'
+class Background_Color(aetools.NProperty):
+ """Background Color - Color of the background of editor windows. """
+ which = 'ED13'
+ want = 'cRGB'
+class Context_Popup_Delay(aetools.NProperty):
+ """Context Popup Delay - The amount of time, in sixtieths of a second, before the context popup is displayed if you click and hold on a browser symbol. """
+ which = 'ED14'
+ want = 'long'
+
+class Environment_Variable(aetools.ComponentItem):
+ """Environment Variable - Environment variable for host OS """
+ want = 'EnvV'
+class name(aetools.NProperty):
+ """name - """
+ which = 'pnam'
+ want = 'TEXT'
+class value(aetools.NProperty):
+ """value - Value of the environment variable """
+ which = 'Valu'
+ want = 'TEXT'
+
+class Error_Information(aetools.ComponentItem):
+ """Error Information - Describes a single error or warning from the compiler or the linker. """
+ want = 'ErrM'
+class messageKind(aetools.NProperty):
+ """messageKind - The type of error or warning. """
+ which = 'ErrT'
+ want = 'ErrT'
+class message(aetools.NProperty):
+ """message - The error or warning message. """
+ which = 'ErrS'
+ want = 'TEXT'
+class disk_file(aetools.NProperty):
+ """disk file - The file where the error occurred. May not be returned for certain kinds of errors (eg, link errors). """
+ which = 'file'
+ want = 'fss '
+class lineNumber(aetools.NProperty):
+ """lineNumber - The line in the file where the error occurred. May not be returned for certain kinds of errors (eg, link errors). """
+ which = 'ErrL'
+ want = 'long'
+
+class Extras(aetools.ComponentItem):
+ """Extras - """
+ want = 'GXTR'
+class Automatic_Toolbar_Help(aetools.NProperty):
+ """Automatic Toolbar Help - Automatically show balloon help in toolbar after delay """
+ which = 'EX19'
+ want = 'bool'
+class External_Reference(aetools.NProperty):
+ """External Reference - Which on-line function reference to use. """
+ which = 'EX08'
+ want = 'RefP'
+class Full_Screen_Zoom(aetools.NProperty):
+ """Full Screen Zoom - Zoom windows to the full screen width. """
+ which = 'EX07'
+ want = 'bool'
+class Recent_Editor_Count(aetools.NProperty):
+ """Recent Editor Count - Maximum number of editor documents to show in the ³Open Recent² menu """
+ which = 'EX16'
+ want = 'shor'
+class Recent_Project_Count(aetools.NProperty):
+ """Recent Project Count - Maximum number of project documents to show in the ³Open Recent² menu """
+ which = 'EX17'
+ want = 'shor'
+class Use_Editor_Extensions(aetools.NProperty):
+ """Use Editor Extensions - Controls the use of the Editor Extensions menu """
+ which = 'EX10'
+ want = 'bool'
+class Use_External_Editor(aetools.NProperty):
+ """Use External Editor - Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files. """
+ which = 'EX11'
+ want = 'bool'
+class Use_Script_Menu(aetools.NProperty):
+ """Use Script Menu - Controls the use of the AppleScript menu """
+ which = 'EX12'
+ want = 'bool'
+class Use_ToolServer_Menu(aetools.NProperty):
+ """Use ToolServer Menu - Controls the use of the ToolServer menu """
+ which = 'EX18'
+ want = 'bool'
+
+class File_Mapping(aetools.ComponentItem):
+ """File Mapping - """
+ want = 'FMap'
+class File_Type(aetools.NProperty):
+ """File Type - """
+ which = 'PR04'
+ want = 'TEXT'
+class Extension(aetools.NProperty):
+ """Extension - """
+ which = 'TA02'
+ want = 'TEXT'
+class Precompiled(aetools.NProperty):
+ """Precompiled - """
+ which = 'TA03'
+ want = 'bool'
+class Resource_File(aetools.NProperty):
+ """Resource File - """
+ which = 'TA04'
+ want = 'bool'
+class Launchable(aetools.NProperty):
+ """Launchable - """
+ which = 'TA05'
+ want = 'bool'
+class Ignored_by_Make(aetools.NProperty):
+ """Ignored by Make - """
+ which = 'TA06'
+ want = 'bool'
+class Compiler(aetools.NProperty):
+ """Compiler - """
+ which = 'TA07'
+ want = 'TEXT'
+
+class File_Mappings(aetools.ComponentItem):
+ """File Mappings - Mappings of extensions & file types to compilers """
+ want = 'FLMP'
+class Mappings(aetools.NProperty):
+ """Mappings - """
+ which = 'FMps'
+ want = 'FMap'
+
+class Font(aetools.ComponentItem):
+ """Font - """
+ want = 'mFNT'
+class Auto_Indent(aetools.NProperty):
+ """Auto Indent - Indent new lines automatically. """
+ which = 'FN01'
+ want = 'bool'
+class Tab_Size(aetools.NProperty):
+ """Tab Size - """
+ which = 'FN02'
+ want = 'shor'
+class Tab_Indents_Selection(aetools.NProperty):
+ """Tab Indents Selection - Tab indents selection when multiple lines are selected """
+ which = 'FN03'
+ want = 'bool'
+class Tab_Inserts_Spaces(aetools.NProperty):
+ """Tab Inserts Spaces - Insert spaces instead of tab character """
+ which = 'FN04'
+ want = 'bool'
+class Text_Font(aetools.NProperty):
+ """Text Font - The font used in editing windows. """
+ which = 'ptxf'
+ want = 'TEXT'
+class Text_Size(aetools.NProperty):
+ """Text Size - The size of the text in an editing window. """
+ which = 'ptps'
+ want = 'shor'
+
+class Function_Information(aetools.ComponentItem):
+ """Function Information - Describes the location of any function or global data definition within the current project. """
+ want = 'FDef'
+# repeated property disk_file The location on disk of the file containing the definition.
+# repeated property lineNumber The line number where the definition begins.
+
+class Global_Source_Trees(aetools.ComponentItem):
+ """Global Source Trees - Globally-defined source tree roots """
+ want = 'GSTs'
+class Source_Trees(aetools.NProperty):
+ """Source Trees - List of source tree roots """
+ which = 'ST01'
+ want = 'SrcT'
+
+class Path_Information(aetools.ComponentItem):
+ """Path Information - Contains all of the parameters that describe an access path. """
+ want = 'PInf'
+# repeated property name The actual path name.
+class format(aetools.NProperty):
+ """format - Format of the a """
+ which = 'Frmt'
+ want = 'PthF'
+class origin(aetools.NProperty):
+ """origin - """
+ which = 'Orig'
+ want = 'PPrm'
+class root(aetools.NProperty):
+ """root - Name of the root of the relative path. Pre-defined values are ³Absolute², ³Project², ³CodeWarrior², and ³System². Anything else is a user-defined root. """
+ which = 'Root'
+ want = 'TEXT'
+class recursive(aetools.NProperty):
+ """recursive - Will the path be searched recursively? (Default is true) """
+ which = 'Recu'
+ want = 'bool'
+class host_flags(aetools.NProperty):
+ """host flags - Bit fields enabling the access path for each host OS (1 = Mac OS, 2 = Windows) """
+ which = 'HstF'
+ want = 'long'
+
+class Plugin_Settings(aetools.ComponentItem):
+ """Plugin Settings - Settings for plugin tools """
+ want = 'PSTG'
+class Plugin_Diagnostics_Level(aetools.NProperty):
+ """Plugin Diagnostics Level - Plugin Diagnostics Level is for those who are developing plugins for the IDE and need to debug them. """
+ which = 'PX01'
+ want = 'PXdg'
+class Disable_Third_Party_COM_Plugins(aetools.NProperty):
+ """Disable Third Party COM Plugins - Disable COM plugins from third parties """
+ which = 'PX02'
+ want = 'bool'
+
+class ProjectFile(aetools.ComponentItem):
+ """ProjectFile - A file contained in a project """
+ want = 'SrcF'
+class filetype(aetools.NProperty):
+ """filetype - What kind of file is this ? """
+ which = 'SrcT'
+ want = 'SrcT'
+# repeated property name The fileıs name
+# repeated property disk_file The fileıs location on disk
+class codesize(aetools.NProperty):
+ """codesize - The size of this fileıs code. """
+ which = 'CSiz'
+ want = 'long'
+class datasize(aetools.NProperty):
+ """datasize - The size of this fileıs data. """
+ which = 'DSiz'
+ want = 'long'
+class up_to_date(aetools.NProperty):
+ """up to date - Has the file been compiled since its last modification ? """
+ which = 'UpTD'
+ want = 'bool'
+class symbols(aetools.NProperty):
+ """symbols - Are debugging symbols generated for this file ? """
+ which = 'SymG'
+ want = 'bool'
+class weak_link(aetools.NProperty):
+ """weak link - Is this file imported weakly into the project ? [PowerPC only] """
+ which = 'Weak'
+ want = 'bool'
+class initialize_before(aetools.NProperty):
+ """initialize before - Initialize the shared library before the main application. """
+ which = 'Bfor'
+ want = 'bool'
+class includes(aetools.NProperty):
+ """includes - """
+ which = 'IncF'
+ want = 'fss '
+
+class Relative_Path(aetools.ComponentItem):
+ """Relative Path - Relative path from some root """
+ want = 'RlPt'
+# repeated property name relative path from the root
+# repeated property format Format of the relative path
+# repeated property origin Origin of the relative path
+# repeated property root Name of user-defined root
+
+class Runtime_Settings(aetools.ComponentItem):
+ """Runtime Settings - Runtime settings """
+ want = 'RSTG'
+class Host_Application(aetools.NProperty):
+ """Host Application - Host application for running/debugging libraries and code resources """
+ which = 'RS01'
+ want = 'RlPt'
+class Command_Line_Arguments(aetools.NProperty):
+ """Command Line Arguments - Extra command line args to pass to executable """
+ which = 'RS02'
+ want = 'TEXT'
+class Working_Directory(aetools.NProperty):
+ """Working Directory - Working directory to use when running the executable """
+ which = 'RS03'
+ want = 'TEXT'
+class Environment_Variables(aetools.NProperty):
+ """Environment Variables - Environment variables to use when running the executable """
+ which = 'RS04'
+ want = 'EnvV'
+
+class Segment(aetools.ComponentItem):
+ """Segment - A segment or group in the project """
+ want = 'Seg '
+# repeated property name
+class filecount(aetools.NProperty):
+ """filecount - """
+ which = 'NumF'
+ want = 'shor'
+class seg_2d_preloaded(aetools.NProperty):
+ """seg-preloaded - Is the segment preloaded ? [68K only] """
+ which = 'Prel'
+ want = 'bool'
+class seg_2d_protected(aetools.NProperty):
+ """seg-protected - Is the segment protected ? [68K only] """
+ which = 'Prot'
+ want = 'bool'
+class seg_2d_locked(aetools.NProperty):
+ """seg-locked - Is the segment locked ? [68K only] """
+ which = 'PLck'
+ want = 'bool'
+class seg_2d_purgeable(aetools.NProperty):
+ """seg-purgeable - Is the segment purgeable ? [68K only] """
+ which = 'Purg'
+ want = 'bool'
+class seg_2d_system_heap(aetools.NProperty):
+ """seg-system heap - Is the segment loaded into the system heap ? [68K only] """
+ which = 'SysH'
+ want = 'bool'
+
+class Shielded_Folder(aetools.ComponentItem):
+ """Shielded Folder - """
+ want = 'SFit'
+class Expression_To_Match(aetools.NProperty):
+ """Expression To Match - Regular expression which describes folders to skip """
+ which = 'SF01'
+ want = 'TEXT'
+class Skip_Project_Operations(aetools.NProperty):
+ """Skip Project Operations - Matching folders will be skipped during project operations """
+ which = 'SF02'
+ want = 'bool'
+class Skip_Find_And_Compare_Operations(aetools.NProperty):
+ """Skip Find And Compare Operations - Matching folders will be skipped during find and compare operations """
+ which = 'SF03'
+ want = 'bool'
+
+class Shielded_Folders(aetools.ComponentItem):
+ """Shielded Folders - Folders skipped when performing project and find-and-compare operations """
+ want = 'SHFL'
+class Shielded_Items(aetools.NProperty):
+ """Shielded Items - """
+ which = 'SFis'
+ want = 'SFit'
+
+class Source_Tree(aetools.ComponentItem):
+ """Source Tree - User-defined source tree root """
+ want = 'SrcT'
+# repeated property name name of the user-defined source tree root
+class path(aetools.NProperty):
+ """path - path for the user-defined source tree root """
+ which = 'Path'
+ want = 'TEXT'
+class path_kind(aetools.NProperty):
+ """path kind - kind of path """
+ which = 'Kind'
+ want = 'STKd'
+# repeated property format Format of the absolute path
+
+class Syntax_Coloring(aetools.ComponentItem):
+ """Syntax Coloring - """
+ want = 'SNTX'
+class Syntax_Coloring(aetools.NProperty):
+ """Syntax Coloring - Mark keywords and comments with color. """
+ which = 'GH01'
+ want = 'bool'
+class Comment_Color(aetools.NProperty):
+ """Comment Color - The color for comments. """
+ which = 'GH02'
+ want = 'cRGB'
+class Keyword_Color(aetools.NProperty):
+ """Keyword Color - The color for language keywords. """
+ which = 'GH03'
+ want = 'cRGB'
+class String_Color(aetools.NProperty):
+ """String Color - The color for strings. """
+ which = 'GH04'
+ want = 'cRGB'
+# repeated property Custom_Color_1 The color for the first set of custom keywords.
+# repeated property Custom_Color_2 The color for the second set custom keywords.
+# repeated property Custom_Color_3 The color for the third set of custom keywords.
+# repeated property Custom_Color_4 The color for the fourth set of custom keywords.
+
+class Target_Settings(aetools.ComponentItem):
+ """Target Settings - Contains the definitions of a projectıs target. """
+ want = 'TARG'
+class Linker(aetools.NProperty):
+ """Linker - The name of the current linker. """
+ which = 'TA01'
+ want = 'TEXT'
+class Pre_Linker(aetools.NProperty):
+ """Pre Linker - """
+ which = 'TA13'
+ want = 'TEXT'
+class Post_Linker(aetools.NProperty):
+ """Post Linker - """
+ which = 'TA09'
+ want = 'TEXT'
+class Target_Name(aetools.NProperty):
+ """Target Name - """
+ which = 'TA10'
+ want = 'TEXT'
+class Output_Directory_Path(aetools.NProperty):
+ """Output Directory Path - Path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """
+ which = 'TA11'
+ want = 'TEXT'
+class Output_Directory_Origin(aetools.NProperty):
+ """Output Directory Origin - Origin of path to output directory. Usage of this property is deprecated. Use the ³Output Directory Location² property instead. """
+ which = 'TA12'
+ want = 'PPrm'
+class Output_Directory_Location(aetools.NProperty):
+ """Output Directory Location - Location of output directory """
+ which = 'TA16'
+ want = 'RlPt'
+class Use_Relative_Paths(aetools.NProperty):
+ """Use Relative Paths - Save project entries using relative paths """
+ which = 'TA15'
+ want = 'bool'
+
+class Target_Source_Trees(aetools.ComponentItem):
+ """Target Source Trees - Target-specific user-defined source tree roots """
+ want = 'TSTs'
+# repeated property Source_Trees List of source tree roots
+
+class VCS_Setup(aetools.ComponentItem):
+ """VCS Setup - The version control system preferences. """
+ want = 'VCSs'
+class VCS_Active(aetools.NProperty):
+ """VCS Active - Use Version Control """
+ which = 'VC01'
+ want = 'bool'
+class Use_Global_Settings(aetools.NProperty):
+ """Use Global Settings - Use the global VCS settings by default """
+ which = 'VC11'
+ want = 'bool'
+class Connection_Method(aetools.NProperty):
+ """Connection Method - Name of Version Control System to use. """
+ which = 'VC02'
+ want = 'TEXT'
+class Username(aetools.NProperty):
+ """Username - The user name for the VCS. """
+ which = 'VC03'
+ want = 'TEXT'
+class Password(aetools.NProperty):
+ """Password - The password for the VCS. """
+ which = 'VC04'
+ want = 'TEXT'
+class Auto_Connect(aetools.NProperty):
+ """Auto Connect - Automatically connect to database when starting. """
+ which = 'VC05'
+ want = 'bool'
+class Store_Password(aetools.NProperty):
+ """Store Password - Store the password. """
+ which = 'VC06'
+ want = 'bool'
+class Always_Prompt(aetools.NProperty):
+ """Always Prompt - Always show login dialog """
+ which = 'VC07'
+ want = 'bool'
+class Mount_Volume(aetools.NProperty):
+ """Mount Volume - Attempt to mount the database volume if it isn't available. """
+ which = 'VC08'
+ want = 'bool'
+class Database_Path(aetools.NProperty):
+ """Database Path - Path to the VCS database. """
+ which = 'VC09'
+ want = 'RlPt'
+class Local_Path(aetools.NProperty):
+ """Local Path - Path to the local root """
+ which = 'VC10'
+ want = 'RlPt'
+
+class _class(aetools.ComponentItem):
+ """class - A class, struct, or record type in the current project. """
+ want = 'Clas'
+# repeated property name
+class language(aetools.NProperty):
+ """language - Implementation language of this class """
+ which = 'Lang'
+ want = 'Lang'
+class declaration_file(aetools.NProperty):
+ """declaration file - Source file containing the class declaration """
+ which = 'DcFl'
+ want = 'fss '
+class declaration_start_offset(aetools.NProperty):
+ """declaration start offset - Start of class declaration source code """
+ which = 'DcSt'
+ want = 'long'
+class declaration_end_offset(aetools.NProperty):
+ """declaration end offset - End of class declaration """
+ which = 'DcEn'
+ want = 'long'
+class subclasses(aetools.NProperty):
+ """subclasses - the immediate subclasses of this class """
+ which = 'SubC'
+ want = 'Clas'
+class all_subclasses(aetools.NProperty):
+ """all subclasses - the classes directly or indirectly derived from this class """
+ which = 'SubA'
+ want = 'Clas'
+# element 'BsCl' as ['indx']
+# element 'MbFn' as ['indx', 'name']
+# element 'DtMb' as ['indx', 'name']
+
+classes = _class
+
+class member_function(aetools.ComponentItem):
+ """member function - A class member function or method. """
+ want = 'MbFn'
+# repeated property name
+class access(aetools.NProperty):
+ """access - """
+ which = 'Acce'
+ want = 'Acce'
+class virtual(aetools.NProperty):
+ """virtual - """
+ which = 'Virt'
+ want = 'bool'
+class static(aetools.NProperty):
+ """static - """
+ which = 'Stat'
+ want = 'bool'
+# repeated property declaration_file Source file containing the member function declaration
+# repeated property declaration_start_offset start of member function declaration source code
+# repeated property declaration_end_offset end of member function declaration
+class implementation_file(aetools.NProperty):
+ """implementation file - Source file containing the member function definition """
+ which = 'DfFl'
+ want = 'fss '
+class implementation_start_offset(aetools.NProperty):
+ """implementation start offset - start of member function definition source code """
+ which = 'DfSt'
+ want = 'long'
+class implementation_end_offset(aetools.NProperty):
+ """implementation end offset - end of member function definition """
+ which = 'DfEn'
+ want = 'long'
+
+member_functions = member_function
+
+class data_member(aetools.ComponentItem):
+ """data member - A class data member or field """
+ want = 'DtMb'
+# repeated property name
+# repeated property access
+# repeated property static
+# repeated property declaration_start_offset
+# repeated property declaration_end_offset
+
+data_members = data_member
+
+class base_class(aetools.ComponentItem):
+ """base class - A base class or super class of a class """
+ want = 'BsCl'
+class _class(aetools.NProperty):
+ """class - The class object corresponding to this base class """
+ which = 'Clas'
+ want = 'obj '
+# repeated property access
+# repeated property virtual
+
+base_classes = base_class
+
+class browser_catalog(aetools.ComponentItem):
+ """browser catalog - The browser symbol catalog for the current project """
+ want = 'Cata'
+# element 'Clas' as ['indx', 'name']
+Access_Paths._propdict = {
+ 'User_Paths' : User_Paths,
+ 'System_Paths' : System_Paths,
+ 'Always_Full_Search' : Always_Full_Search,
+ 'Convert_Paths' : Convert_Paths,
+}
+Access_Paths._elemdict = {
+}
+Browser_Coloring._propdict = {
+ 'Browser_Keywords' : Browser_Keywords,
+ 'Classes_Color' : Classes_Color,
+ 'Constants_Color' : Constants_Color,
+ 'Enums_Color' : Enums_Color,
+ 'Functions_Color' : Functions_Color,
+ 'Globals_Color' : Globals_Color,
+ 'Macros_Color' : Macros_Color,
+ 'Templates_Color' : Templates_Color,
+ 'Typedefs_Color' : Typedefs_Color,
+ 'Template_Commands_in_Menu' : Template_Commands_in_Menu,
+}
+Browser_Coloring._elemdict = {
+}
+Build_Extras._propdict = {
+ 'Browser_Active' : Browser_Active,
+ 'Modification_Date_Caching' : Modification_Date_Caching,
+ 'Dump_Browser_Info' : Dump_Browser_Info,
+ 'Cache_Subproject_Data' : Cache_Subproject_Data,
+}
+Build_Extras._elemdict = {
+}
+Build_Settings._propdict = {
+ 'Completion_Sound' : Completion_Sound,
+ 'Success_Sound' : Success_Sound,
+ 'Failure_Sound' : Failure_Sound,
+ 'Save_Before_Building' : Save_Before_Building,
+ 'Build_Before_Running' : Build_Before_Running,
+ 'Include_Cache_Size' : Include_Cache_Size,
+ 'Compiler_Thread_Stack_Size' : Compiler_Thread_Stack_Size,
+}
+Build_Settings._elemdict = {
+}
+Custom_Keywords._propdict = {
+ 'Custom_Color_1' : Custom_Color_1,
+ 'Custom_Color_2' : Custom_Color_2,
+ 'Custom_Color_3' : Custom_Color_3,
+ 'Custom_Color_4' : Custom_Color_4,
+}
+Custom_Keywords._elemdict = {
+}
+Debugger_Display._propdict = {
+ 'Show_Variable_Types' : Show_Variable_Types,
+ 'Show_Locals' : Show_Locals,
+ 'Sort_By_Method' : Sort_By_Method,
+ 'Use_RTTI' : Use_RTTI,
+ 'Threads_in_Window' : Threads_in_Window,
+ 'Variable_Hints' : Variable_Hints,
+ 'Watchpoint_Hilite' : Watchpoint_Hilite,
+ 'Variable_Changed_Hilite' : Variable_Changed_Hilite,
+ 'Default_Array_Size' : Default_Array_Size,
+ 'Show_As_Decimal' : Show_As_Decimal,
+}
+Debugger_Display._elemdict = {
+}
+Debugger_Global._propdict = {
+ 'Cache_Edited_Files' : Cache_Edited_Files,
+ 'File_Cache_Duration' : File_Cache_Duration,
+ 'Ignore_Mod_Dates' : Ignore_Mod_Dates,
+ 'Open_All_Classes' : Open_All_Classes,
+ 'Launch_Apps_on_Open' : Launch_Apps_on_Open,
+ 'Confirm_Kill' : Confirm_Kill,
+ 'Stop_at_Main' : Stop_at_Main,
+ 'Select_Stack_Crawl' : Select_Stack_Crawl,
+ 'Dont_Step_in_Runtime' : Dont_Step_in_Runtime,
+ 'Auto_Target_Libraries' : Auto_Target_Libraries,
+}
+Debugger_Global._elemdict = {
+}
+Debugger_Target._propdict = {
+ 'Log_System_Messages' : Log_System_Messages,
+ 'Relocated_Executable_Path' : Relocated_Executable_Path,
+ 'Update_Data_While_Running' : Update_Data_While_Running,
+ 'Data_Update_Interval' : Data_Update_Interval,
+ 'Auto_Target_Libraries' : Auto_Target_Libraries,
+ 'Stop_at_temp_breakpoint' : Stop_at_temp_breakpoint,
+ 'Temp_breakpoint_names' : Temp_breakpoint_names,
+ 'Cache_symbolics' : Cache_symbolics,
+ 'Temp_Breakpoint_Type' : Temp_Breakpoint_Type,
+}
+Debugger_Target._elemdict = {
+}
+Debugger_Windowing._propdict = {
+ 'Debugging_Start_Action' : Debugging_Start_Action,
+ 'Do_Nothing_To_Projects' : Do_Nothing_To_Projects,
+}
+Debugger_Windowing._elemdict = {
+}
+Editor._propdict = {
+ 'Flash_Delay' : Flash_Delay,
+ 'Dynamic_Scroll' : Dynamic_Scroll,
+ 'Balance' : Balance,
+ 'Use_Drag__26__Drop_Editing' : Use_Drag__26__Drop_Editing,
+ 'Sort_Function_Popup' : Sort_Function_Popup,
+ 'Use_Multiple_Undo' : Use_Multiple_Undo,
+ 'Relaxed_C_Popup_Parsing' : Relaxed_C_Popup_Parsing,
+ 'Left_Margin_Line_Select' : Left_Margin_Line_Select,
+ 'Default_Text_File_Format' : Default_Text_File_Format,
+ 'Remember_Font' : Remember_Font,
+ 'Remember_Selection' : Remember_Selection,
+ 'Remember_Window' : Remember_Window,
+ 'Main_Text_Color' : Main_Text_Color,
+ 'Background_Color' : Background_Color,
+ 'Context_Popup_Delay' : Context_Popup_Delay,
+}
+Editor._elemdict = {
+}
+Environment_Variable._propdict = {
+ 'name' : name,
+ 'value' : value,
+}
+Environment_Variable._elemdict = {
+}
+Error_Information._propdict = {
+ 'messageKind' : messageKind,
+ 'message' : message,
+ 'disk_file' : disk_file,
+ 'lineNumber' : lineNumber,
+}
+Error_Information._elemdict = {
+}
+Extras._propdict = {
+ 'Automatic_Toolbar_Help' : Automatic_Toolbar_Help,
+ 'External_Reference' : External_Reference,
+ 'Full_Screen_Zoom' : Full_Screen_Zoom,
+ 'Recent_Editor_Count' : Recent_Editor_Count,
+ 'Recent_Project_Count' : Recent_Project_Count,
+ 'Use_Editor_Extensions' : Use_Editor_Extensions,
+ 'Use_External_Editor' : Use_External_Editor,
+ 'Use_Script_Menu' : Use_Script_Menu,
+ 'Use_ToolServer_Menu' : Use_ToolServer_Menu,
+}
+Extras._elemdict = {
+}
+File_Mapping._propdict = {
+ 'File_Type' : File_Type,
+ 'Extension' : Extension,
+ 'Precompiled' : Precompiled,
+ 'Resource_File' : Resource_File,
+ 'Launchable' : Launchable,
+ 'Ignored_by_Make' : Ignored_by_Make,
+ 'Compiler' : Compiler,
+}
+File_Mapping._elemdict = {
+}
+File_Mappings._propdict = {
+ 'Mappings' : Mappings,
+}
+File_Mappings._elemdict = {
+}
+Font._propdict = {
+ 'Auto_Indent' : Auto_Indent,
+ 'Tab_Size' : Tab_Size,
+ 'Tab_Indents_Selection' : Tab_Indents_Selection,
+ 'Tab_Inserts_Spaces' : Tab_Inserts_Spaces,
+ 'Text_Font' : Text_Font,
+ 'Text_Size' : Text_Size,
+}
+Font._elemdict = {
+}
+Function_Information._propdict = {
+ 'disk_file' : disk_file,
+ 'lineNumber' : lineNumber,
+}
+Function_Information._elemdict = {
+}
+Global_Source_Trees._propdict = {
+ 'Source_Trees' : Source_Trees,
+}
+Global_Source_Trees._elemdict = {
+}
+Path_Information._propdict = {
+ 'name' : name,
+ 'format' : format,
+ 'origin' : origin,
+ 'root' : root,
+ 'recursive' : recursive,
+ 'host_flags' : host_flags,
+}
+Path_Information._elemdict = {
+}
+Plugin_Settings._propdict = {
+ 'Plugin_Diagnostics_Level' : Plugin_Diagnostics_Level,
+ 'Disable_Third_Party_COM_Plugins' : Disable_Third_Party_COM_Plugins,
+}
+Plugin_Settings._elemdict = {
+}
+ProjectFile._propdict = {
+ 'filetype' : filetype,
+ 'name' : name,
+ 'disk_file' : disk_file,
+ 'codesize' : codesize,
+ 'datasize' : datasize,
+ 'up_to_date' : up_to_date,
+ 'symbols' : symbols,
+ 'weak_link' : weak_link,
+ 'initialize_before' : initialize_before,
+ 'includes' : includes,
+}
+ProjectFile._elemdict = {
+}
+Relative_Path._propdict = {
+ 'name' : name,
+ 'format' : format,
+ 'origin' : origin,
+ 'root' : root,
+}
+Relative_Path._elemdict = {
+}
+Runtime_Settings._propdict = {
+ 'Host_Application' : Host_Application,
+ 'Command_Line_Arguments' : Command_Line_Arguments,
+ 'Working_Directory' : Working_Directory,
+ 'Environment_Variables' : Environment_Variables,
+}
+Runtime_Settings._elemdict = {
+}
+Segment._propdict = {
+ 'name' : name,
+ 'filecount' : filecount,
+ 'seg_2d_preloaded' : seg_2d_preloaded,
+ 'seg_2d_protected' : seg_2d_protected,
+ 'seg_2d_locked' : seg_2d_locked,
+ 'seg_2d_purgeable' : seg_2d_purgeable,
+ 'seg_2d_system_heap' : seg_2d_system_heap,
+}
+Segment._elemdict = {
+}
+Shielded_Folder._propdict = {
+ 'Expression_To_Match' : Expression_To_Match,
+ 'Skip_Project_Operations' : Skip_Project_Operations,
+ 'Skip_Find_And_Compare_Operations' : Skip_Find_And_Compare_Operations,
+}
+Shielded_Folder._elemdict = {
+}
+Shielded_Folders._propdict = {
+ 'Shielded_Items' : Shielded_Items,
+}
+Shielded_Folders._elemdict = {
+}
+Source_Tree._propdict = {
+ 'name' : name,
+ 'path' : path,
+ 'path_kind' : path_kind,
+ 'format' : format,
+}
+Source_Tree._elemdict = {
+}
+Syntax_Coloring._propdict = {
+ 'Syntax_Coloring' : Syntax_Coloring,
+ 'Comment_Color' : Comment_Color,
+ 'Keyword_Color' : Keyword_Color,
+ 'String_Color' : String_Color,
+ 'Custom_Color_1' : Custom_Color_1,
+ 'Custom_Color_2' : Custom_Color_2,
+ 'Custom_Color_3' : Custom_Color_3,
+ 'Custom_Color_4' : Custom_Color_4,
+}
+Syntax_Coloring._elemdict = {
+}
+Target_Settings._propdict = {
+ 'Linker' : Linker,
+ 'Pre_Linker' : Pre_Linker,
+ 'Post_Linker' : Post_Linker,
+ 'Target_Name' : Target_Name,
+ 'Output_Directory_Path' : Output_Directory_Path,
+ 'Output_Directory_Origin' : Output_Directory_Origin,
+ 'Output_Directory_Location' : Output_Directory_Location,
+ 'Use_Relative_Paths' : Use_Relative_Paths,
+}
+Target_Settings._elemdict = {
+}
+Target_Source_Trees._propdict = {
+ 'Source_Trees' : Source_Trees,
+}
+Target_Source_Trees._elemdict = {
+}
+VCS_Setup._propdict = {
+ 'VCS_Active' : VCS_Active,
+ 'Use_Global_Settings' : Use_Global_Settings,
+ 'Connection_Method' : Connection_Method,
+ 'Username' : Username,
+ 'Password' : Password,
+ 'Auto_Connect' : Auto_Connect,
+ 'Store_Password' : Store_Password,
+ 'Always_Prompt' : Always_Prompt,
+ 'Mount_Volume' : Mount_Volume,
+ 'Database_Path' : Database_Path,
+ 'Local_Path' : Local_Path,
+}
+VCS_Setup._elemdict = {
+}
+_class._propdict = {
+ 'name' : name,
+ 'language' : language,
+ 'declaration_file' : declaration_file,
+ 'declaration_start_offset' : declaration_start_offset,
+ 'declaration_end_offset' : declaration_end_offset,
+ 'subclasses' : subclasses,
+ 'all_subclasses' : all_subclasses,
+}
+_class._elemdict = {
+ 'base_class' : base_class,
+ 'member_function' : member_function,
+ 'data_member' : data_member,
+}
+member_function._propdict = {
+ 'name' : name,
+ 'access' : access,
+ 'virtual' : virtual,
+ 'static' : static,
+ 'declaration_file' : declaration_file,
+ 'declaration_start_offset' : declaration_start_offset,
+ 'declaration_end_offset' : declaration_end_offset,
+ 'implementation_file' : implementation_file,
+ 'implementation_start_offset' : implementation_start_offset,
+ 'implementation_end_offset' : implementation_end_offset,
+}
+member_function._elemdict = {
+}
+data_member._propdict = {
+ 'name' : name,
+ 'access' : access,
+ 'static' : static,
+ 'declaration_start_offset' : declaration_start_offset,
+ 'declaration_end_offset' : declaration_end_offset,
+}
+data_member._elemdict = {
+}
+base_class._propdict = {
+ '_class' : _class,
+ 'access' : access,
+ 'virtual' : virtual,
+}
+base_class._elemdict = {
+}
+browser_catalog._propdict = {
+}
+browser_catalog._elemdict = {
+ '_class' : _class,
+}
+_Enum_TmpB = {
+ 'User_Specified' : 'Usrs', # Use user specified symbols when setting temporary breakpoints on program launch.
+ 'Default' : 'Dflt', # Use system default symbols when setting temporary breakpoints on program launch.
+}
+
+_Enum_TxtF = {
+ 'MacOS' : 'TxF0', # MacOS text format
+ 'DOS' : 'TxF1', # DOS text format
+ 'Unix' : 'TxF2', # Unix text format
+}
+
+_Enum_savo = {
+ 'yes' : 'yes ', # Save changes
+ 'no' : 'no ', # Do not save changes
+ 'ask' : 'ask ', # Ask the user whether to save
+}
+
+_Enum_ErrT = {
+ 'information' : 'ErIn', #
+ 'compiler_warning' : 'ErCW', #
+ 'compiler_error' : 'ErCE', #
+ 'definition' : 'ErDf', #
+ 'linker_warning' : 'ErLW', #
+ 'linker_error' : 'ErLE', #
+ 'find_result' : 'ErFn', #
+ 'generic_error' : 'ErGn', #
+}
+
+_Enum_SrcT = {
+ 'source' : 'FTxt', # A source file (.c, .cp, .p, etc).
+ 'unknown' : 'FUnk', # An unknown file type.
+}
+
+_Enum_PPrm = {
+ 'absolute' : 'Abso', # An absolute path name, including volume name.
+ 'project_relative' : 'PRel', # A path relative to the current projectıs folder.
+ 'shell_relative' : 'SRel', # A path relative to the CodeWarrior folder.
+ 'system_relative' : 'YRel', # A path relative to the system folder
+ 'root_relative' : 'RRel', #
+}
+
+_Enum_DbSA = {
+ 'No_Action' : 'DSA1', # Donıt do anything to non-debug windows
+ 'Hide_Windows' : 'DSA2', # Hide non-debugging windows
+ 'Collapse_Windows' : 'DSA3', # Collapse non-debugging windows
+ 'Close_Windows' : 'DSA4', # Close non-debugging windows
+}
+
+_Enum_Lang = {
+ 'C' : 'LC ', #
+ 'C_2b__2b_' : 'LC++', #
+ 'Pascal' : 'LP ', #
+ 'Object_Pascal' : 'LP++', #
+ 'Java' : 'LJav', #
+ 'Assembler' : 'LAsm', #
+ 'Unknown' : 'L? ', #
+}
+
+_Enum_Acce = {
+ 'public' : 'Publ', #
+ 'protected' : 'Prot', #
+ 'private' : 'Priv', #
+}
+
+_Enum_Inte = {
+ 'never_interact' : 'eNvr', # Never allow user interactions
+ 'interact_with_self' : 'eInS', # Allow user interaction only when an AppleEvent is sent from within CodeWarrior
+ 'interact_with_local' : 'eInL', # Allow user interaction when AppleEvents are sent from applications on the same machine (default)
+ 'interact_with_all' : 'eInA', # Allow user interaction from both local and remote AppleEvents
+}
+
+_Enum_DgBL = {
+ 'Always' : 'DgB0', # Always build before debugging.
+ 'Never' : 'DgB1', # Never build before debugging.
+ 'Ask' : 'DgB2', # Ask about building before debugging.
+}
+
+_Enum_RefP = {
+ 'Think_Reference' : 'DanR', #
+ 'QuickView' : 'ALTV', #
+}
+
+_Enum_PXdg = {
+ 'Diagnose_None' : 'PXd1', # No Plugin Diagnostics.
+ 'Diagnose_Errors' : 'PXd2', # Plugin Diagnostics for errors only.
+ 'Diagnose_All' : 'PXd3', # Plugin Diagnostics for everything.
+}
+
+_Enum_BXbr = {
+ 'Always_Build' : 'BXb1', # Always build the target before running.
+ 'Ask_Build' : 'BXb2', # Ask before building the target when running.
+ 'Never_Build' : 'BXb3', # Never before building the target before running.
+}
+
+_Enum_STKd = {
+ 'Absolute_Path' : 'STK0', # The ³path² property is an absolute path to the location of the source tree.
+ 'Registry_Key' : 'STK1', # The ³path² property is the name of a registry key that contains the path to the root.
+ 'Environment_Variable' : 'STK2', # The ³path² property is the name of an environment variable that contains the path to the root.
+}
+
+_Enum_PthF = {
+ 'Generic_Path' : 'PFGn', #
+ 'MacOS_Path' : 'PFMc', # MacOS path using colon as separator
+ 'Windows_Path' : 'PFWn', # Windows path using backslash as separator
+ 'Unix_Path' : 'PFUx', # Unix path using slash as separator
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'DbDS' : Debugger_Display,
+ 'TSTs' : Target_Source_Trees,
+ 'VCSs' : VCS_Setup,
+ 'mFNT' : Font,
+ 'BRKW' : Browser_Coloring,
+ 'PSTG' : Plugin_Settings,
+ 'RSTG' : Runtime_Settings,
+ 'MbFn' : member_function,
+ 'DbGL' : Debugger_Global,
+ 'SHFL' : Shielded_Folders,
+ 'EnvV' : Environment_Variable,
+ 'TARG' : Target_Settings,
+ 'RlPt' : Relative_Path,
+ 'BsCl' : base_class,
+ 'PInf' : Path_Information,
+ 'Seg ' : Segment,
+ 'DtMb' : data_member,
+ 'SNTX' : Syntax_Coloring,
+ 'LXTR' : Build_Extras,
+ 'DbWN' : Debugger_Windowing,
+ 'PATH' : Access_Paths,
+ 'FDef' : Function_Information,
+ 'SrcT' : Source_Tree,
+ 'SFit' : Shielded_Folder,
+ 'FLMP' : File_Mappings,
+ 'GXTR' : Extras,
+ 'CUKW' : Custom_Keywords,
+ 'GSTs' : Global_Source_Trees,
+ 'EDTR' : Editor,
+ 'DbTG' : Debugger_Target,
+ 'ErrM' : Error_Information,
+ 'Clas' : _class,
+ 'SrcF' : ProjectFile,
+ 'BSTG' : Build_Settings,
+ 'Cata' : browser_catalog,
+ 'FMap' : File_Mapping,
+}
+
+_propdeclarations = {
+ 'SymG' : symbols,
+ 'CSiz' : codesize,
+ 'DfEn' : implementation_end_offset,
+ 'DcEn' : declaration_end_offset,
+ 'VC10' : Local_Path,
+ 'FMps' : Mappings,
+ 'VC02' : Connection_Method,
+ 'VC03' : Username,
+ 'TA02' : Extension,
+ 'UpTD' : up_to_date,
+ 'VC07' : Always_Prompt,
+ 'VC04' : Password,
+ 'VC05' : Auto_Connect,
+ 'Dg13' : File_Cache_Duration,
+ 'Dg12' : Cache_Edited_Files,
+ 'Dg11' : Auto_Target_Libraries,
+ 'VC09' : Database_Path,
+ 'VC06' : Store_Password,
+ 'Clas' : _class,
+ 'PA02' : Always_Full_Search,
+ 'PA03' : System_Paths,
+ 'GH04' : String_Color,
+ 'PA01' : User_Paths,
+ 'TA09' : Post_Linker,
+ 'PA04' : Convert_Paths,
+ 'Lang' : language,
+ 'EX31' : Cache_Subproject_Data,
+ 'EX30' : Dump_Browser_Info,
+ 'SrcT' : filetype,
+ 'ST01' : Source_Trees,
+ 'VC11' : Use_Global_Settings,
+ 'PLck' : seg_2d_locked,
+ 'GH08' : Custom_Color_4,
+ 'DfFl' : implementation_file,
+ 'GH06' : Custom_Color_2,
+ 'GH07' : Custom_Color_3,
+ 'Db10' : Show_As_Decimal,
+ 'GH05' : Custom_Color_1,
+ 'GH02' : Comment_Color,
+ 'Kind' : path_kind,
+ 'GH01' : Syntax_Coloring,
+ 'Dt10' : Relocated_Executable_Path,
+ 'BW03' : Enums_Color,
+ 'BW00' : Browser_Keywords,
+ 'Dt13' : Stop_at_temp_breakpoint,
+ 'Dt14' : Temp_breakpoint_names,
+ 'Dt15' : Cache_symbolics,
+ 'Dt16' : Temp_Breakpoint_Type,
+ 'pnam' : name,
+ 'DfSt' : implementation_start_offset,
+ 'Dw01' : Debugging_Start_Action,
+ 'BW08' : Typedefs_Color,
+ 'TA16' : Output_Directory_Location,
+ 'PR04' : File_Type,
+ 'EX04' : Modification_Date_Caching,
+ 'RS04' : Environment_Variables,
+ 'EX07' : Full_Screen_Zoom,
+ 'RS02' : Command_Line_Arguments,
+ 'RS03' : Working_Directory,
+ 'RS01' : Host_Application,
+ 'TA06' : Ignored_by_Make,
+ 'TA07' : Compiler,
+ 'TA04' : Resource_File,
+ 'TA05' : Launchable,
+ 'EX08' : External_Reference,
+ 'EX09' : Browser_Active,
+ 'Prot' : seg_2d_protected,
+ 'TA01' : Linker,
+ 'Db05' : Variable_Hints,
+ 'Db04' : Threads_in_Window,
+ 'Db07' : Variable_Changed_Hilite,
+ 'Db06' : Watchpoint_Hilite,
+ 'Db01' : Show_Variable_Types,
+ 'Db03' : Use_RTTI,
+ 'Db02' : Sort_By_Method,
+ 'file' : disk_file,
+ 'SysH' : seg_2d_system_heap,
+ 'Db09' : Show_Locals,
+ 'Db08' : Default_Array_Size,
+ 'GH03' : Keyword_Color,
+ 'VC08' : Mount_Volume,
+ 'SFis' : Shielded_Items,
+ 'SubA' : all_subclasses,
+ 'Prel' : seg_2d_preloaded,
+ 'Orig' : origin,
+ 'Dt02' : Log_System_Messages,
+ 'DcFl' : declaration_file,
+ 'BW02' : Constants_Color,
+ 'Dt09' : Data_Update_Interval,
+ 'Dt08' : Update_Data_While_Running,
+ 'BW10' : Template_Commands_in_Menu,
+ 'BW01' : Classes_Color,
+ 'EX17' : Recent_Project_Count,
+ 'EX16' : Recent_Editor_Count,
+ 'BW07' : Templates_Color,
+ 'BW04' : Functions_Color,
+ 'EX12' : Use_Script_Menu,
+ 'BW05' : Globals_Color,
+ 'EX10' : Use_Editor_Extensions,
+ 'TA11' : Output_Directory_Path,
+ 'TA10' : Target_Name,
+ 'TA13' : Pre_Linker,
+ 'TA12' : Output_Directory_Origin,
+ 'TA15' : Use_Relative_Paths,
+ 'EX19' : Automatic_Toolbar_Help,
+ 'EX18' : Use_ToolServer_Menu,
+ 'ErrT' : messageKind,
+ 'ptxf' : Text_Font,
+ 'Weak' : weak_link,
+ 'ptps' : Text_Size,
+ 'Root' : root,
+ 'ErrS' : message,
+ 'SubC' : subclasses,
+ 'Dg04' : Confirm_Kill,
+ 'SF01' : Expression_To_Match,
+ 'SF02' : Skip_Project_Operations,
+ 'SF03' : Skip_Find_And_Compare_Operations,
+ 'ED08' : Remember_Font,
+ 'ED09' : Remember_Selection,
+ 'DSiz' : datasize,
+ 'VC01' : VCS_Active,
+ 'ErrL' : lineNumber,
+ 'ED01' : Flash_Delay,
+ 'ED02' : Dynamic_Scroll,
+ 'ED03' : Balance,
+ 'ED04' : Use_Drag__26__Drop_Editing,
+ 'ED06' : Sort_Function_Popup,
+ 'ED07' : Use_Multiple_Undo,
+ 'Recu' : recursive,
+ 'Valu' : value,
+ 'Path' : path,
+ 'IncF' : includes,
+ 'Bfor' : initialize_before,
+ 'Dw02' : Do_Nothing_To_Projects,
+ 'TA03' : Precompiled,
+ 'PX01' : Plugin_Diagnostics_Level,
+ 'EX11' : Use_External_Editor,
+ 'PX02' : Disable_Third_Party_COM_Plugins,
+ 'DcSt' : declaration_start_offset,
+ 'Dg01' : Ignore_Mod_Dates,
+ 'Dg02' : Open_All_Classes,
+ 'Dg03' : Launch_Apps_on_Open,
+ 'BW06' : Macros_Color,
+ 'Dg05' : Stop_at_Main,
+ 'Dg06' : Select_Stack_Crawl,
+ 'Dg07' : Dont_Step_in_Runtime,
+ 'HstF' : host_flags,
+ 'FN04' : Tab_Inserts_Spaces,
+ 'FN03' : Tab_Indents_Selection,
+ 'FN02' : Tab_Size,
+ 'FN01' : Auto_Indent,
+ 'Frmt' : format,
+ 'Stat' : static,
+ 'Virt' : virtual,
+ 'Purg' : seg_2d_purgeable,
+ 'NumF' : filecount,
+ 'Acce' : access,
+ 'BX05' : Include_Cache_Size,
+ 'BX04' : Build_Before_Running,
+ 'BX07' : Save_Before_Building,
+ 'BX06' : Compiler_Thread_Stack_Size,
+ 'BX01' : Completion_Sound,
+ 'BX03' : Failure_Sound,
+ 'BX02' : Success_Sound,
+ 'ED13' : Background_Color,
+ 'ED12' : Main_Text_Color,
+ 'ED10' : Remember_Window,
+ 'ED17' : Default_Text_File_Format,
+ 'ED16' : Left_Margin_Line_Select,
+ 'ED15' : Relaxed_C_Popup_Parsing,
+ 'ED14' : Context_Popup_Delay,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'PPrm' : _Enum_PPrm,
+ 'BXbr' : _Enum_BXbr,
+ 'PthF' : _Enum_PthF,
+ 'Lang' : _Enum_Lang,
+ 'PXdg' : _Enum_PXdg,
+ 'SrcT' : _Enum_SrcT,
+ 'savo' : _Enum_savo,
+ 'TmpB' : _Enum_TmpB,
+ 'DbSA' : _Enum_DbSA,
+ 'ErrT' : _Enum_ErrT,
+ 'TxtF' : _Enum_TxtF,
+ 'RefP' : _Enum_RefP,
+ 'Acce' : _Enum_Acce,
+ 'STKd' : _Enum_STKd,
+ 'DgBL' : _Enum_DgBL,
+ 'Inte' : _Enum_Inte,
+}
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py
new file mode 100644
index 0000000..9af866b
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Required.py
@@ -0,0 +1,62 @@
+"""Suite Required: Terms that every application should support
+Level 1, version 1
+
+Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'reqd'
+
+from StdSuites.Required_Suite import *
+class Required_Events:
+
+ _argmap_open = {
+ 'converting' : 'Conv',
+ }
+
+ def open(self, _object, _attributes={}, **_arguments):
+ """open: Open the specified object(s)
+ Required argument: list of objects to open
+ Keyword argument converting: Whether to convert project to latest version (yes/no; default is ask).
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'aevt'
+ _subcode = 'odoc'
+
+ aetools.keysubst(_arguments, self._argmap_open)
+ _arguments['----'] = _object
+
+ aetools.enumsubst(_arguments, 'Conv', _Enum_Conv)
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+_Enum_Conv = {
+ 'yes' : 'yes ', # Convert the project if necessary on open
+ 'no' : 'no ', # Do not convert the project if needed on open
+}
+
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+}
+
+_propdeclarations = {
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+ 'Conv' : _Enum_Conv,
+}
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py
new file mode 100644
index 0000000..9d07d90
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/Standard_Suite.py
@@ -0,0 +1,410 @@
+"""Suite Standard Suite: Common terms for most applications
+Level 1, version 1
+
+Generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
+AETE/AEUT resource version 1/0, language 0, script 0
+"""
+
+import aetools
+import MacOS
+
+_code = 'CoRe'
+
+class Standard_Suite_Events:
+
+ _argmap_close = {
+ 'saving' : 'savo',
+ 'saving_in' : 'kfil',
+ }
+
+ def close(self, _object, _attributes={}, **_arguments):
+ """close: close an object
+ Required argument: the object to close
+ Keyword argument saving: specifies whether or not changes should be saved before closing
+ Keyword argument saving_in: the file in which to save the object
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'core'
+ _subcode = 'clos'
+
+ aetools.keysubst(_arguments, self._argmap_close)
+ _arguments['----'] = _object
+
+ aetools.enumsubst(_arguments, 'savo', _Enum_savo)
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_count = {
+ 'each' : 'kocl',
+ }
+
+ def count(self, _object, _attributes={}, **_arguments):
+ """count: return the number of elements of a particular class within an object
+ Required argument: the object whose elements are to be counted
+ Keyword argument each: the class of the elements to be counted. Keyword 'each' is optional in AppleScript
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: the number of elements
+ """
+ _code = 'core'
+ _subcode = 'cnte'
+
+ aetools.keysubst(_arguments, self._argmap_count)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_get = {
+ 'as' : 'rtyp',
+ }
+
+ def get(self, _object, _attributes={}, **_arguments):
+ """get: get the data for an object
+ Required argument: the object whose data is to be returned
+ Keyword argument as: the desired types for the data, in order of preference
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: The data from the object
+ """
+ _code = 'core'
+ _subcode = 'getd'
+
+ aetools.keysubst(_arguments, self._argmap_get)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_make = {
+ 'new' : 'kocl',
+ 'as' : 'rtyp',
+ 'at' : 'insh',
+ 'with_data' : 'data',
+ 'with_properties' : 'prdt',
+ }
+
+ def make(self, _no_object=None, _attributes={}, **_arguments):
+ """make: make a new element
+ Keyword argument new: the class of the new element‹keyword 'new' is optional in AppleScript
+ Keyword argument as: the desired types for the data, in order of preference
+ Keyword argument at: the location at which to insert the element
+ Keyword argument with_data: the initial data for the element
+ Keyword argument with_properties: the initial values for the properties of the element
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ Returns: to the new object(s)
+ """
+ _code = 'core'
+ _subcode = 'crel'
+
+ aetools.keysubst(_arguments, self._argmap_make)
+ if _no_object != None: raise TypeError, 'No direct arg expected'
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ def select(self, _object=None, _attributes={}, **_arguments):
+ """select: select the specified object
+ Required argument: the object to select
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'misc'
+ _subcode = 'slct'
+
+ if _arguments: raise TypeError, 'No optional args expected'
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+ _argmap_set = {
+ 'to' : 'data',
+ }
+
+ def set(self, _object, _attributes={}, **_arguments):
+ """set: set an object's data
+ Required argument: the object to change
+ Keyword argument to: the new value
+ Keyword argument _attributes: AppleEvent attribute dictionary
+ """
+ _code = 'core'
+ _subcode = 'setd'
+
+ aetools.keysubst(_arguments, self._argmap_set)
+ _arguments['----'] = _object
+
+
+ _reply, _arguments, _attributes = self.send(_code, _subcode,
+ _arguments, _attributes)
+ if _arguments.has_key('errn'):
+ raise aetools.Error, aetools.decodeerror(_arguments)
+ # XXXX Optionally decode result
+ if _arguments.has_key('----'):
+ return _arguments['----']
+
+
+class application(aetools.ComponentItem):
+ """application - an application program """
+ want = 'capp'
+class user_interaction(aetools.NProperty):
+ """user interaction - user interaction level """
+ which = 'inte'
+ want = 'Inte'
+# element 'docu' as ['indx', 'name', 'rang']
+# element 'cwin' as ['indx', 'name', 'rang']
+
+class character(aetools.ComponentItem):
+ """character - a character """
+ want = 'cha '
+class offset(aetools.NProperty):
+ """offset - offset of a text object from the beginning of the document (first char has offset 1) """
+ which = 'pOff'
+ want = 'long'
+class length(aetools.NProperty):
+ """length - length in characters of this object """
+ which = 'pLen'
+ want = 'long'
+
+class document(aetools.ComponentItem):
+ """document - a document """
+ want = 'docu'
+class name(aetools.NProperty):
+ """name - the title of the document """
+ which = 'pnam'
+ want = 'itxt'
+class kind(aetools.NProperty):
+ """kind - the kind of document """
+ which = 'DKND'
+ want = 'DKND'
+class index(aetools.NProperty):
+ """index - the number of the document """
+ which = 'pidx'
+ want = 'long'
+class location(aetools.NProperty):
+ """location - the file of the document """
+ which = 'FILE'
+ want = 'fss '
+class file_permissions(aetools.NProperty):
+ """file permissions - the file permissions for the document """
+ which = 'PERM'
+ want = 'PERM'
+class window(aetools.NProperty):
+ """window - the window of the document. """
+ which = 'cwin'
+ want = 'cwin'
+
+documents = document
+
+class file(aetools.ComponentItem):
+ """file - A file """
+ want = 'file'
+
+files = file
+
+class insertion_point(aetools.ComponentItem):
+ """insertion point - An insertion location between two objects """
+ want = 'cins'
+# repeated property length length of text object (in characters)
+# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
+
+class line(aetools.ComponentItem):
+ """line - lines of text """
+ want = 'clin'
+# repeated property index index of a line object from the beginning of the document (first line has index 1)
+# repeated property offset offset (in characters) of a line object from the beginning of the document
+# repeated property length length in characters of this object
+# element 'cha ' as ['indx', 'rang', 'rele']
+
+lines = line
+
+class selection_2d_object(aetools.ComponentItem):
+ """selection-object - the selection visible to the user """
+ want = 'csel'
+class contents(aetools.NProperty):
+ """contents - the contents of the selection """
+ which = 'pcnt'
+ want = 'type'
+# repeated property length length of text object (in characters)
+# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
+# element 'cha ' as ['indx', 'rele', 'rang', 'test']
+# element 'clin' as ['indx', 'rang', 'rele']
+# element 'ctxt' as ['rang']
+
+class text(aetools.ComponentItem):
+ """text - Text """
+ want = 'ctxt'
+# repeated property length length of text object (in characters)
+# repeated property offset offset of a text object from the beginning of the document (first char has offset 1)
+# element 'cha ' as ['indx', 'rele', 'rang']
+# element 'cins' as ['rele']
+# element 'clin' as ['indx', 'rang', 'rele']
+# element 'ctxt' as ['rang']
+
+class window(aetools.ComponentItem):
+ """window - A window """
+ want = 'cwin'
+# repeated property name the title of the window
+# repeated property index the number of the window
+class bounds(aetools.NProperty):
+ """bounds - the boundary rectangle for the window """
+ which = 'pbnd'
+ want = 'qdrt'
+class document(aetools.NProperty):
+ """document - the document that owns this window """
+ which = 'docu'
+ want = 'docu'
+class position(aetools.NProperty):
+ """position - upper left coordinates of window """
+ which = 'ppos'
+ want = 'QDpt'
+class visible(aetools.NProperty):
+ """visible - is the window visible? """
+ which = 'pvis'
+ want = 'bool'
+class zoomed(aetools.NProperty):
+ """zoomed - Is the window zoomed? """
+ which = 'pzum'
+ want = 'bool'
+
+windows = window
+application._propdict = {
+ 'user_interaction' : user_interaction,
+}
+application._elemdict = {
+ 'document' : document,
+ 'window' : window,
+}
+character._propdict = {
+ 'offset' : offset,
+ 'length' : length,
+}
+character._elemdict = {
+}
+document._propdict = {
+ 'name' : name,
+ 'kind' : kind,
+ 'index' : index,
+ 'location' : location,
+ 'file_permissions' : file_permissions,
+ 'window' : window,
+}
+document._elemdict = {
+}
+file._propdict = {
+}
+file._elemdict = {
+}
+insertion_point._propdict = {
+ 'length' : length,
+ 'offset' : offset,
+}
+insertion_point._elemdict = {
+}
+line._propdict = {
+ 'index' : index,
+ 'offset' : offset,
+ 'length' : length,
+}
+line._elemdict = {
+ 'character' : character,
+}
+selection_2d_object._propdict = {
+ 'contents' : contents,
+ 'length' : length,
+ 'offset' : offset,
+}
+selection_2d_object._elemdict = {
+ 'character' : character,
+ 'line' : line,
+ 'text' : text,
+}
+text._propdict = {
+ 'length' : length,
+ 'offset' : offset,
+}
+text._elemdict = {
+ 'character' : character,
+ 'insertion_point' : insertion_point,
+ 'line' : line,
+ 'text' : text,
+}
+window._propdict = {
+ 'name' : name,
+ 'index' : index,
+ 'bounds' : bounds,
+ 'document' : document,
+ 'position' : position,
+ 'visible' : visible,
+ 'zoomed' : zoomed,
+}
+window._elemdict = {
+}
+import Metrowerks_Shell_Suite
+from Metrowerks_Shell_Suite import _Enum_savo
+
+#
+# Indices of types declared in this module
+#
+_classdeclarations = {
+ 'docu' : document,
+ 'cins' : insertion_point,
+ 'capp' : application,
+ 'ctxt' : text,
+ 'csel' : selection_2d_object,
+ 'clin' : line,
+ 'file' : file,
+ 'cwin' : window,
+ 'cha ' : character,
+}
+
+_propdeclarations = {
+ 'pzum' : zoomed,
+ 'DKND' : kind,
+ 'pOff' : offset,
+ 'pLen' : length,
+ 'pnam' : name,
+ 'FILE' : location,
+ 'pcnt' : contents,
+ 'cwin' : window,
+ 'ppos' : position,
+ 'pidx' : index,
+ 'docu' : document,
+ 'PERM' : file_permissions,
+ 'pbnd' : bounds,
+ 'pvis' : visible,
+ 'inte' : user_interaction,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
+}
diff --git a/Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py b/Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py
new file mode 100644
index 0000000..a08702f
--- /dev/null
+++ b/Mac/Lib/lib-scriptpackages/CodeWarrior/__init__.py
@@ -0,0 +1,40 @@
+"""
+Package generated from Macintosh HD:SWdev:CodeWarrior 6 MPTP:Metrowerks CodeWarrior:CodeWarrior IDE 4.1B9
+Resource aete resid 0 AppleEvent Suites
+"""
+import aetools
+import Required
+import Standard_Suite
+import CodeWarrior_suite
+import Metrowerks_Shell_Suite
+
+
+_code_to_module = {
+ 'reqd' : Required,
+ 'CoRe' : Standard_Suite,
+ 'CWIE' : CodeWarrior_suite,
+ 'MMPR' : Metrowerks_Shell_Suite,
+}
+
+
+
+_code_to_fullname = {
+ 'reqd' : 'CodeWarrior.Required',
+ 'CoRe' : 'CodeWarrior.Standard_Suite',
+ 'CWIE' : 'CodeWarrior.CodeWarrior_suite',
+ 'MMPR' : 'CodeWarrior.Metrowerks_Shell_Suite',
+}
+
+from Required import *
+from Standard_Suite import *
+from CodeWarrior_suite import *
+from Metrowerks_Shell_Suite import *
+
+
+class CodeWarrior(Required_Events,
+ Standard_Suite_Events,
+ CodeWarrior_suite_Events,
+ Metrowerks_Shell_Suite_Events,
+ aetools.TalkTo):
+ _signature = 'CWIE'
+