home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / MacHacksBug / Python 1.5.2c1 / Mac / Lib / lib-scripting / Metrowerks_Shell_Suite.py < prev    next >
Encoding:
Python Source  |  2000-06-23  |  55.4 KB  |  1,821 lines

  1. """Suite Metrowerks Shell Suite: Events supported by the Metrowerks Project Shell
  2. Level 1, version 1
  3.  
  4. Generated from flap:Metrowerks:Metrowerks CodeWarrior:CodeWarrior IDE 2.0.1
  5. AETE/AEUT resource version 1/0, language 0, script 0
  6. """
  7.  
  8. import aetools
  9. import MacOS
  10.  
  11. _code = 'MMPR'
  12.  
  13. class Metrowerks_Shell_Suite:
  14.  
  15.     _argmap_Add_Files = {
  16.         'To_Segment' : 'Segm',
  17.     }
  18.  
  19.     def Add_Files(self, _object, _attributes={}, **_arguments):
  20.         """Add Files: Add the specified file(s) to the current project
  21.         Required argument: List of files to add
  22.         Keyword argument To_Segment: Segment number into which to add the file(s)
  23.         Keyword argument _attributes: AppleEvent attribute dictionary
  24.         Returns: Error code for each file added
  25.         """
  26.         _code = 'MMPR'
  27.         _subcode = 'AddF'
  28.  
  29.         aetools.keysubst(_arguments, self._argmap_Add_Files)
  30.         _arguments['----'] = _object
  31.  
  32.  
  33.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  34.                 _arguments, _attributes)
  35.         if _arguments.has_key('errn'):
  36.             raise aetools.Error, aetools.decodeerror(_arguments)
  37.         # XXXX Optionally decode result
  38.         if _arguments.has_key('----'):
  39.             return _arguments['----']
  40.  
  41.     _argmap_Check_Syntax = {
  42.         'ExternalEditor' : 'Errs',
  43.     }
  44.  
  45.     def Check_Syntax(self, _object, _attributes={}, **_arguments):
  46.         """Check Syntax: Check the syntax of the specified file(s)
  47.         Required argument: List of files to check the syntax of
  48.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  49.         Keyword argument _attributes: AppleEvent attribute dictionary
  50.         Returns: Errors for each file whose syntax was checked
  51.         """
  52.         _code = 'MMPR'
  53.         _subcode = 'Chek'
  54.  
  55.         aetools.keysubst(_arguments, self._argmap_Check_Syntax)
  56.         _arguments['----'] = _object
  57.  
  58.  
  59.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  60.                 _arguments, _attributes)
  61.         if _arguments.has_key('errn'):
  62.             raise aetools.Error, aetools.decodeerror(_arguments)
  63.         # XXXX Optionally decode result
  64.         if _arguments.has_key('----'):
  65.             return _arguments['----']
  66.  
  67.     def Close_Project(self, _no_object=None, _attributes={}, **_arguments):
  68.         """Close Project: Close the current project
  69.         Keyword argument _attributes: AppleEvent attribute dictionary
  70.         """
  71.         _code = 'MMPR'
  72.         _subcode = 'ClsP'
  73.  
  74.         if _arguments: raise TypeError, 'No optional args expected'
  75.         if _no_object != None: raise TypeError, 'No direct arg expected'
  76.  
  77.  
  78.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  79.                 _arguments, _attributes)
  80.         if _arguments.has_key('errn'):
  81.             raise aetools.Error, aetools.decodeerror(_arguments)
  82.         # XXXX Optionally decode result
  83.         if _arguments.has_key('----'):
  84.             return _arguments['----']
  85.  
  86.     _argmap_Close_Window = {
  87.         'Saving' : 'savo',
  88.     }
  89.  
  90.     def Close_Window(self, _object, _attributes={}, **_arguments):
  91.         """Close Window: Close the windows showing the specified files
  92.         Required argument: The files to close
  93.         Keyword argument Saving: Whether to save changes to each file before closing its window
  94.         Keyword argument _attributes: AppleEvent attribute dictionary
  95.         """
  96.         _code = 'MMPR'
  97.         _subcode = 'ClsW'
  98.  
  99.         aetools.keysubst(_arguments, self._argmap_Close_Window)
  100.         _arguments['----'] = _object
  101.  
  102.         aetools.enumsubst(_arguments, 'savo', _Enum_savo)
  103.  
  104.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  105.                 _arguments, _attributes)
  106.         if _arguments.has_key('errn'):
  107.             raise aetools.Error, aetools.decodeerror(_arguments)
  108.         # XXXX Optionally decode result
  109.         if _arguments.has_key('----'):
  110.             return _arguments['----']
  111.  
  112.     _argmap_Compile = {
  113.         'ExternalEditor' : 'Errs',
  114.     }
  115.  
  116.     def Compile(self, _object, _attributes={}, **_arguments):
  117.         """Compile: Compile the specified file(s)
  118.         Required argument: List of files to compile
  119.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  120.         Keyword argument _attributes: AppleEvent attribute dictionary
  121.         Returns: Errors for each file compiled
  122.         """
  123.         _code = 'MMPR'
  124.         _subcode = 'Comp'
  125.  
  126.         aetools.keysubst(_arguments, self._argmap_Compile)
  127.         _arguments['----'] = _object
  128.  
  129.  
  130.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  131.                 _arguments, _attributes)
  132.         if _arguments.has_key('errn'):
  133.             raise aetools.Error, aetools.decodeerror(_arguments)
  134.         # XXXX Optionally decode result
  135.         if _arguments.has_key('----'):
  136.             return _arguments['----']
  137.  
  138.     _argmap_Create_Project = {
  139.         'from_stationery' : 'Tmpl',
  140.     }
  141.  
  142.     def Create_Project(self, _object, _attributes={}, **_arguments):
  143.         """Create Project: Create a new project file
  144.         Required argument: New project file specifier
  145.         Keyword argument from_stationery: undocumented, typecode 'alis'
  146.         Keyword argument _attributes: AppleEvent attribute dictionary
  147.         """
  148.         _code = 'MMPR'
  149.         _subcode = 'NewP'
  150.  
  151.         aetools.keysubst(_arguments, self._argmap_Create_Project)
  152.         _arguments['----'] = _object
  153.  
  154.  
  155.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  156.                 _arguments, _attributes)
  157.         if _arguments.has_key('errn'):
  158.             raise aetools.Error, aetools.decodeerror(_arguments)
  159.         # XXXX Optionally decode result
  160.         if _arguments.has_key('----'):
  161.             return _arguments['----']
  162.  
  163.     def Get_Definition(self, _object, _attributes={}, **_arguments):
  164.         """Get Definition: Returns the location(s) of a globally scoped function or data object.
  165.         Required argument: undocumented, typecode 'TEXT'
  166.         Keyword argument _attributes: AppleEvent attribute dictionary
  167.         Returns: undocumented, typecode 'FDef'
  168.         """
  169.         _code = 'MMPR'
  170.         _subcode = 'GDef'
  171.  
  172.         if _arguments: raise TypeError, 'No optional args expected'
  173.         _arguments['----'] = _object
  174.  
  175.  
  176.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  177.                 _arguments, _attributes)
  178.         if _arguments.has_key('errn'):
  179.             raise aetools.Error, aetools.decodeerror(_arguments)
  180.         # XXXX Optionally decode result
  181.         if _arguments.has_key('----'):
  182.             return _arguments['----']
  183.  
  184.     def Get_Open_Documents(self, _no_object=None, _attributes={}, **_arguments):
  185.         """Get Open Documents: Returns the list of open documents
  186.         Keyword argument _attributes: AppleEvent attribute dictionary
  187.         Returns: The list of documents
  188.         """
  189.         _code = 'MMPR'
  190.         _subcode = 'GDoc'
  191.  
  192.         if _arguments: raise TypeError, 'No optional args expected'
  193.         if _no_object != None: raise TypeError, 'No direct arg expected'
  194.  
  195.  
  196.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  197.                 _arguments, _attributes)
  198.         if _arguments.has_key('errn'):
  199.             raise aetools.Error, aetools.decodeerror(_arguments)
  200.         # XXXX Optionally decode result
  201.         if _arguments.has_key('----'):
  202.             return _arguments['----']
  203.  
  204.     _argmap_Get_Preferences = {
  205.         'of' : 'PRec',
  206.         'from_panel' : 'PNam',
  207.     }
  208.  
  209.     def Get_Preferences(self, _no_object=None, _attributes={}, **_arguments):
  210.         """Get Preferences: Get the preferences for the current project
  211.         Keyword argument of: Names of requested preferences
  212.         Keyword argument from_panel: Name of the preference panel
  213.         Keyword argument _attributes: AppleEvent attribute dictionary
  214.         Returns: The requested preferences
  215.         """
  216.         _code = 'MMPR'
  217.         _subcode = 'Gref'
  218.  
  219.         aetools.keysubst(_arguments, self._argmap_Get_Preferences)
  220.         if _no_object != None: raise TypeError, 'No direct arg expected'
  221.  
  222.  
  223.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  224.                 _arguments, _attributes)
  225.         if _arguments.has_key('errn'):
  226.             raise aetools.Error, aetools.decodeerror(_arguments)
  227.         # XXXX Optionally decode result
  228.         if _arguments.has_key('----'):
  229.             return _arguments['----']
  230.  
  231.     _argmap_Get_Project_File = {
  232.         'Segment' : 'Segm',
  233.     }
  234.  
  235.     def Get_Project_File(self, _object, _attributes={}, **_arguments):
  236.         """Get Project File: Returns a description of a file in the project window.
  237.         Required argument: The index of the file within its segment.
  238.         Keyword argument Segment: The segment containing the file.
  239.         Keyword argument _attributes: AppleEvent attribute dictionary
  240.         Returns: undocumented, typecode 'SrcF'
  241.         """
  242.         _code = 'MMPR'
  243.         _subcode = 'GFil'
  244.  
  245.         aetools.keysubst(_arguments, self._argmap_Get_Project_File)
  246.         _arguments['----'] = _object
  247.  
  248.  
  249.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  250.                 _arguments, _attributes)
  251.         if _arguments.has_key('errn'):
  252.             raise aetools.Error, aetools.decodeerror(_arguments)
  253.         # XXXX Optionally decode result
  254.         if _arguments.has_key('----'):
  255.             return _arguments['----']
  256.  
  257.     def Get_Project_Specifier(self, _no_object=None, _attributes={}, **_arguments):
  258.         """Get Project Specifier: Return the File Specifier for the current project
  259.         Keyword argument _attributes: AppleEvent attribute dictionary
  260.         Returns: File Specifier for the current project
  261.         """
  262.         _code = 'MMPR'
  263.         _subcode = 'GetP'
  264.  
  265.         if _arguments: raise TypeError, 'No optional args expected'
  266.         if _no_object != None: raise TypeError, 'No direct arg expected'
  267.  
  268.  
  269.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  270.                 _arguments, _attributes)
  271.         if _arguments.has_key('errn'):
  272.             raise aetools.Error, aetools.decodeerror(_arguments)
  273.         # XXXX Optionally decode result
  274.         if _arguments.has_key('----'):
  275.             return _arguments['----']
  276.  
  277.     def Get_Segments(self, _no_object=None, _attributes={}, **_arguments):
  278.         """Get Segments: Returns a description of each segment in the project.
  279.         Keyword argument _attributes: AppleEvent attribute dictionary
  280.         Returns: undocumented, typecode 'Seg '
  281.         """
  282.         _code = 'MMPR'
  283.         _subcode = 'GSeg'
  284.  
  285.         if _arguments: raise TypeError, 'No optional args expected'
  286.         if _no_object != None: raise TypeError, 'No direct arg expected'
  287.  
  288.  
  289.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  290.                 _arguments, _attributes)
  291.         if _arguments.has_key('errn'):
  292.             raise aetools.Error, aetools.decodeerror(_arguments)
  293.         # XXXX Optionally decode result
  294.         if _arguments.has_key('----'):
  295.             return _arguments['----']
  296.  
  297.     def Goto_Function(self, _object, _attributes={}, **_arguments):
  298.         """Goto Function: Goto Specified Function Name
  299.         Required argument: undocumented, typecode 'TEXT'
  300.         Keyword argument _attributes: AppleEvent attribute dictionary
  301.         """
  302.         _code = 'MMPR'
  303.         _subcode = 'GoFn'
  304.  
  305.         if _arguments: raise TypeError, 'No optional args expected'
  306.         _arguments['----'] = _object
  307.  
  308.  
  309.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  310.                 _arguments, _attributes)
  311.         if _arguments.has_key('errn'):
  312.             raise aetools.Error, aetools.decodeerror(_arguments)
  313.         # XXXX Optionally decode result
  314.         if _arguments.has_key('----'):
  315.             return _arguments['----']
  316.  
  317.     def Goto_Line(self, _object, _attributes={}, **_arguments):
  318.         """Goto Line: Goto Specified Line Number
  319.         Required argument: The requested source file line number
  320.         Keyword argument _attributes: AppleEvent attribute dictionary
  321.         """
  322.         _code = 'MMPR'
  323.         _subcode = 'GoLn'
  324.  
  325.         if _arguments: raise TypeError, 'No optional args expected'
  326.         _arguments['----'] = _object
  327.  
  328.  
  329.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  330.                 _arguments, _attributes)
  331.         if _arguments.has_key('errn'):
  332.             raise aetools.Error, aetools.decodeerror(_arguments)
  333.         # XXXX Optionally decode result
  334.         if _arguments.has_key('----'):
  335.             return _arguments['----']
  336.  
  337.     def Is_In_Project(self, _object, _attributes={}, **_arguments):
  338.         """Is In Project: Whether or not the specified file(s) is in the current project
  339.         Required argument: List of files to check for project membership
  340.         Keyword argument _attributes: AppleEvent attribute dictionary
  341.         Returns: Result code for each file
  342.         """
  343.         _code = 'MMPR'
  344.         _subcode = 'FInP'
  345.  
  346.         if _arguments: raise TypeError, 'No optional args expected'
  347.         _arguments['----'] = _object
  348.  
  349.  
  350.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  351.                 _arguments, _attributes)
  352.         if _arguments.has_key('errn'):
  353.             raise aetools.Error, aetools.decodeerror(_arguments)
  354.         # XXXX Optionally decode result
  355.         if _arguments.has_key('----'):
  356.             return _arguments['----']
  357.  
  358.     _argmap_Make_Project = {
  359.         'ExternalEditor' : 'Errs',
  360.     }
  361.  
  362.     def Make_Project(self, _no_object=None, _attributes={}, **_arguments):
  363.         """Make Project: Make the current project
  364.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  365.         Keyword argument _attributes: AppleEvent attribute dictionary
  366.         Returns: Errors that occurred while making the project
  367.         """
  368.         _code = 'MMPR'
  369.         _subcode = 'Make'
  370.  
  371.         aetools.keysubst(_arguments, self._argmap_Make_Project)
  372.         if _no_object != None: raise TypeError, 'No direct arg expected'
  373.  
  374.  
  375.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  376.                 _arguments, _attributes)
  377.         if _arguments.has_key('errn'):
  378.             raise aetools.Error, aetools.decodeerror(_arguments)
  379.         # XXXX Optionally decode result
  380.         if _arguments.has_key('----'):
  381.             return _arguments['----']
  382.  
  383.     _argmap_Precompile = {
  384.         'Saving_As' : 'Targ',
  385.         'ExternalEditor' : 'Errs',
  386.     }
  387.  
  388.     def Precompile(self, _object, _attributes={}, **_arguments):
  389.         """Precompile: Precompile the specified file to the specified destination file
  390.         Required argument: File to precompile
  391.         Keyword argument Saving_As: Destination file for precompiled header
  392.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  393.         Keyword argument _attributes: AppleEvent attribute dictionary
  394.         Returns: Errors for the precompiled file
  395.         """
  396.         _code = 'MMPR'
  397.         _subcode = 'PreC'
  398.  
  399.         aetools.keysubst(_arguments, self._argmap_Precompile)
  400.         _arguments['----'] = _object
  401.  
  402.  
  403.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  404.                 _arguments, _attributes)
  405.         if _arguments.has_key('errn'):
  406.             raise aetools.Error, aetools.decodeerror(_arguments)
  407.         # XXXX Optionally decode result
  408.         if _arguments.has_key('----'):
  409.             return _arguments['----']
  410.  
  411.     _argmap_Preprocess = {
  412.         'ExternalEditor' : 'Errs',
  413.     }
  414.  
  415.     def Preprocess(self, _object, _attributes={}, **_arguments):
  416.         """Preprocess: Preprocesses the specified file(s)
  417.         Required argument: undocumented, typecode 'alis'
  418.         Keyword argument ExternalEditor: undocumented, typecode 'bool'
  419.         Keyword argument _attributes: AppleEvent attribute dictionary
  420.         Returns: Errors for each preprocessed file
  421.         """
  422.         _code = 'MMPR'
  423.         _subcode = 'PreP'
  424.  
  425.         aetools.keysubst(_arguments, self._argmap_Preprocess)
  426.         _arguments['----'] = _object
  427.  
  428.  
  429.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  430.                 _arguments, _attributes)
  431.         if _arguments.has_key('errn'):
  432.             raise aetools.Error, aetools.decodeerror(_arguments)
  433.         # XXXX Optionally decode result
  434.         if _arguments.has_key('----'):
  435.             return _arguments['----']
  436.  
  437.     def Remove_Binaries(self, _no_object=None, _attributes={}, **_arguments):
  438.         """Remove Binaries: Remove the binary object code from the current project
  439.         Keyword argument _attributes: AppleEvent attribute dictionary
  440.         """
  441.         _code = 'MMPR'
  442.         _subcode = 'RemB'
  443.  
  444.         if _arguments: raise TypeError, 'No optional args expected'
  445.         if _no_object != None: raise TypeError, 'No direct arg expected'
  446.  
  447.  
  448.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  449.                 _arguments, _attributes)
  450.         if _arguments.has_key('errn'):
  451.             raise aetools.Error, aetools.decodeerror(_arguments)
  452.         # XXXX Optionally decode result
  453.         if _arguments.has_key('----'):
  454.             return _arguments['----']
  455.  
  456.     def Remove_Files(self, _object, _attributes={}, **_arguments):
  457.         """Remove Files: Remove the specified file(s) from the current project
  458.         Required argument: List of files to remove
  459.         Keyword argument _attributes: AppleEvent attribute dictionary
  460.         Returns: Error code for each file removed
  461.         """
  462.         _code = 'MMPR'
  463.         _subcode = 'RemF'
  464.  
  465.         if _arguments: raise TypeError, 'No optional args expected'
  466.         _arguments['----'] = _object
  467.  
  468.  
  469.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  470.                 _arguments, _attributes)
  471.         if _arguments.has_key('errn'):
  472.             raise aetools.Error, aetools.decodeerror(_arguments)
  473.         # XXXX Optionally decode result
  474.         if _arguments.has_key('----'):
  475.             return _arguments['----']
  476.  
  477.     def Reset_File_Paths(self, _no_object=None, _attributes={}, **_arguments):
  478.         """Reset File Paths: Resets access paths for all files belonging to open project.
  479.         Keyword argument _attributes: AppleEvent attribute dictionary
  480.         """
  481.         _code = 'MMPR'
  482.         _subcode = 'ReFP'
  483.  
  484.         if _arguments: raise TypeError, 'No optional args expected'
  485.         if _no_object != None: raise TypeError, 'No direct arg expected'
  486.  
  487.  
  488.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  489.                 _arguments, _attributes)
  490.         if _arguments.has_key('errn'):
  491.             raise aetools.Error, aetools.decodeerror(_arguments)
  492.         # XXXX Optionally decode result
  493.         if _arguments.has_key('----'):
  494.             return _arguments['----']
  495.  
  496.     _argmap_Run_Project = {
  497.         'ExternalEditor' : 'Errs',
  498.         'SourceDebugger' : 'DeBg',
  499.     }
  500.  
  501.     def Run_Project(self, _no_object=None, _attributes={}, **_arguments):
  502.         """Run Project: Run the current project
  503.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  504.         Keyword argument SourceDebugger: Run the application under the control of the source-level debugger
  505.         Keyword argument _attributes: AppleEvent attribute dictionary
  506.         Returns: Errors that occurred when running the project
  507.         """
  508.         _code = 'MMPR'
  509.         _subcode = 'RunP'
  510.  
  511.         aetools.keysubst(_arguments, self._argmap_Run_Project)
  512.         if _no_object != None: raise TypeError, 'No direct arg expected'
  513.  
  514.  
  515.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  516.                 _arguments, _attributes)
  517.         if _arguments.has_key('errn'):
  518.             raise aetools.Error, aetools.decodeerror(_arguments)
  519.         # XXXX Optionally decode result
  520.         if _arguments.has_key('----'):
  521.             return _arguments['----']
  522.  
  523.     def Save_Error_Window_As(self, _object, _attributes={}, **_arguments):
  524.         """Save Error Window As: Saves the Errors & Warnings window as a text file
  525.         Required argument: Destination file for Save Message Window As
  526.         Keyword argument _attributes: AppleEvent attribute dictionary
  527.         """
  528.         _code = 'MMPR'
  529.         _subcode = 'SvMs'
  530.  
  531.         if _arguments: raise TypeError, 'No optional args expected'
  532.         _arguments['----'] = _object
  533.  
  534.  
  535.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  536.                 _arguments, _attributes)
  537.         if _arguments.has_key('errn'):
  538.             raise aetools.Error, aetools.decodeerror(_arguments)
  539.         # XXXX Optionally decode result
  540.         if _arguments.has_key('----'):
  541.             return _arguments['----']
  542.  
  543.     def Set_Current_Target(self, _object=None, _attributes={}, **_arguments):
  544.         """Set Current Target: Set the current target of a project
  545.         Required argument: Name of target
  546.         Keyword argument _attributes: AppleEvent attribute dictionary
  547.         """
  548.         _code = 'MMPR'
  549.         _subcode = 'STrg'
  550.  
  551.         if _arguments: raise TypeError, 'No optional args expected'
  552.         _arguments['----'] = _object
  553.  
  554.  
  555.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  556.                 _arguments, _attributes)
  557.         if _arguments.has_key('errn'):
  558.             raise aetools.Error, aetools.decodeerror(_arguments)
  559.         # XXXX Optionally decode result
  560.         if _arguments.has_key('----'):
  561.             return _arguments['----']
  562.  
  563.     def Set_Default_Project(self, _object, _attributes={}, **_arguments):
  564.         """Set Default Project: Set the default project
  565.         Required argument: Name of project
  566.         Keyword argument _attributes: AppleEvent attribute dictionary
  567.         """
  568.         _code = 'MMPR'
  569.         _subcode = 'SDfP'
  570.  
  571.         if _arguments: raise TypeError, 'No optional args expected'
  572.         _arguments['----'] = _object
  573.  
  574.  
  575.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  576.                 _arguments, _attributes)
  577.         if _arguments.has_key('errn'):
  578.             raise aetools.Error, aetools.decodeerror(_arguments)
  579.         # XXXX Optionally decode result
  580.         if _arguments.has_key('----'):
  581.             return _arguments['----']
  582.  
  583.     _argmap_Set_Modification_Date = {
  584.         'to' : 'MDat',
  585.     }
  586.  
  587.     def Set_Modification_Date(self, _object, _attributes={}, **_arguments):
  588.         """Set Modification Date: Changes the internal modification date of the specified file(s)
  589.         Required argument: List of files
  590.         Keyword argument to: undocumented, typecode 'ldt '
  591.         Keyword argument _attributes: AppleEvent attribute dictionary
  592.         Returns: Error code for each modified file
  593.         """
  594.         _code = 'MMPR'
  595.         _subcode = 'SMod'
  596.  
  597.         aetools.keysubst(_arguments, self._argmap_Set_Modification_Date)
  598.         _arguments['----'] = _object
  599.  
  600.  
  601.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  602.                 _arguments, _attributes)
  603.         if _arguments.has_key('errn'):
  604.             raise aetools.Error, aetools.decodeerror(_arguments)
  605.         # XXXX Optionally decode result
  606.         if _arguments.has_key('----'):
  607.             return _arguments['----']
  608.  
  609.     _argmap_Set_Preferences = {
  610.         'of_panel' : 'PNam',
  611.         'to' : 'PRec',
  612.     }
  613.  
  614.     def Set_Preferences(self, _no_object=None, _attributes={}, **_arguments):
  615.         """Set Preferences: Set the preferences for the current project
  616.         Keyword argument of_panel: Name of the preference panel
  617.         Keyword argument to: Preferences settings
  618.         Keyword argument _attributes: AppleEvent attribute dictionary
  619.         """
  620.         _code = 'MMPR'
  621.         _subcode = 'Pref'
  622.  
  623.         aetools.keysubst(_arguments, self._argmap_Set_Preferences)
  624.         if _no_object != None: raise TypeError, 'No direct arg expected'
  625.  
  626.  
  627.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  628.                 _arguments, _attributes)
  629.         if _arguments.has_key('errn'):
  630.             raise aetools.Error, aetools.decodeerror(_arguments)
  631.         # XXXX Optionally decode result
  632.         if _arguments.has_key('----'):
  633.             return _arguments['----']
  634.  
  635.     _argmap_Set_Project_File = {
  636.         'to' : 'SrcS',
  637.     }
  638.  
  639.     def Set_Project_File(self, _object, _attributes={}, **_arguments):
  640.         """Set Project File: Changes the settings for a given file in the project.
  641.         Required argument: The name of the file
  642.         Keyword argument to: The new settings for the file
  643.         Keyword argument _attributes: AppleEvent attribute dictionary
  644.         """
  645.         _code = 'MMPR'
  646.         _subcode = 'SFil'
  647.  
  648.         aetools.keysubst(_arguments, self._argmap_Set_Project_File)
  649.         _arguments['----'] = _object
  650.  
  651.  
  652.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  653.                 _arguments, _attributes)
  654.         if _arguments.has_key('errn'):
  655.             raise aetools.Error, aetools.decodeerror(_arguments)
  656.         # XXXX Optionally decode result
  657.         if _arguments.has_key('----'):
  658.             return _arguments['----']
  659.  
  660.     _argmap_Set_Segment = {
  661.         'to' : 'Segm',
  662.     }
  663.  
  664.     def Set_Segment(self, _object, _attributes={}, **_arguments):
  665.         """Set Segment: Changes the name and attributes of a segment.
  666.         Required argument: The segment to change
  667.         Keyword argument to: The new name and attributes for the segment.
  668.         Keyword argument _attributes: AppleEvent attribute dictionary
  669.         """
  670.         _code = 'MMPR'
  671.         _subcode = 'SSeg'
  672.  
  673.         aetools.keysubst(_arguments, self._argmap_Set_Segment)
  674.         _arguments['----'] = _object
  675.  
  676.  
  677.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  678.                 _arguments, _attributes)
  679.         if _arguments.has_key('errn'):
  680.             raise aetools.Error, aetools.decodeerror(_arguments)
  681.         # XXXX Optionally decode result
  682.         if _arguments.has_key('----'):
  683.             return _arguments['----']
  684.  
  685.     def Touch(self, _object, _attributes={}, **_arguments):
  686.         """Touch: Force recompilation of the specified file(s)
  687.         Required argument: List of files to compile
  688.         Keyword argument _attributes: AppleEvent attribute dictionary
  689.         Returns: Error code for each file touched
  690.         """
  691.         _code = 'MMPR'
  692.         _subcode = 'Toch'
  693.  
  694.         if _arguments: raise TypeError, 'No optional args expected'
  695.         _arguments['----'] = _object
  696.  
  697.  
  698.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  699.                 _arguments, _attributes)
  700.         if _arguments.has_key('errn'):
  701.             raise aetools.Error, aetools.decodeerror(_arguments)
  702.         # XXXX Optionally decode result
  703.         if _arguments.has_key('----'):
  704.             return _arguments['----']
  705.  
  706.     _argmap_Update_Project = {
  707.         'ExternalEditor' : 'Errs',
  708.     }
  709.  
  710.     def Update_Project(self, _no_object=None, _attributes={}, **_arguments):
  711.         """Update Project: Update the current project
  712.         Keyword argument ExternalEditor: Should the contents of the message window be returned to the caller?
  713.         Keyword argument _attributes: AppleEvent attribute dictionary
  714.         Returns: Errors that occurred while updating the project
  715.         """
  716.         _code = 'MMPR'
  717.         _subcode = 'UpdP'
  718.  
  719.         aetools.keysubst(_arguments, self._argmap_Update_Project)
  720.         if _no_object != None: raise TypeError, 'No direct arg expected'
  721.  
  722.  
  723.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  724.                 _arguments, _attributes)
  725.         if _arguments.has_key('errn'):
  726.             raise aetools.Error, aetools.decodeerror(_arguments)
  727.         # XXXX Optionally decode result
  728.         if _arguments.has_key('----'):
  729.             return _arguments['----']
  730.  
  731.     def Open_browser(self, _object, _attributes={}, **_arguments):
  732.         """Open browser: Display a class, member function, or data member object in a single class browser window
  733.         Required argument: an AE object reference
  734.         Keyword argument _attributes: AppleEvent attribute dictionary
  735.         """
  736.         _code = 'MMPR'
  737.         _subcode = 'Brow'
  738.  
  739.         if _arguments: raise TypeError, 'No optional args expected'
  740.         _arguments['----'] = _object
  741.  
  742.  
  743.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  744.                 _arguments, _attributes)
  745.         if _arguments.has_key('errn'):
  746.             raise aetools.Error, aetools.decodeerror(_arguments)
  747.         # XXXX Optionally decode result
  748.         if _arguments.has_key('----'):
  749.             return _arguments['----']
  750.  
  751.     def Get_nonsimple_classes(self, _no_object=None, _attributes={}, **_arguments):
  752.         """Get nonsimple classes: Returns an alphabetical list of classes with member functions, bases classes, or subclasses
  753.         Keyword argument _attributes: AppleEvent attribute dictionary
  754.         Returns: undocumented, typecode 'list'
  755.         """
  756.         _code = 'MMPR'
  757.         _subcode = 'NsCl'
  758.  
  759.         if _arguments: raise TypeError, 'No optional args expected'
  760.         if _no_object != None: raise TypeError, 'No direct arg expected'
  761.  
  762.  
  763.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  764.                 _arguments, _attributes)
  765.         if _arguments.has_key('errn'):
  766.             raise aetools.Error, aetools.decodeerror(_arguments)
  767.         # XXXX Optionally decode result
  768.         if _arguments.has_key('----'):
  769.             return _arguments['----']
  770.  
  771.     def Get_member_function_names(self, _object, _attributes={}, **_arguments):
  772.         """Get member function names: Returns a list containing the names of all the member functions of a class object
  773.         Required argument: must be a class object
  774.         Keyword argument _attributes: AppleEvent attribute dictionary
  775.         Returns: undocumented, typecode 'list'
  776.         """
  777.         _code = 'MMPR'
  778.         _subcode = 'MbFN'
  779.  
  780.         if _arguments: raise TypeError, 'No optional args expected'
  781.         _arguments['----'] = _object
  782.  
  783.  
  784.         _reply, _arguments, _attributes = self.send(_code, _subcode,
  785.                 _arguments, _attributes)
  786.         if _arguments.has_key('errn'):
  787.             raise aetools.Error, aetools.decodeerror(_arguments)
  788.         # XXXX Optionally decode result
  789.         if _arguments.has_key('----'):
  790.             return _arguments['----']
  791.  
  792.  
  793. class Access_Paths(aetools.ComponentItem):
  794.     """Access Paths - Contains the definitions of a project’s access (search) paths."""
  795.     want = 'PATH'
  796. class User_Paths(aetools.NProperty):
  797.     """User Paths - To add an access path for the source files."""
  798.     which = 'PA01'
  799.     want = 'PInf'
  800. class System_Paths(aetools.NProperty):
  801.     """System Paths - To add an access path for the include files. (Not supported in Pascal)"""
  802.     which = 'PA03'
  803.     want = 'PInf'
  804. class Always_Full_Search(aetools.NProperty):
  805.     """Always Full Search - To force the compiler to search for system includes like it searches for user includes."""
  806.     which = 'PA02'
  807.     want = 'bool'
  808.  
  809. class Editor(aetools.ComponentItem):
  810.     """Editor - """
  811.     want = 'EDTR'
  812. class Flash_delay(aetools.NProperty):
  813.     """Flash delay - The amount of time, in sixtieths of a second, the editor highlights a matching bracket."""
  814.     which = 'ED01'
  815.     want = 'long'
  816. class Dynamic_scroll(aetools.NProperty):
  817.     """Dynamic scroll - Display a window’s contents as you move the scroll box."""
  818.     which = 'ED02'
  819.     want = 'bool'
  820. class Balance(aetools.NProperty):
  821.     """Balance - Flash the matching opening bracket when you type a closing bracket."""
  822.     which = 'ED03'
  823.     want = 'bool'
  824. class Use_Drag__26__Drop_Editing(aetools.NProperty):
  825.     """Use Drag & Drop Editing - Use Drag & Drop text editing."""
  826.     which = 'ED04'
  827.     want = 'bool'
  828. class Save_on_update(aetools.NProperty):
  829.     """Save on update - Save all editor windows automatically when you choose the Update command."""
  830.     which = 'ED05'
  831.     want = 'bool'
  832. class Sort_Function_Popup(aetools.NProperty):
  833.     """Sort Function Popup - """
  834.     which = 'ED06'
  835.     want = 'bool'
  836. class Use_Multiple_Undo(aetools.NProperty):
  837.     """Use Multiple Undo - """
  838.     which = 'ED07'
  839.     want = 'bool'
  840. class Remember_font(aetools.NProperty):
  841.     """Remember font - Display a source file with its own font settings."""
  842.     which = 'ED08'
  843.     want = 'bool'
  844. class Remember_selection(aetools.NProperty):
  845.     """Remember selection - Restore the previous selection in a file when you open it."""
  846.     which = 'ED09'
  847.     want = 'bool'
  848. class Remember_window(aetools.NProperty):
  849.     """Remember window - Restore the last size and position for a source file window when you open it."""
  850.     which = 'ED10'
  851.     want = 'bool'
  852. class Main_Text_Color(aetools.NProperty):
  853.     """Main Text Color - Main, default, color for text."""
  854.     which = 'ED12'
  855.     want = 'cRGB'
  856. class Background_Color(aetools.NProperty):
  857.     """Background Color - Color of the background of editor windows."""
  858.     which = 'ED13'
  859.     want = 'cRGB'
  860. class Context_Popup_Delay(aetools.NProperty):
  861.     """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."""
  862.     which = 'ED14'
  863.     want = 'bool'
  864.  
  865. class Syntax_Coloring(aetools.ComponentItem):
  866.     """Syntax Coloring - """
  867.     want = 'SNTX'
  868. class Syntax_coloring(aetools.NProperty):
  869.     """Syntax coloring - Mark keywords and comments with color."""
  870.     which = 'GH01'
  871.     want = 'bool'
  872. class Comment_color(aetools.NProperty):
  873.     """Comment color - The color for comments."""
  874.     which = 'GH02'
  875.     want = 'cRGB'
  876. class Keyword_color(aetools.NProperty):
  877.     """Keyword color - The color for language keywords."""
  878.     which = 'GH03'
  879.     want = 'cRGB'
  880. class String_color(aetools.NProperty):
  881.     """String color - The color for strings."""
  882.     which = 'GH04'
  883.     want = 'cRGB'
  884. class Custom_color_1(aetools.NProperty):
  885.     """Custom color 1 - The color for the first set of custom keywords."""
  886.     which = 'GH05'
  887.     want = 'cRGB'
  888. class Custom_color_2(aetools.NProperty):
  889.     """Custom color 2 - The color for the second set custom keywords."""
  890.     which = 'GH06'
  891.     want = 'cRGB'
  892. class Custom_color_3(aetools.NProperty):
  893.     """Custom color 3 - The color for the third set of custom keywords."""
  894.     which = 'GH07'
  895.     want = 'cRGB'
  896. class Custom_color_4(aetools.NProperty):
  897.     """Custom color 4 - The color for the fourth set of custom keywords."""
  898.     which = 'GH08'
  899.     want = 'cRGB'
  900.  
  901. class Custom_Keywords(aetools.ComponentItem):
  902.     """Custom Keywords - """
  903.     want = 'CUKW'
  904. class Custom_color_1(aetools.NProperty):
  905.     """Custom color 1 - The color for the first set of custom keywords."""
  906.     which = 'KW01'
  907.     want = 'cRGB'
  908. class Custom_color_2(aetools.NProperty):
  909.     """Custom color 2 - The color for the second set custom keywords."""
  910.     which = 'KW02'
  911.     want = 'cRGB'
  912. class Custom_color_3(aetools.NProperty):
  913.     """Custom color 3 - The color for the third set of custom keywords."""
  914.     which = 'KW03'
  915.     want = 'cRGB'
  916. class Custom_color_4(aetools.NProperty):
  917.     """Custom color 4 - The color for the fourth set of custom keywords."""
  918.     which = 'KW04'
  919.     want = 'cRGB'
  920.  
  921. class Browser_Coloring(aetools.ComponentItem):
  922.     """Browser Coloring - Colors for Browser symbols."""
  923.     want = 'BRKW'
  924. class Browser_Keywords(aetools.NProperty):
  925.     """Browser Keywords - Mark Browser symbols with color."""
  926.     which = 'BW00'
  927.     want = 'bool'
  928. class Classes_Color(aetools.NProperty):
  929.     """Classes Color - The color for classes."""
  930.     which = 'BW01'
  931.     want = 'cRGB'
  932. class Constants_Color(aetools.NProperty):
  933.     """Constants Color - The color for constants."""
  934.     which = 'BW02'
  935.     want = 'cRGB'
  936. class Enums_Color(aetools.NProperty):
  937.     """Enums Color - The color for enums."""
  938.     which = 'BW03'
  939.     want = 'cRGB'
  940. class Functions_Color(aetools.NProperty):
  941.     """Functions Color - Set color for functions."""
  942.     which = 'BW04'
  943.     want = 'cRGB'
  944. class Globals_Color(aetools.NProperty):
  945.     """Globals Color - The color for globals"""
  946.     which = 'BW05'
  947.     want = 'cRGB'
  948. class Macros_Color(aetools.NProperty):
  949.     """Macros Color - The color for macros."""
  950.     which = 'BW06'
  951.     want = 'cRGB'
  952. class Templates_Color(aetools.NProperty):
  953.     """Templates Color - Set color for templates."""
  954.     which = 'BW07'
  955.     want = 'cRGB'
  956. class Typedefs_Color(aetools.NProperty):
  957.     """Typedefs Color - The color for typedefs."""
  958.     which = 'BW08'
  959.     want = 'cRGB'
  960.  
  961. class Error_Information(aetools.ComponentItem):
  962.     """Error Information - Describes a single error or warning from the compiler or the linker."""
  963.     want = 'ErrM'
  964. class kind(aetools.NProperty):
  965.     """kind - The type of error or warning."""
  966.     which = 'ErrT'
  967.     want = 'ErrT'
  968. class message(aetools.NProperty):
  969.     """message - The error or warning message."""
  970.     which = 'ErrS'
  971.     want = 'TEXT'
  972. class disk_file(aetools.NProperty):
  973.     """disk file - The file where the error occurred.  May not be returned for certain kinds of errors (eg, link errors)."""
  974.     which = 'file'
  975.     want = 'fss '
  976. class lineNumber(aetools.NProperty):
  977.     """lineNumber - The line in the file where the error occurred.  May not be returned for certain kinds of errors (eg, link errors)."""
  978.     which = 'ErrL'
  979.     want = 'long'
  980.  
  981. class Extras(aetools.ComponentItem):
  982.     """Extras - """
  983.     want = 'GXTR'
  984. class Completion_sound(aetools.NProperty):
  985.     """Completion sound - Play a sound when finished a Bring Up To Date or Make command."""
  986.     which = 'EX01'
  987.     want = 'bool'
  988. class Success_sound(aetools.NProperty):
  989.     """Success sound - The sound CodeWarrior plays when it successfully finishes a Bring Up To Date or Make command."""
  990.     which = 'EX02'
  991.     want = 'TEXT'
  992. class Failure_sound(aetools.NProperty):
  993.     """Failure sound - The sound CodeWarrior plays when it cannot finish a Bring Up To Date or Make command."""
  994.     which = 'EX03'
  995.     want = 'TEXT'
  996. class Full_screen_zoom(aetools.NProperty):
  997.     """Full screen zoom - Zoom windows to the full screen width."""
  998.     which = 'EX07'
  999.     want = 'bool'
  1000. class External_reference(aetools.NProperty):
  1001.     """External reference - Which on-line function reference to use."""
  1002.     which = 'EX08'
  1003.     want = 'RefP'
  1004. class Use_Script_Menu(aetools.NProperty):
  1005.     """Use Script Menu - Controls the use of the AppleScript menu"""
  1006.     which = 'EX12'
  1007.     want = 'bool'
  1008. class Use_Editor_Extensions(aetools.NProperty):
  1009.     """Use Editor Extensions - Controls the use of the Editor Extensions menu"""
  1010.     which = 'EX10'
  1011.     want = 'bool'
  1012. class Use_External_Editor(aetools.NProperty):
  1013.     """Use External Editor - Controls whether CodeWarrior uses its own integrated editor or an external application for editing text files."""
  1014.     which = 'EX11'
  1015.     want = 'bool'
  1016. class Honor_Projector_State_for_Projects(aetools.NProperty):
  1017.     """Honor Projector State for Projects - Controls whether CodeWarrior opens files set to read-only by Projector."""
  1018.     which = 'EX13'
  1019.     want = 'bool'
  1020.  
  1021. class Build_Extras(aetools.ComponentItem):
  1022.     """Build Extras - """
  1023.     want = 'LXTR'
  1024. class Browser_active(aetools.NProperty):
  1025.     """Browser active - Allow the collection of browser information."""
  1026.     which = 'EX09'
  1027.     want = 'bool'
  1028. class Modification_date_caching(aetools.NProperty):
  1029.     """Modification date caching - """
  1030.     which = 'EX04'
  1031.     want = 'bool'
  1032. class Multiprocessing_Compilation(aetools.NProperty):
  1033.     """Multiprocessing Compilation - """
  1034.     which = 'EX14'
  1035.     want = 'bool'
  1036. class Show_ToolServer_Menu(aetools.NProperty):
  1037.     """Show ToolServer Menu - """
  1038.     which = 'EX18'
  1039.     want = 'bool'
  1040. class Enable_Automatic_Toolbar_Help(aetools.NProperty):
  1041.     """Enable Automatic Toolbar Help - """
  1042.     which = 'EX19'
  1043.     want = 'bool'
  1044. class Include_File_Cache_Size__28_K_29_(aetools.NProperty):
  1045.     """Include File Cache Size (K) - """
  1046.     which = 'EX15'
  1047.     want = 'long'
  1048. class Recent_Documents(aetools.NProperty):
  1049.     """Recent Documents - """
  1050.     which = 'EX16'
  1051.     want = 'shor'
  1052. class Recent_Projects(aetools.NProperty):
  1053.     """Recent Projects - """
  1054.     which = 'EX17'
  1055.     want = 'shor'
  1056.  
  1057. class File_Mappings(aetools.ComponentItem):
  1058.     """File Mappings - Mappings of extensions & file types to compilers"""
  1059.     want = 'FLMP'
  1060. class mappings(aetools.NProperty):
  1061.     """mappings - """
  1062.     which = 'FMps'
  1063.     want = 'FMap'
  1064.  
  1065. class Font(aetools.ComponentItem):
  1066.     """Font - """
  1067.     want = 'mFNT'
  1068. class Auto_indent(aetools.NProperty):
  1069.     """Auto indent - Indent new lines automatically."""
  1070.     which = 'FN01'
  1071.     want = 'bool'
  1072. class Tab_size(aetools.NProperty):
  1073.     """Tab size - """
  1074.     which = 'FN02'
  1075.     want = 'shor'
  1076. class Text_font(aetools.NProperty):
  1077.     """Text font - The font used in editing windows."""
  1078.     which = 'ptxf'
  1079.     want = 'TEXT'
  1080. class Text_size(aetools.NProperty):
  1081.     """Text size - The size of the text in an editing window."""
  1082.     which = 'ptps'
  1083.     want = 'shor'
  1084.  
  1085. class Function_Information(aetools.ComponentItem):
  1086.     """Function Information - Describes the location of any function or global data definition within the current project."""
  1087.     want = 'FDef'
  1088. # repeated property disk_file The location on disk of the file containing the definition.
  1089. # repeated property lineNumber The line number where the definition begins.
  1090.  
  1091. class Path_Information(aetools.ComponentItem):
  1092.     """Path Information - Contains all of the parameters that describe an access path."""
  1093.     want = 'PInf'
  1094. class name(aetools.NProperty):
  1095.     """name - The actual path name."""
  1096.     which = 'pnam'
  1097.     want = 'TEXT'
  1098. class recursive(aetools.NProperty):
  1099.     """recursive - Will the path be searched recursively?  (Default is true)"""
  1100.     which = 'Recu'
  1101.     want = 'bool'
  1102. class origin(aetools.NProperty):
  1103.     """origin - """
  1104.     which = 'Orig'
  1105.     want = 'PPrm'
  1106.  
  1107. class ProjectFile(aetools.ComponentItem):
  1108.     """ProjectFile - A file contained in a project"""
  1109.     want = 'SrcF'
  1110. class filetype(aetools.NProperty):
  1111.     """filetype - What kind of file is this ?"""
  1112.     which = 'SrcT'
  1113.     want = 'SrcT'
  1114. # repeated property name The file’s name
  1115. # repeated property disk_file The file’s location on disk
  1116. class codesize(aetools.NProperty):
  1117.     """codesize - The size of this file’s code."""
  1118.     which = 'CSiz'
  1119.     want = 'long'
  1120. class datasize(aetools.NProperty):
  1121.     """datasize - The size of this file’s data."""
  1122.     which = 'DSiz'
  1123.     want = 'long'
  1124. class up_to_date(aetools.NProperty):
  1125.     """up to date - Has the file been compiled since its last modification ?"""
  1126.     which = 'UpTD'
  1127.     want = 'bool'
  1128. class symbols(aetools.NProperty):
  1129.     """symbols - Are debugging symbols generated for this file ?"""
  1130.     which = 'SymG'
  1131.     want = 'bool'
  1132. class weak_link(aetools.NProperty):
  1133.     """weak link - Is this file imported weakly into the project ? [PowerPC only]"""
  1134.     which = 'Weak'
  1135.     want = 'bool'
  1136. class initialize_before(aetools.NProperty):
  1137.     """initialize before - Intiailize the shared library before the main application."""
  1138.     which = 'Bfor'
  1139.     want = 'bool'
  1140. class includes(aetools.NProperty):
  1141.     """includes - """
  1142.     which = 'IncF'
  1143.     want = 'fss '
  1144.  
  1145. class Segment(aetools.ComponentItem):
  1146.     """Segment - A segment or group in the project"""
  1147.     want = 'Seg '
  1148. # repeated property name 
  1149. class filecount(aetools.NProperty):
  1150.     """filecount - """
  1151.     which = 'NumF'
  1152.     want = 'shor'
  1153. class preloaded(aetools.NProperty):
  1154.     """preloaded - Is the segment preloaded ? [68K only]"""
  1155.     which = 'Prel'
  1156.     want = 'bool'
  1157. class protected(aetools.NProperty):
  1158.     """protected - Is the segment protected ? [68K only]"""
  1159.     which = 'Prot'
  1160.     want = 'bool'
  1161. class locked(aetools.NProperty):
  1162.     """locked - Is the segment locked ? [68K only]"""
  1163.     which = 'PLck'
  1164.     want = 'bool'
  1165. class purgeable(aetools.NProperty):
  1166.     """purgeable - Is the segment purgeable ? [68K only]"""
  1167.     which = 'Purg'
  1168.     want = 'bool'
  1169. class system_heap(aetools.NProperty):
  1170.     """system heap - Is the segment loaded into the system heap ? [68K only]"""
  1171.     which = 'SysH'
  1172.     want = 'bool'
  1173.  
  1174. class Target_Settings(aetools.ComponentItem):
  1175.     """Target Settings - Contains the definitions of a project’s target."""
  1176.     want = 'TARG'
  1177. class Linker(aetools.NProperty):
  1178.     """Linker - The name of the current linker."""
  1179.     which = 'TA01'
  1180.     want = 'TEXT'
  1181. class Post_Linker(aetools.NProperty):
  1182.     """Post Linker - """
  1183.     which = 'TA09'
  1184.     want = 'TEXT'
  1185. class Target_Name(aetools.NProperty):
  1186.     """Target Name - """
  1187.     which = 'TA10'
  1188.     want = 'TEXT'
  1189. class Output_Directory_Path(aetools.NProperty):
  1190.     """Output Directory Path - """
  1191.     which = 'TA11'
  1192.     want = 'TEXT'
  1193. class Output_Directory_Origin(aetools.NProperty):
  1194.     """Output Directory Origin - """
  1195.     which = 'TA12'
  1196.     want = 'PPrm'
  1197.  
  1198. class File_Mapping(aetools.ComponentItem):
  1199.     """File Mapping - """
  1200.     want = 'FMap'
  1201. class File_Type(aetools.NProperty):
  1202.     """File Type - """
  1203.     which = 'PR04'
  1204.     want = 'TEXT'
  1205. class Extension(aetools.NProperty):
  1206.     """Extension - """
  1207.     which = 'TA02'
  1208.     want = 'TEXT'
  1209. class Precompiled(aetools.NProperty):
  1210.     """Precompiled - """
  1211.     which = 'TA03'
  1212.     want = 'bool'
  1213. class Resource_File(aetools.NProperty):
  1214.     """Resource File - """
  1215.     which = 'TA04'
  1216.     want = 'bool'
  1217. class Launchable(aetools.NProperty):
  1218.     """Launchable - """
  1219.     which = 'TA05'
  1220.     want = 'bool'
  1221. class Ignored_by_Make(aetools.NProperty):
  1222.     """Ignored by Make - """
  1223.     which = 'TA06'
  1224.     want = 'bool'
  1225. class Compiler(aetools.NProperty):
  1226.     """Compiler - """
  1227.     which = 'TA07'
  1228.     want = 'TEXT'
  1229.  
  1230. class _class(aetools.ComponentItem):
  1231.     """class - A class, struct, or record type in the current project"""
  1232.     want = 'Clas'
  1233. # repeated property name 
  1234. class language(aetools.NProperty):
  1235.     """language - Implementation language of this class"""
  1236.     which = 'Lang'
  1237.     want = 'Lang'
  1238. class declaration_file(aetools.NProperty):
  1239.     """declaration file - Source file containing the class declaration"""
  1240.     which = 'DcFl'
  1241.     want = 'fss '
  1242. class declaration_start_offset(aetools.NProperty):
  1243.     """declaration start offset - Start of class declaration source code"""
  1244.     which = 'DcSt'
  1245.     want = 'long'
  1246. class declaration_end_offset(aetools.NProperty):
  1247.     """declaration end offset - End of class declaration"""
  1248.     which = 'DcEn'
  1249.     want = 'long'
  1250. class subclasses(aetools.NProperty):
  1251.     """subclasses - the immediate subclasses of this class"""
  1252.     which = 'SubC'
  1253.     want = 'Clas'
  1254. class all_subclasses(aetools.NProperty):
  1255.     """all subclasses - the classes directly or indirectly derived from this class"""
  1256.     which = 'SubA'
  1257.     want = 'Clas'
  1258. #        element 'BsCl' as ['indx']
  1259. #        element 'MbFn' as ['indx', 'name']
  1260. #        element 'DtMb' as ['indx', 'name']
  1261.  
  1262. classes = _class
  1263.  
  1264. class member_function(aetools.ComponentItem):
  1265.     """member function - A class member function or method."""
  1266.     want = 'MbFn'
  1267. # repeated property name 
  1268. class access(aetools.NProperty):
  1269.     """access - """
  1270.     which = 'Acce'
  1271.     want = 'Acce'
  1272. class virtual(aetools.NProperty):
  1273.     """virtual - """
  1274.     which = 'Virt'
  1275.     want = 'bool'
  1276. class static(aetools.NProperty):
  1277.     """static - """
  1278.     which = 'Stat'
  1279.     want = 'bool'
  1280. # repeated property declaration_file Source file containing the member function declaration
  1281. # repeated property declaration_start_offset start of member function declaration source code
  1282. # repeated property declaration_end_offset end of member function declaration
  1283. class implementation_file(aetools.NProperty):
  1284.     """implementation file - Source file containing the member function definition"""
  1285.     which = 'DfFl'
  1286.     want = 'fss '
  1287. class implementation_start_offset(aetools.NProperty):
  1288.     """implementation start offset - start of member function definition source code"""
  1289.     which = 'DfSt'
  1290.     want = 'long'
  1291. class implementation_end_offset(aetools.NProperty):
  1292.     """implementation end offset - end of member function definition"""
  1293.     which = 'DfEn'
  1294.     want = 'long'
  1295.  
  1296. member_functions = member_function
  1297.  
  1298. class data_member(aetools.ComponentItem):
  1299.     """data member - A class data member or field"""
  1300.     want = 'DtMb'
  1301. # repeated property name 
  1302. # repeated property access 
  1303. # repeated property static 
  1304. # repeated property declaration_start_offset 
  1305. # repeated property declaration_end_offset 
  1306.  
  1307. data_members = data_member
  1308.  
  1309. class base_class(aetools.ComponentItem):
  1310.     """base class - A base class or super class of a class"""
  1311.     want = 'BsCl'
  1312. class _class(aetools.NProperty):
  1313.     """class - The class object corresponding to this base class"""
  1314.     which = 'Clas'
  1315.     want = 'obj '
  1316. # repeated property access 
  1317. # repeated property virtual 
  1318.  
  1319. base_classes = base_class
  1320.  
  1321. class browser_catalog(aetools.ComponentItem):
  1322.     """browser catalog - The browser symbol catalog for the current project"""
  1323.     want = 'Cata'
  1324. #        element 'Clas' as ['indx', 'name']
  1325.  
  1326. class VCS_Setup(aetools.ComponentItem):
  1327.     """VCS Setup - The version control system perferences."""
  1328.     want = 'VCSs'
  1329. class VCS_Active(aetools.NProperty):
  1330.     """VCS Active - Use Version Control"""
  1331.     which = 'VC01'
  1332.     want = 'bool'
  1333. class Connection_Method(aetools.NProperty):
  1334.     """Connection Method - Name of Version Control System to use."""
  1335.     which = 'VC02'
  1336.     want = 'TEXT'
  1337. class Username(aetools.NProperty):
  1338.     """Username - The user name for the VCS."""
  1339.     which = 'VC03'
  1340.     want = 'TEXT'
  1341. class Password(aetools.NProperty):
  1342.     """Password - The password for the VCS."""
  1343.     which = 'VC04'
  1344.     want = 'TEXT'
  1345. class Auto_Connect(aetools.NProperty):
  1346.     """Auto Connect - Automatically connect to database when starting."""
  1347.     which = 'VC05'
  1348.     want = 'bool'
  1349. class Store_Password(aetools.NProperty):
  1350.     """Store Password - Store the password."""
  1351.     which = 'VC06'
  1352.     want = 'bool'
  1353. class Always_Prompt(aetools.NProperty):
  1354.     """Always Prompt - Always show login dialog"""
  1355.     which = 'VC07'
  1356.     want = 'bool'
  1357. class Mount_Volume(aetools.NProperty):
  1358.     """Mount Volume - Attempt to mount the database volume if it isn't available."""
  1359.     which = 'VC08'
  1360.     want = 'bool'
  1361. class Database_Path(aetools.NProperty):
  1362.     """Database Path - Path to the VCS database."""
  1363.     which = 'VC09'
  1364.     want = 'PInf'
  1365. class Local_Root(aetools.NProperty):
  1366.     """Local Root - Path to the local directory to checkout to."""
  1367.     which = 'VC10'
  1368.     want = 'PInf'
  1369. Access_Paths._propdict = {
  1370.     'User_Paths' : User_Paths,
  1371.     'System_Paths' : System_Paths,
  1372.     'Always_Full_Search' : Always_Full_Search,
  1373. }
  1374. Access_Paths._elemdict = {
  1375. }
  1376. Editor._propdict = {
  1377.     'Flash_delay' : Flash_delay,
  1378.     'Dynamic_scroll' : Dynamic_scroll,
  1379.     'Balance' : Balance,
  1380.     'Use_Drag__26__Drop_Editing' : Use_Drag__26__Drop_Editing,
  1381.     'Save_on_update' : Save_on_update,
  1382.     'Sort_Function_Popup' : Sort_Function_Popup,
  1383.     'Use_Multiple_Undo' : Use_Multiple_Undo,
  1384.     'Remember_font' : Remember_font,
  1385.     'Remember_selection' : Remember_selection,
  1386.     'Remember_window' : Remember_window,
  1387.     'Main_Text_Color' : Main_Text_Color,
  1388.     'Background_Color' : Background_Color,
  1389.     'Context_Popup_Delay' : Context_Popup_Delay,
  1390. }
  1391. Editor._elemdict = {
  1392. }
  1393. Syntax_Coloring._propdict = {
  1394.     'Syntax_coloring' : Syntax_coloring,
  1395.     'Comment_color' : Comment_color,
  1396.     'Keyword_color' : Keyword_color,
  1397.     'String_color' : String_color,
  1398.     'Custom_color_1' : Custom_color_1,
  1399.     'Custom_color_2' : Custom_color_2,
  1400.     'Custom_color_3' : Custom_color_3,
  1401.     'Custom_color_4' : Custom_color_4,
  1402. }
  1403. Syntax_Coloring._elemdict = {
  1404. }
  1405. Custom_Keywords._propdict = {
  1406.     'Custom_color_1' : Custom_color_1,
  1407.     'Custom_color_2' : Custom_color_2,
  1408.     'Custom_color_3' : Custom_color_3,
  1409.     'Custom_color_4' : Custom_color_4,
  1410. }
  1411. Custom_Keywords._elemdict = {
  1412. }
  1413. Browser_Coloring._propdict = {
  1414.     'Browser_Keywords' : Browser_Keywords,
  1415.     'Classes_Color' : Classes_Color,
  1416.     'Constants_Color' : Constants_Color,
  1417.     'Enums_Color' : Enums_Color,
  1418.     'Functions_Color' : Functions_Color,
  1419.     'Globals_Color' : Globals_Color,
  1420.     'Macros_Color' : Macros_Color,
  1421.     'Templates_Color' : Templates_Color,
  1422.     'Typedefs_Color' : Typedefs_Color,
  1423. }
  1424. Browser_Coloring._elemdict = {
  1425. }
  1426. Error_Information._propdict = {
  1427.     'kind' : kind,
  1428.     'message' : message,
  1429.     'disk_file' : disk_file,
  1430.     'lineNumber' : lineNumber,
  1431. }
  1432. Error_Information._elemdict = {
  1433. }
  1434. Extras._propdict = {
  1435.     'Completion_sound' : Completion_sound,
  1436.     'Success_sound' : Success_sound,
  1437.     'Failure_sound' : Failure_sound,
  1438.     'Full_screen_zoom' : Full_screen_zoom,
  1439.     'External_reference' : External_reference,
  1440.     'Use_Script_Menu' : Use_Script_Menu,
  1441.     'Use_Editor_Extensions' : Use_Editor_Extensions,
  1442.     'Use_External_Editor' : Use_External_Editor,
  1443.     'Honor_Projector_State_for_Projects' : Honor_Projector_State_for_Projects,
  1444. }
  1445. Extras._elemdict = {
  1446. }
  1447. Build_Extras._propdict = {
  1448.     'Browser_active' : Browser_active,
  1449.     'Modification_date_caching' : Modification_date_caching,
  1450.     'Multiprocessing_Compilation' : Multiprocessing_Compilation,
  1451.     'Show_ToolServer_Menu' : Show_ToolServer_Menu,
  1452.     'Enable_Automatic_Toolbar_Help' : Enable_Automatic_Toolbar_Help,
  1453.     'Include_File_Cache_Size__28_K_29_' : Include_File_Cache_Size__28_K_29_,
  1454.     'Recent_Documents' : Recent_Documents,
  1455.     'Recent_Projects' : Recent_Projects,
  1456. }
  1457. Build_Extras._elemdict = {
  1458. }
  1459. File_Mappings._propdict = {
  1460.     'mappings' : mappings,
  1461. }
  1462. File_Mappings._elemdict = {
  1463. }
  1464. Font._propdict = {
  1465.     'Auto_indent' : Auto_indent,
  1466.     'Tab_size' : Tab_size,
  1467.     'Text_font' : Text_font,
  1468.     'Text_size' : Text_size,
  1469. }
  1470. Font._elemdict = {
  1471. }
  1472. Function_Information._propdict = {
  1473.     'disk_file' : disk_file,
  1474.     'lineNumber' : lineNumber,
  1475. }
  1476. Function_Information._elemdict = {
  1477. }
  1478. Path_Information._propdict = {
  1479.     'name' : name,
  1480.     'recursive' : recursive,
  1481.     'origin' : origin,
  1482. }
  1483. Path_Information._elemdict = {
  1484. }
  1485. ProjectFile._propdict = {
  1486.     'filetype' : filetype,
  1487.     'name' : name,
  1488.     'disk_file' : disk_file,
  1489.     'codesize' : codesize,
  1490.     'datasize' : datasize,
  1491.     'up_to_date' : up_to_date,
  1492.     'symbols' : symbols,
  1493.     'weak_link' : weak_link,
  1494.     'initialize_before' : initialize_before,
  1495.     'includes' : includes,
  1496. }
  1497. ProjectFile._elemdict = {
  1498. }
  1499. Segment._propdict = {
  1500.     'name' : name,
  1501.     'filecount' : filecount,
  1502.     'preloaded' : preloaded,
  1503.     'protected' : protected,
  1504.     'locked' : locked,
  1505.     'purgeable' : purgeable,
  1506.     'system_heap' : system_heap,
  1507. }
  1508. Segment._elemdict = {
  1509. }
  1510. Target_Settings._propdict = {
  1511.     'Linker' : Linker,
  1512.     'Post_Linker' : Post_Linker,
  1513.     'Target_Name' : Target_Name,
  1514.     'Output_Directory_Path' : Output_Directory_Path,
  1515.     'Output_Directory_Origin' : Output_Directory_Origin,
  1516. }
  1517. Target_Settings._elemdict = {
  1518. }
  1519. File_Mapping._propdict = {
  1520.     'File_Type' : File_Type,
  1521.     'Extension' : Extension,
  1522.     'Precompiled' : Precompiled,
  1523.     'Resource_File' : Resource_File,
  1524.     'Launchable' : Launchable,
  1525.     'Ignored_by_Make' : Ignored_by_Make,
  1526.     'Compiler' : Compiler,
  1527. }
  1528. File_Mapping._elemdict = {
  1529. }
  1530. _class._propdict = {
  1531.     'name' : name,
  1532.     'language' : language,
  1533.     'declaration_file' : declaration_file,
  1534.     'declaration_start_offset' : declaration_start_offset,
  1535.     'declaration_end_offset' : declaration_end_offset,
  1536.     'subclasses' : subclasses,
  1537.     'all_subclasses' : all_subclasses,
  1538. }
  1539. _class._elemdict = {
  1540.     'base_class' : base_class,
  1541.     'member_function' : member_function,
  1542.     'data_member' : data_member,
  1543. }
  1544. member_function._propdict = {
  1545.     'name' : name,
  1546.     'access' : access,
  1547.     'virtual' : virtual,
  1548.     'static' : static,
  1549.     'declaration_file' : declaration_file,
  1550.     'declaration_start_offset' : declaration_start_offset,
  1551.     'declaration_end_offset' : declaration_end_offset,
  1552.     'implementation_file' : implementation_file,
  1553.     'implementation_start_offset' : implementation_start_offset,
  1554.     'implementation_end_offset' : implementation_end_offset,
  1555. }
  1556. member_function._elemdict = {
  1557. }
  1558. data_member._propdict = {
  1559.     'name' : name,
  1560.     'access' : access,
  1561.     'static' : static,
  1562.     'declaration_start_offset' : declaration_start_offset,
  1563.     'declaration_end_offset' : declaration_end_offset,
  1564. }
  1565. data_member._elemdict = {
  1566. }
  1567. base_class._propdict = {
  1568.     '_class' : _class,
  1569.     'access' : access,
  1570.     'virtual' : virtual,
  1571. }
  1572. base_class._elemdict = {
  1573. }
  1574. browser_catalog._propdict = {
  1575. }
  1576. browser_catalog._elemdict = {
  1577.     '_class' : _class,
  1578. }
  1579. VCS_Setup._propdict = {
  1580.     'VCS_Active' : VCS_Active,
  1581.     'Connection_Method' : Connection_Method,
  1582.     'Username' : Username,
  1583.     'Password' : Password,
  1584.     'Auto_Connect' : Auto_Connect,
  1585.     'Store_Password' : Store_Password,
  1586.     'Always_Prompt' : Always_Prompt,
  1587.     'Mount_Volume' : Mount_Volume,
  1588.     'Database_Path' : Database_Path,
  1589.     'Local_Root' : Local_Root,
  1590. }
  1591. VCS_Setup._elemdict = {
  1592. }
  1593. _Enum_savo = {
  1594.     'yes' : 'yes ',    # Save changes
  1595.     'no' : 'no  ',    # Do not save changes
  1596.     'ask' : 'ask ',    # Ask the user whether to save
  1597. }
  1598.  
  1599. _Enum_ErrT = {
  1600.     'information' : 'ErIn',    # 
  1601.     'compiler_warning' : 'ErCW',    # 
  1602.     'compiler_error' : 'ErCE',    # 
  1603.     'definition' : 'ErDf',    # 
  1604.     'linker_warning' : 'ErLW',    # 
  1605.     'linker_error' : 'ErLE',    # 
  1606.     'find_result' : 'ErFn',    # 
  1607.     'generic_error' : 'ErGn',    # 
  1608. }
  1609.  
  1610. _Enum_Mode = {
  1611.     'ReadWrite' : 'RdWr',    # The file is open with read/write privileges
  1612.     'ReadOnly' : 'Read',    # The file is open with read/only privileges
  1613.     'CheckedOut_ReadWrite' : 'CkRW',    # The file is checked out with read/write privileges
  1614.     'CheckedOut_ReadOnly' : 'CkRO',    # The file is checked out with read/only privileges
  1615.     'CheckedOut_ReadModify' : 'CkRM',    # The file is checked out with read/modify privileges
  1616.     'Locked' : 'Lock',    # The file is locked on disk
  1617.     'None' : 'None',    # The file is new
  1618. }
  1619.  
  1620. _Enum_SrcT = {
  1621.     'source' : 'FTxt',    # A source file (.c, .cp, .p, etc).
  1622.     'unknown' : 'FUnk',    # An unknown file type.
  1623. }
  1624.  
  1625. _Enum_PPrm = {
  1626.     'absolute' : 'Abso',    # An absolute path name, including volume name.
  1627.     'project_relative' : 'PRel',    # A path relative to the current project’s folder.
  1628.     'shell_relative' : 'SRel',    # A path relative to the CodeWarrior™ folder.
  1629.     'system_relative' : 'YRel',    # A path relative to the system folder
  1630. }
  1631.  
  1632. _Enum_RefP = {
  1633.     'Think_Reference' : 'DanR',    # 
  1634.     'QuickView' : 'ALTV',    # 
  1635. }
  1636.  
  1637. _Enum_Lang = {
  1638.     'C' : 'LC  ',    # 
  1639.     'C_2b__2b_' : 'LC++',    # 
  1640.     'Pascal' : 'LP  ',    # 
  1641.     'Object_Pascal' : 'LP++',    # 
  1642.     'Java' : 'LJav',    # 
  1643.     'Assembler' : 'LAsm',    # 
  1644.     'Unknown' : 'L?  ',    # 
  1645. }
  1646.  
  1647. _Enum_Acce = {
  1648.     'public' : 'Publ',    # 
  1649.     'protected' : 'Prot',    # 
  1650.     'private' : 'Priv',    # 
  1651. }
  1652.  
  1653. _Enum_Inte = {
  1654.     'never_interact' : 'eNvr',    # Never allow user interactions
  1655.     'interact_with_self' : 'eInS',    # Allow user interaction only when an AppleEvent is sent from within CodeWarrior
  1656.     'interact_with_local' : 'eInL',    # Allow user interaction when AppleEvents are sent from applications on the same machine (default)
  1657.     'interact_with_all' : 'eInA',    # Allow user interaction from both local and remote AppleEvents
  1658. }
  1659.  
  1660.  
  1661. #
  1662. # Indices of types declared in this module
  1663. #
  1664. _classdeclarations = {
  1665.     'LXTR' : Build_Extras,
  1666.     'Seg ' : Segment,
  1667.     'BsCl' : base_class,
  1668.     'PATH' : Access_Paths,
  1669.     'mFNT' : Font,
  1670.     'BRKW' : Browser_Coloring,
  1671.     'FLMP' : File_Mappings,
  1672.     'Cata' : browser_catalog,
  1673.     'SNTX' : Syntax_Coloring,
  1674.     'CUKW' : Custom_Keywords,
  1675.     'PInf' : Path_Information,
  1676.     'TARG' : Target_Settings,
  1677.     'FDef' : Function_Information,
  1678.     'EDTR' : Editor,
  1679.     'VCSs' : VCS_Setup,
  1680.     'ErrM' : Error_Information,
  1681.     'Clas' : _class,
  1682.     'SrcF' : ProjectFile,
  1683.     'GXTR' : Extras,
  1684.     'MbFn' : member_function,
  1685.     'DtMb' : data_member,
  1686.     'FMap' : File_Mapping,
  1687. }
  1688.  
  1689. _propdeclarations = {
  1690.     'CSiz' : codesize,
  1691.     'DcEn' : declaration_end_offset,
  1692.     'FMps' : mappings,
  1693.     'VC02' : Connection_Method,
  1694.     'VC03' : Username,
  1695.     'TA02' : Extension,
  1696.     'UpTD' : up_to_date,
  1697.     'VC07' : Always_Prompt,
  1698.     'Virt' : virtual,
  1699.     'VC05' : Auto_Connect,
  1700.     'VC08' : Mount_Volume,
  1701.     'VC09' : Database_Path,
  1702.     'VC06' : Store_Password,
  1703.     'PA02' : Always_Full_Search,
  1704.     'PA03' : System_Paths,
  1705.     'Clas' : _class,
  1706.     'PA01' : User_Paths,
  1707.     'TA09' : Post_Linker,
  1708.     'Lang' : language,
  1709.     'VC10' : Local_Root,
  1710.     'EX09' : Browser_active,
  1711.     'GH08' : Custom_color_4,
  1712.     'DfFl' : implementation_file,
  1713.     'GH06' : Custom_color_2,
  1714.     'GH07' : Custom_color_3,
  1715.     'GH04' : String_color,
  1716.     'GH05' : Custom_color_1,
  1717.     'KW01' : Custom_color_1,
  1718.     'GH03' : Keyword_color,
  1719.     'KW03' : Custom_color_3,
  1720.     'KW02' : Custom_color_2,
  1721.     'BW02' : Constants_Color,
  1722.     'BW03' : Enums_Color,
  1723.     'BW00' : Browser_Keywords,
  1724.     'BW01' : Classes_Color,
  1725.     'BW06' : Macros_Color,
  1726.     'BW07' : Templates_Color,
  1727.     'BW04' : Functions_Color,
  1728.     'pnam' : name,
  1729.     'DfSt' : implementation_start_offset,
  1730.     'BW08' : Typedefs_Color,
  1731.     'PR04' : File_Type,
  1732.     'EX04' : Modification_date_caching,
  1733.     'EX07' : Full_screen_zoom,
  1734.     'PLck' : locked,
  1735.     'EX02' : Success_sound,
  1736.     'EX03' : Failure_sound,
  1737.     'TA06' : Ignored_by_Make,
  1738.     'TA07' : Compiler,
  1739.     'TA04' : Resource_File,
  1740.     'TA05' : Launchable,
  1741.     'EX08' : External_reference,
  1742.     'DSiz' : datasize,
  1743.     'TA01' : Linker,
  1744.     'VC04' : Password,
  1745.     'Bfor' : initialize_before,
  1746.     'SrcT' : filetype,
  1747.     'SysH' : system_heap,
  1748.     'GH01' : Syntax_coloring,
  1749.     'GH02' : Comment_color,
  1750.     'Prel' : preloaded,
  1751.     'Orig' : origin,
  1752.     'EX17' : Recent_Projects,
  1753.     'EX16' : Recent_Documents,
  1754.     'EX15' : Include_File_Cache_Size__28_K_29_,
  1755.     'EX14' : Multiprocessing_Compilation,
  1756.     'EX01' : Completion_sound,
  1757.     'EX12' : Use_Script_Menu,
  1758.     'EX11' : Use_External_Editor,
  1759.     'EX10' : Use_Editor_Extensions,
  1760.     'TA11' : Output_Directory_Path,
  1761.     'TA10' : Target_Name,
  1762.     'TA12' : Output_Directory_Origin,
  1763.     'EX19' : Enable_Automatic_Toolbar_Help,
  1764.     'EX18' : Show_ToolServer_Menu,
  1765.     'ErrT' : kind,
  1766.     'ptxf' : Text_font,
  1767.     'ErrS' : message,
  1768.     'SubA' : all_subclasses,
  1769.     'SubC' : subclasses,
  1770.     'ED08' : Remember_font,
  1771.     'ED09' : Remember_selection,
  1772.     'VC01' : VCS_Active,
  1773.     'ErrL' : lineNumber,
  1774.     'ED01' : Flash_delay,
  1775.     'ED02' : Dynamic_scroll,
  1776.     'ED03' : Balance,
  1777.     'ED04' : Use_Drag__26__Drop_Editing,
  1778.     'ED05' : Save_on_update,
  1779.     'ED06' : Sort_Function_Popup,
  1780.     'ED07' : Use_Multiple_Undo,
  1781.     'Recu' : recursive,
  1782.     'IncF' : includes,
  1783.     'file' : disk_file,
  1784.     'TA03' : Precompiled,
  1785.     'Weak' : weak_link,
  1786.     'DcSt' : declaration_start_offset,
  1787.     'ptps' : Text_size,
  1788.     'Stat' : static,
  1789.     'ED10' : Remember_window,
  1790.     'EX13' : Honor_Projector_State_for_Projects,
  1791.     'DfEn' : implementation_end_offset,
  1792.     'BW05' : Globals_Color,
  1793.     'FN01' : Auto_indent,
  1794.     'Purg' : purgeable,
  1795.     'NumF' : filecount,
  1796.     'Acce' : access,
  1797.     'Prot' : protected,
  1798.     'DcFl' : declaration_file,
  1799.     'KW04' : Custom_color_4,
  1800.     'ED13' : Background_Color,
  1801.     'ED12' : Main_Text_Color,
  1802.     'SymG' : symbols,
  1803.     'FN02' : Tab_size,
  1804.     'ED14' : Context_Popup_Delay,
  1805. }
  1806.  
  1807. _compdeclarations = {
  1808. }
  1809.  
  1810. _enumdeclarations = {
  1811.     'ErrT' : _Enum_ErrT,
  1812.     'PPrm' : _Enum_PPrm,
  1813.     'RefP' : _Enum_RefP,
  1814.     'Acce' : _Enum_Acce,
  1815.     'SrcT' : _Enum_SrcT,
  1816.     'Mode' : _Enum_Mode,
  1817.     'Inte' : _Enum_Inte,
  1818.     'savo' : _Enum_savo,
  1819.     'Lang' : _Enum_Lang,
  1820. }
  1821.