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