ยปCore Development>Code coverage>Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py

Python code coverage for Lib/plat-mac/lib-scriptpackages/CodeWarrior/CodeWarrior_suite.py

#countcontent
1n/a"""Suite CodeWarrior suite: Terms for scripting the CodeWarrior IDE
2n/aLevel 0, version 0
3n/a
4n/aGenerated from /Volumes/Sap/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/CodeWarrior IDE 4.2.5
5n/aAETE/AEUT resource version 1/0, language 0, script 0
6n/a"""
7n/a
8n/aimport aetools
9n/aimport MacOS
10n/a
11n/a_code = 'CWIE'
12n/a
13n/aclass CodeWarrior_suite_Events:
14n/a
15n/a _argmap_add = {
16n/a 'new' : 'kocl',
17n/a 'with_data' : 'data',
18n/a 'to_targets' : 'TTGT',
19n/a 'to_group' : 'TGRP',
20n/a }
21n/a
22n/a def add(self, _object, _attributes={}, **_arguments):
23n/a """add: add elements to a project or target
24n/a Required argument: an AE object reference
25n/a Keyword argument new: the class of the new element or elements to add
26n/a Keyword argument with_data: the initial data for the element or elements
27n/a Keyword argument to_targets: the targets to which the new element or elements will be added
28n/a Keyword argument to_group: the group to which the new element or elements will be added
29n/a Keyword argument _attributes: AppleEvent attribute dictionary
30n/a """
31n/a _code = 'CWIE'
32n/a _subcode = 'ADDF'
33n/a
34n/a aetools.keysubst(_arguments, self._argmap_add)
35n/a _arguments['----'] = _object
36n/a
37n/a
38n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
39n/a _arguments, _attributes)
40n/a if _arguments.get('errn', 0):
41n/a raise aetools.Error, aetools.decodeerror(_arguments)
42n/a # XXXX Optionally decode result
43n/a if _arguments.has_key('----'):
44n/a return _arguments['----']
45n/a
46n/a def build(self, _no_object=None, _attributes={}, **_arguments):
47n/a """build: build a project or target (equivalent of the Make menu command)
48n/a Keyword argument _attributes: AppleEvent attribute dictionary
49n/a """
50n/a _code = 'CWIE'
51n/a _subcode = 'MAKE'
52n/a
53n/a if _arguments: raise TypeError, 'No optional args expected'
54n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
55n/a
56n/a
57n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
58n/a _arguments, _attributes)
59n/a if _arguments.get('errn', 0):
60n/a raise aetools.Error, aetools.decodeerror(_arguments)
61n/a # XXXX Optionally decode result
62n/a if _arguments.has_key('----'):
63n/a return _arguments['----']
64n/a
65n/a def check(self, _object=None, _attributes={}, **_arguments):
66n/a """check: check the syntax of a file in a project or target
67n/a Required argument: the file or files to be checked
68n/a Keyword argument _attributes: AppleEvent attribute dictionary
69n/a """
70n/a _code = 'CWIE'
71n/a _subcode = 'CHEK'
72n/a
73n/a if _arguments: raise TypeError, 'No optional args expected'
74n/a _arguments['----'] = _object
75n/a
76n/a
77n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
78n/a _arguments, _attributes)
79n/a if _arguments.get('errn', 0):
80n/a raise aetools.Error, aetools.decodeerror(_arguments)
81n/a # XXXX Optionally decode result
82n/a if _arguments.has_key('----'):
83n/a return _arguments['----']
84n/a
85n/a def compile_file(self, _object=None, _attributes={}, **_arguments):
86n/a """compile file: compile a file in a project or target
87n/a Required argument: the file or files to be compiled
88n/a Keyword argument _attributes: AppleEvent attribute dictionary
89n/a """
90n/a _code = 'CWIE'
91n/a _subcode = 'COMP'
92n/a
93n/a if _arguments: raise TypeError, 'No optional args expected'
94n/a _arguments['----'] = _object
95n/a
96n/a
97n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
98n/a _arguments, _attributes)
99n/a if _arguments.get('errn', 0):
100n/a raise aetools.Error, aetools.decodeerror(_arguments)
101n/a # XXXX Optionally decode result
102n/a if _arguments.has_key('----'):
103n/a return _arguments['----']
104n/a
105n/a def disassemble_file(self, _object=None, _attributes={}, **_arguments):
106n/a """disassemble file: disassemble a file in a project or target
107n/a Required argument: the file or files to be disassembled
108n/a Keyword argument _attributes: AppleEvent attribute dictionary
109n/a """
110n/a _code = 'CWIE'
111n/a _subcode = 'DASM'
112n/a
113n/a if _arguments: raise TypeError, 'No optional args expected'
114n/a _arguments['----'] = _object
115n/a
116n/a
117n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
118n/a _arguments, _attributes)
119n/a if _arguments.get('errn', 0):
120n/a raise aetools.Error, aetools.decodeerror(_arguments)
121n/a # XXXX Optionally decode result
122n/a if _arguments.has_key('----'):
123n/a return _arguments['----']
124n/a
125n/a _argmap_export = {
126n/a 'in_' : 'kfil',
127n/a }
128n/a
129n/a def export(self, _no_object=None, _attributes={}, **_arguments):
130n/a """export: Export the project file as an XML file
131n/a Keyword argument in_: the XML file in which to export the project
132n/a Keyword argument _attributes: AppleEvent attribute dictionary
133n/a """
134n/a _code = 'CWIE'
135n/a _subcode = 'EXPT'
136n/a
137n/a aetools.keysubst(_arguments, self._argmap_export)
138n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
139n/a
140n/a
141n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
142n/a _arguments, _attributes)
143n/a if _arguments.get('errn', 0):
144n/a raise aetools.Error, aetools.decodeerror(_arguments)
145n/a # XXXX Optionally decode result
146n/a if _arguments.has_key('----'):
147n/a return _arguments['----']
148n/a
149n/a def remove_object_code(self, _no_object=None, _attributes={}, **_arguments):
150n/a """remove object code: remove object code from a project or target
151n/a Keyword argument _attributes: AppleEvent attribute dictionary
152n/a """
153n/a _code = 'CWIE'
154n/a _subcode = 'RMOB'
155n/a
156n/a if _arguments: raise TypeError, 'No optional args expected'
157n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
158n/a
159n/a
160n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
161n/a _arguments, _attributes)
162n/a if _arguments.get('errn', 0):
163n/a raise aetools.Error, aetools.decodeerror(_arguments)
164n/a # XXXX Optionally decode result
165n/a if _arguments.has_key('----'):
166n/a return _arguments['----']
167n/a
168n/a def remove_target_files(self, _object, _attributes={}, **_arguments):
169n/a """remove target files: remove files from a target
170n/a Required argument: an AE object reference
171n/a Keyword argument _attributes: AppleEvent attribute dictionary
172n/a """
173n/a _code = 'CWIE'
174n/a _subcode = 'RMFL'
175n/a
176n/a if _arguments: raise TypeError, 'No optional args expected'
177n/a _arguments['----'] = _object
178n/a
179n/a
180n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
181n/a _arguments, _attributes)
182n/a if _arguments.get('errn', 0):
183n/a raise aetools.Error, aetools.decodeerror(_arguments)
184n/a # XXXX Optionally decode result
185n/a if _arguments.has_key('----'):
186n/a return _arguments['----']
187n/a
188n/a def run_target(self, _no_object=None, _attributes={}, **_arguments):
189n/a """run target: run a project or target
190n/a Keyword argument _attributes: AppleEvent attribute dictionary
191n/a """
192n/a _code = 'CWIE'
193n/a _subcode = 'RUN '
194n/a
195n/a if _arguments: raise TypeError, 'No optional args expected'
196n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
197n/a
198n/a
199n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
200n/a _arguments, _attributes)
201n/a if _arguments.get('errn', 0):
202n/a raise aetools.Error, aetools.decodeerror(_arguments)
203n/a # XXXX Optionally decode result
204n/a if _arguments.has_key('----'):
205n/a return _arguments['----']
206n/a
207n/a def touch_file(self, _object=None, _attributes={}, **_arguments):
208n/a """touch file: touch a file in a project or target for compilation
209n/a Required argument: the file or files to be touched
210n/a Keyword argument _attributes: AppleEvent attribute dictionary
211n/a """
212n/a _code = 'CWIE'
213n/a _subcode = 'TOCH'
214n/a
215n/a if _arguments: raise TypeError, 'No optional args expected'
216n/a _arguments['----'] = _object
217n/a
218n/a
219n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
220n/a _arguments, _attributes)
221n/a if _arguments.get('errn', 0):
222n/a raise aetools.Error, aetools.decodeerror(_arguments)
223n/a # XXXX Optionally decode result
224n/a if _arguments.has_key('----'):
225n/a return _arguments['----']
226n/a
227n/a def update(self, _no_object=None, _attributes={}, **_arguments):
228n/a """update: bring a project or target up to date
229n/a Keyword argument _attributes: AppleEvent attribute dictionary
230n/a """
231n/a _code = 'CWIE'
232n/a _subcode = 'UP2D'
233n/a
234n/a if _arguments: raise TypeError, 'No optional args expected'
235n/a if _no_object is not None: raise TypeError, 'No direct arg expected'
236n/a
237n/a
238n/a _reply, _arguments, _attributes = self.send(_code, _subcode,
239n/a _arguments, _attributes)
240n/a if _arguments.get('errn', 0):
241n/a raise aetools.Error, aetools.decodeerror(_arguments)
242n/a # XXXX Optionally decode result
243n/a if _arguments.has_key('----'):
244n/a return _arguments['----']
245n/a
246n/a
247n/aclass single_class_browser(aetools.ComponentItem):
248n/a """single class browser - a single class browser """
249n/a want = '1BRW'
250n/aclass _Prop_inherits(aetools.NProperty):
251n/a """inherits - all properties and elements of the given class are inherited by this class. """
252n/a which = 'c@#^'
253n/a want = 'TXTD'
254n/a
255n/asingle_class_browsers = single_class_browser
256n/a
257n/aclass single_class_hierarchy(aetools.ComponentItem):
258n/a """single class hierarchy - a single class hierarchy document """
259n/a want = '1HIR'
260n/a
261n/asingle_class_hierarchies = single_class_hierarchy
262n/a
263n/aclass class_browser(aetools.ComponentItem):
264n/a """class browser - a class browser """
265n/a want = 'BROW'
266n/a
267n/aclass_browsers = class_browser
268n/a
269n/aclass file_compare_document(aetools.ComponentItem):
270n/a """file compare document - a file compare document """
271n/a want = 'COMP'
272n/a
273n/afile_compare_documents = file_compare_document
274n/a
275n/aclass catalog_document(aetools.ComponentItem):
276n/a """catalog document - a browser catalog document """
277n/a want = 'CTLG'
278n/a
279n/acatalog_documents = catalog_document
280n/a
281n/aclass editor_document(aetools.ComponentItem):
282n/a """editor document - an editor document """
283n/a want = 'EDIT'
284n/a
285n/aeditor_documents = editor_document
286n/a
287n/aclass class_hierarchy(aetools.ComponentItem):
288n/a """class hierarchy - a class hierarchy document """
289n/a want = 'HIER'
290n/a
291n/aclass_hierarchies = class_hierarchy
292n/a
293n/aclass project_inspector(aetools.ComponentItem):
294n/a """project inspector - the project inspector """
295n/a want = 'INSP'
296n/a
297n/aproject_inspectors = project_inspector
298n/a
299n/aclass message_document(aetools.ComponentItem):
300n/a """message document - a message document """
301n/a want = 'MSSG'
302n/a
303n/amessage_documents = message_document
304n/a
305n/aclass build_progress_document(aetools.ComponentItem):
306n/a """build progress document - a build progress document """
307n/a want = 'PRGS'
308n/a
309n/abuild_progress_documents = build_progress_document
310n/a
311n/aclass project_document(aetools.ComponentItem):
312n/a """project document - a project document """
313n/a want = 'PRJD'
314n/aclass _Prop_current_target(aetools.NProperty):
315n/a """current target - the current target """
316n/a which = 'CURT'
317n/a want = 'TRGT'
318n/a# element 'TRGT' as ['indx', 'name', 'test', 'rang']
319n/a
320n/aproject_documents = project_document
321n/a
322n/aclass subtarget(aetools.ComponentItem):
323n/a """subtarget - a target that is prerequisite for another target """
324n/a want = 'SBTG'
325n/aclass _Prop_link_against_output(aetools.NProperty):
326n/a """link against output - is the output of this subtarget linked into its dependent target? """
327n/a which = 'LNKO'
328n/a want = 'bool'
329n/aclass _Prop_target(aetools.NProperty):
330n/a """target - the target that is dependent on this subtarget """
331n/a which = 'TrgT'
332n/a want = 'TRGT'
333n/a
334n/asubtargets = subtarget
335n/a
336n/aclass target_file(aetools.ComponentItem):
337n/a """target file - a source or header file in a target """
338n/a want = 'SRCF'
339n/aclass _Prop_code_size(aetools.NProperty):
340n/a """code size - the size of the code (in bytes) produced by compiling this source file """
341n/a which = 'CSZE'
342n/a want = 'long'
343n/aclass _Prop_compiled_date(aetools.NProperty):
344n/a """compiled date - the date and this source file was last compiled """
345n/a which = 'CMPD'
346n/a want = 'ldt '
347n/aclass _Prop_data_size(aetools.NProperty):
348n/a """data size - the size of the date (in bytes) produced by compiling this source file """
349n/a which = 'DSZE'
350n/a want = 'long'
351n/aclass _Prop_debug(aetools.NProperty):
352n/a """debug - is debugging information generated for this source file? """
353n/a which = 'DBUG'
354n/a want = 'bool'
355n/aclass _Prop_dependents(aetools.NProperty):
356n/a """dependents - the source files that need this source file in order to build """
357n/a which = 'DPND'
358n/a want = 'list'
359n/aclass _Prop_id(aetools.NProperty):
360n/a """id - the unique ID number of the target file """
361n/a which = 'ID '
362n/a want = 'long'
363n/aclass _Prop_init_before(aetools.NProperty):
364n/a """init before - is the \xd4initialize before\xd5 flag set for this shared library? """
365n/a which = 'INIT'
366n/a want = 'bool'
367n/aclass _Prop_link_index(aetools.NProperty):
368n/a """link index - the index of the source file in its target\xd5s link order (-1 if source file is not in link order) """
369n/a which = 'LIDX'
370n/a want = 'long'
371n/aclass _Prop_linked(aetools.NProperty):
372n/a """linked - is the source file in the link order of its target? """
373n/a which = 'LINK'
374n/a want = 'bool'
375n/aclass _Prop_location(aetools.NProperty):
376n/a """location - the location of the target file on disk """
377n/a which = 'FILE'
378n/a want = 'fss '
379n/aclass _Prop_merge_output(aetools.NProperty):
380n/a """merge output - is this shared library merged into another code fragment? """
381n/a which = 'MRGE'
382n/a want = 'bool'
383n/aclass _Prop_modified_date(aetools.NProperty):
384n/a """modified date - the date and time this source file was last modified """
385n/a which = 'MODD'
386n/a want = 'ldt '
387n/aclass _Prop_path(aetools.NProperty):
388n/a """path - the path of the source file on disk """
389n/a which = 'Path'
390n/a want = 'itxt'
391n/aclass _Prop_prerequisites(aetools.NProperty):
392n/a """prerequisites - the source files needed to build this source file """
393n/a which = 'PRER'
394n/a want = 'list'
395n/aclass _Prop_type(aetools.NProperty):
396n/a """type - the type of source file """
397n/a which = 'FTYP'
398n/a want = 'FTYP'
399n/aclass _Prop_weak_link(aetools.NProperty):
400n/a """weak link - is this shared library linked weakly? """
401n/a which = 'WEAK'
402n/a want = 'bool'
403n/a
404n/atarget_files = target_file
405n/a
406n/aclass symbol_browser(aetools.ComponentItem):
407n/a """symbol browser - a symbol browser """
408n/a want = 'SYMB'
409n/a
410n/asymbol_browsers = symbol_browser
411n/a
412n/aclass ToolServer_worksheet(aetools.ComponentItem):
413n/a """ToolServer worksheet - a ToolServer worksheet """
414n/a want = 'TOOL'
415n/a
416n/aToolServer_worksheets = ToolServer_worksheet
417n/a
418n/aclass target(aetools.ComponentItem):
419n/a """target - a target in a project """
420n/a want = 'TRGT'
421n/aclass _Prop_name(aetools.NProperty):
422n/a """name - """
423n/a which = 'pnam'
424n/a want = 'itxt'
425n/aclass _Prop_project_document(aetools.NProperty):
426n/a """project document - the project document that contains this target """
427n/a which = 'PrjD'
428n/a want = 'PRJD'
429n/a# element 'SBTG' as ['indx', 'test', 'rang']
430n/a# element 'SRCF' as ['indx', 'test', 'rang']
431n/a
432n/atargets = target
433n/a
434n/aclass text_document(aetools.ComponentItem):
435n/a """text document - a document that contains text """
436n/a want = 'TXTD'
437n/aclass _Prop_modified(aetools.NProperty):
438n/a """modified - Has the document been modified since the last save? """
439n/a which = 'imod'
440n/a want = 'bool'
441n/aclass _Prop_selection(aetools.NProperty):
442n/a """selection - the selection visible to the user """
443n/a which = 'sele'
444n/a want = 'csel'
445n/a# element 'cha ' as ['indx', 'rele', 'rang', 'test']
446n/a# element 'cins' as ['rele']
447n/a# element 'clin' as ['indx', 'rang', 'rele']
448n/a# element 'ctxt' as ['rang']
449n/a
450n/atext_documents = text_document
451n/asingle_class_browser._superclassnames = ['text_document']
452n/asingle_class_browser._privpropdict = {
453n/a 'inherits' : _Prop_inherits,
454n/a}
455n/asingle_class_browser._privelemdict = {
456n/a}
457n/aimport Standard_Suite
458n/asingle_class_hierarchy._superclassnames = ['document']
459n/asingle_class_hierarchy._privpropdict = {
460n/a 'inherits' : _Prop_inherits,
461n/a}
462n/asingle_class_hierarchy._privelemdict = {
463n/a}
464n/aclass_browser._superclassnames = ['text_document']
465n/aclass_browser._privpropdict = {
466n/a 'inherits' : _Prop_inherits,
467n/a}
468n/aclass_browser._privelemdict = {
469n/a}
470n/afile_compare_document._superclassnames = ['text_document']
471n/afile_compare_document._privpropdict = {
472n/a 'inherits' : _Prop_inherits,
473n/a}
474n/afile_compare_document._privelemdict = {
475n/a}
476n/acatalog_document._superclassnames = ['text_document']
477n/acatalog_document._privpropdict = {
478n/a 'inherits' : _Prop_inherits,
479n/a}
480n/acatalog_document._privelemdict = {
481n/a}
482n/aeditor_document._superclassnames = ['text_document']
483n/aeditor_document._privpropdict = {
484n/a 'inherits' : _Prop_inherits,
485n/a}
486n/aeditor_document._privelemdict = {
487n/a}
488n/aclass_hierarchy._superclassnames = ['document']
489n/aclass_hierarchy._privpropdict = {
490n/a 'inherits' : _Prop_inherits,
491n/a}
492n/aclass_hierarchy._privelemdict = {
493n/a}
494n/aproject_inspector._superclassnames = ['document']
495n/aproject_inspector._privpropdict = {
496n/a 'inherits' : _Prop_inherits,
497n/a}
498n/aproject_inspector._privelemdict = {
499n/a}
500n/amessage_document._superclassnames = ['text_document']
501n/amessage_document._privpropdict = {
502n/a 'inherits' : _Prop_inherits,
503n/a}
504n/amessage_document._privelemdict = {
505n/a}
506n/abuild_progress_document._superclassnames = ['document']
507n/abuild_progress_document._privpropdict = {
508n/a 'inherits' : _Prop_inherits,
509n/a}
510n/abuild_progress_document._privelemdict = {
511n/a}
512n/aproject_document._superclassnames = ['document']
513n/aproject_document._privpropdict = {
514n/a 'current_target' : _Prop_current_target,
515n/a 'inherits' : _Prop_inherits,
516n/a}
517n/aproject_document._privelemdict = {
518n/a 'target' : target,
519n/a}
520n/asubtarget._superclassnames = ['target']
521n/asubtarget._privpropdict = {
522n/a 'inherits' : _Prop_inherits,
523n/a 'link_against_output' : _Prop_link_against_output,
524n/a 'target' : _Prop_target,
525n/a}
526n/asubtarget._privelemdict = {
527n/a}
528n/atarget_file._superclassnames = []
529n/atarget_file._privpropdict = {
530n/a 'code_size' : _Prop_code_size,
531n/a 'compiled_date' : _Prop_compiled_date,
532n/a 'data_size' : _Prop_data_size,
533n/a 'debug' : _Prop_debug,
534n/a 'dependents' : _Prop_dependents,
535n/a 'id' : _Prop_id,
536n/a 'init_before' : _Prop_init_before,
537n/a 'link_index' : _Prop_link_index,
538n/a 'linked' : _Prop_linked,
539n/a 'location' : _Prop_location,
540n/a 'merge_output' : _Prop_merge_output,
541n/a 'modified_date' : _Prop_modified_date,
542n/a 'path' : _Prop_path,
543n/a 'prerequisites' : _Prop_prerequisites,
544n/a 'type' : _Prop_type,
545n/a 'weak_link' : _Prop_weak_link,
546n/a}
547n/atarget_file._privelemdict = {
548n/a}
549n/asymbol_browser._superclassnames = ['text_document']
550n/asymbol_browser._privpropdict = {
551n/a 'inherits' : _Prop_inherits,
552n/a}
553n/asymbol_browser._privelemdict = {
554n/a}
555n/aToolServer_worksheet._superclassnames = ['text_document']
556n/aToolServer_worksheet._privpropdict = {
557n/a 'inherits' : _Prop_inherits,
558n/a}
559n/aToolServer_worksheet._privelemdict = {
560n/a}
561n/atarget._superclassnames = []
562n/atarget._privpropdict = {
563n/a 'name' : _Prop_name,
564n/a 'project_document' : _Prop_project_document,
565n/a}
566n/atarget._privelemdict = {
567n/a 'subtarget' : subtarget,
568n/a 'target_file' : target_file,
569n/a}
570n/atext_document._superclassnames = ['document']
571n/atext_document._privpropdict = {
572n/a 'inherits' : _Prop_inherits,
573n/a 'modified' : _Prop_modified,
574n/a 'selection' : _Prop_selection,
575n/a}
576n/atext_document._privelemdict = {
577n/a 'character' : Standard_Suite.character,
578n/a 'insertion_point' : Standard_Suite.insertion_point,
579n/a 'line' : Standard_Suite.line,
580n/a 'text' : Standard_Suite.text,
581n/a}
582n/a_Enum_DKND = {
583n/a 'project' : 'PRJD', # a project document
584n/a 'editor_document' : 'EDIT', # an editor document
585n/a 'message' : 'MSSG', # a message document
586n/a 'file_compare' : 'COMP', # a file compare document
587n/a 'catalog_document' : 'CTLG', # a browser catalog
588n/a 'class_browser' : 'BROW', # a class browser document
589n/a 'single_class_browser' : '1BRW', # a single class browser document
590n/a 'symbol_browser' : 'SYMB', # a symbol browser document
591n/a 'class_hierarchy' : 'HIER', # a class hierarchy document
592n/a 'single_class_hierarchy' : '1HIR', # a single class hierarchy document
593n/a 'project_inspector' : 'INSP', # a project inspector
594n/a 'ToolServer_worksheet' : 'TOOL', # the ToolServer worksheet
595n/a 'build_progress_document' : 'PRGS', # the build progress window
596n/a}
597n/a
598n/a_Enum_FTYP = {
599n/a 'library_file' : 'LIBF', # a library file
600n/a 'project_file' : 'PRJF', # a project file
601n/a 'resource_file' : 'RESF', # a resource file
602n/a 'text_file' : 'TXTF', # a text file
603n/a 'unknown_file' : 'UNKN', # unknown file type
604n/a}
605n/a
606n/a_Enum_Inte = {
607n/a 'never_interact' : 'eNvr', # never allow user interactions
608n/a 'interact_with_self' : 'eInS', # allow user interaction only when an AppleEvent is sent from within CodeWarrior
609n/a 'interact_with_local' : 'eInL', # allow user interaction when AppleEvents are sent from applications on the same machine (default)
610n/a 'interact_with_all' : 'eInA', # allow user interaction from both local and remote AppleEvents
611n/a}
612n/a
613n/a_Enum_PERM = {
614n/a 'read_write' : 'RdWr', # the file is open with read/write permission
615n/a 'read_only' : 'Read', # the file is open with read/only permission
616n/a 'checked_out_read_write' : 'CkRW', # the file is checked out with read/write permission
617n/a 'checked_out_read_only' : 'CkRO', # the file is checked out with read/only permission
618n/a 'checked_out_read_modify' : 'CkRM', # the file is checked out with read/modify permission
619n/a 'locked' : 'Lock', # the file is locked on disk
620n/a 'none' : 'LNNO', # the file is new
621n/a}
622n/a
623n/a
624n/a#
625n/a# Indices of types declared in this module
626n/a#
627n/a_classdeclarations = {
628n/a '1BRW' : single_class_browser,
629n/a '1HIR' : single_class_hierarchy,
630n/a 'BROW' : class_browser,
631n/a 'COMP' : file_compare_document,
632n/a 'CTLG' : catalog_document,
633n/a 'EDIT' : editor_document,
634n/a 'HIER' : class_hierarchy,
635n/a 'INSP' : project_inspector,
636n/a 'MSSG' : message_document,
637n/a 'PRGS' : build_progress_document,
638n/a 'PRJD' : project_document,
639n/a 'SBTG' : subtarget,
640n/a 'SRCF' : target_file,
641n/a 'SYMB' : symbol_browser,
642n/a 'TOOL' : ToolServer_worksheet,
643n/a 'TRGT' : target,
644n/a 'TXTD' : text_document,
645n/a}
646n/a
647n/a_propdeclarations = {
648n/a 'CMPD' : _Prop_compiled_date,
649n/a 'CSZE' : _Prop_code_size,
650n/a 'CURT' : _Prop_current_target,
651n/a 'DBUG' : _Prop_debug,
652n/a 'DPND' : _Prop_dependents,
653n/a 'DSZE' : _Prop_data_size,
654n/a 'FILE' : _Prop_location,
655n/a 'FTYP' : _Prop_type,
656n/a 'ID ' : _Prop_id,
657n/a 'INIT' : _Prop_init_before,
658n/a 'LIDX' : _Prop_link_index,
659n/a 'LINK' : _Prop_linked,
660n/a 'LNKO' : _Prop_link_against_output,
661n/a 'MODD' : _Prop_modified_date,
662n/a 'MRGE' : _Prop_merge_output,
663n/a 'PRER' : _Prop_prerequisites,
664n/a 'Path' : _Prop_path,
665n/a 'PrjD' : _Prop_project_document,
666n/a 'TrgT' : _Prop_target,
667n/a 'WEAK' : _Prop_weak_link,
668n/a 'c@#^' : _Prop_inherits,
669n/a 'imod' : _Prop_modified,
670n/a 'pnam' : _Prop_name,
671n/a 'sele' : _Prop_selection,
672n/a}
673n/a
674n/a_compdeclarations = {
675n/a}
676n/a
677n/a_enumdeclarations = {
678n/a 'DKND' : _Enum_DKND,
679n/a 'FTYP' : _Enum_FTYP,
680n/a 'Inte' : _Enum_Inte,
681n/a 'PERM' : _Enum_PERM,
682n/a}