/usr/include/thunderbird/nsIMsgDBView.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 1821 1822 1823 1824 1825 1826 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgDBView.idl
*/
#ifndef __gen_nsIMsgDBView_h__
#define __gen_nsIMsgDBView_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_MailNewsTypes2_h__
#include "MailNewsTypes2.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMsgFolder; /* forward declaration */
class nsIMsgWindow; /* forward declaration */
class nsIMessenger; /* forward declaration */
class nsIMsgDBHdr; /* forward declaration */
class nsIMsgThread; /* forward declaration */
class nsIMsgDBViewCommandUpdater; /* forward declaration */
class nsIMsgDatabase; /* forward declaration */
class nsIMsgSearchSession; /* forward declaration */
class nsIMutableArray; /* forward declaration */
class nsISimpleEnumerator; /* forward declaration */
class nsIMsgCustomColumnHandler; /* forward declaration */
typedef int32_t nsMsgViewNotificationCodeValue;
typedef int32_t nsMsgViewCommandCheckStateValue;
typedef int32_t nsMsgViewCommandTypeValue;
typedef int32_t nsMsgNavigationTypeValue;
/* starting interface: nsMsgViewSortOrder */
#define NS_MSGVIEWSORTORDER_IID_STR "682a18be-fd18-11d4-a5be-0060b0fc04b7"
#define NS_MSGVIEWSORTORDER_IID \
{0x682a18be, 0xfd18, 0x11d4, \
{ 0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
class NS_NO_VTABLE nsMsgViewSortOrder {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWSORTORDER_IID)
enum {
none = 0,
ascending = 1,
descending = 2
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewSortOrder, NS_MSGVIEWSORTORDER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWSORTORDER \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWSORTORDER \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWSORTORDER(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWSORTORDER(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewSortOrder
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWSORTORDER
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewSortOrder)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewType */
#define NS_MSGVIEWTYPE_IID_STR "f28a1cdf-06c3-4e98-8f66-f49991670071"
#define NS_MSGVIEWTYPE_IID \
{0xf28a1cdf, 0x06c3, 0x4e98, \
{ 0x8f, 0x66, 0xf4, 0x99, 0x91, 0x67, 0x00, 0x71 }}
class NS_NO_VTABLE nsMsgViewType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWTYPE_IID)
enum {
eShowAllThreads = 0,
eShowThreadsWithUnread = 2,
eShowWatchedThreadsWithUnread = 3,
eShowQuickSearchResults = 4,
eShowVirtualFolderResults = 5,
eShowSearch = 6
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewType, NS_MSGVIEWTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWTYPE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWTYPE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewType)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewFlagsType */
#define NS_MSGVIEWFLAGSTYPE_IID_STR "64852276-1dd2-11b2-8103-afe12002c053"
#define NS_MSGVIEWFLAGSTYPE_IID \
{0x64852276, 0x1dd2, 0x11b2, \
{ 0x81, 0x03, 0xaf, 0xe1, 0x20, 0x02, 0xc0, 0x53 }}
class NS_NO_VTABLE nsMsgViewFlagsType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWFLAGSTYPE_IID)
enum {
kNone = 0,
kThreadedDisplay = 1,
kShowIgnored = 8,
kUnreadOnly = 16,
kExpandAll = 32,
kGroupBySort = 64
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewFlagsType, NS_MSGVIEWFLAGSTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWFLAGSTYPE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWFLAGSTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWFLAGSTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWFLAGSTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewFlagsType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWFLAGSTYPE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewFlagsType)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewSortType */
#define NS_MSGVIEWSORTTYPE_IID_STR "b94fc200-3008-420a-85c7-67842f133ef8"
#define NS_MSGVIEWSORTTYPE_IID \
{0xb94fc200, 0x3008, 0x420a, \
{ 0x85, 0xc7, 0x67, 0x84, 0x2f, 0x13, 0x3e, 0xf8 }}
class NS_NO_VTABLE nsMsgViewSortType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWSORTTYPE_IID)
enum {
byNone = 17,
byDate = 18,
bySubject = 19,
byAuthor = 20,
byId = 21,
byThread = 22,
byPriority = 23,
byStatus = 24,
bySize = 25,
byFlagged = 26,
byUnread = 27,
byRecipient = 28,
byLocation = 29,
byTags = 30,
byJunkStatus = 31,
byAttachments = 32,
byAccount = 33,
byCustom = 34,
byReceived = 35,
byCorrespondent = 36
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewSortType, NS_MSGVIEWSORTTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWSORTTYPE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWSORTTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWSORTTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWSORTTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewSortType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWSORTTYPE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewSortType)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewNotificationCode */
#define NS_MSGVIEWNOTIFICATIONCODE_IID_STR "255d1c1e-fde7-11d4-a5be-0060b0fc04b7"
#define NS_MSGVIEWNOTIFICATIONCODE_IID \
{0x255d1c1e, 0xfde7, 0x11d4, \
{ 0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
class NS_NO_VTABLE nsMsgViewNotificationCode {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWNOTIFICATIONCODE_IID)
enum {
none = 0,
insertOrDelete = 1,
changed = 2,
scramble = 3,
all = 4,
totalContentChanged = 5,
newTopIndex = 6
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewNotificationCode, NS_MSGVIEWNOTIFICATIONCODE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWNOTIFICATIONCODE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWNOTIFICATIONCODE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWNOTIFICATIONCODE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWNOTIFICATIONCODE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewNotificationCode
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWNOTIFICATIONCODE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewNotificationCode)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewCommandCheckState */
#define NS_MSGVIEWCOMMANDCHECKSTATE_IID_STR "4ec9248e-0108-11d5-a5be-0060b0fc04b7"
#define NS_MSGVIEWCOMMANDCHECKSTATE_IID \
{0x4ec9248e, 0x0108, 0x11d5, \
{ 0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
class NS_NO_VTABLE nsMsgViewCommandCheckState {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWCOMMANDCHECKSTATE_IID)
enum {
notUsed = 0,
checked = 1,
unchecked = 2
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewCommandCheckState, NS_MSGVIEWCOMMANDCHECKSTATE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWCOMMANDCHECKSTATE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWCOMMANDCHECKSTATE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWCOMMANDCHECKSTATE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWCOMMANDCHECKSTATE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewCommandCheckState
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWCOMMANDCHECKSTATE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewCommandCheckState)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgViewCommandType */
#define NS_MSGVIEWCOMMANDTYPE_IID_STR "ad36e6cc-0109-11d5-a5be-0060b0fc04b7"
#define NS_MSGVIEWCOMMANDTYPE_IID \
{0xad36e6cc, 0x0109, 0x11d5, \
{ 0xa5, 0xbe, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}
class NS_NO_VTABLE nsMsgViewCommandType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGVIEWCOMMANDTYPE_IID)
enum {
markMessagesRead = 0,
markMessagesUnread = 1,
toggleMessageRead = 2,
flagMessages = 3,
unflagMessages = 4,
toggleThreadWatched = 6,
deleteMsg = 7,
deleteNoTrash = 8,
markThreadRead = 9,
markAllRead = 10,
expandAll = 11,
collapseAll = 12,
copyMessages = 13,
moveMessages = 14,
selectAll = 15,
downloadSelectedForOffline = 16,
downloadFlaggedForOffline = 17,
selectThread = 18,
selectFlagged = 19,
cmdRequiringMsgBody = 20,
label0 = 21,
label1 = 22,
label2 = 23,
label3 = 24,
label4 = 25,
label5 = 26,
lastLabel = 26,
junk = 27,
unjunk = 28,
undeleteMsg = 29,
applyFilters = 30,
runJunkControls = 31,
deleteJunk = 32
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgViewCommandType, NS_MSGVIEWCOMMANDTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGVIEWCOMMANDTYPE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGVIEWCOMMANDTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGVIEWCOMMANDTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGVIEWCOMMANDTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgViewCommandType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGVIEWCOMMANDTYPE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgViewCommandType)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsMsgNavigationType */
#define NS_MSGNAVIGATIONTYPE_IID_STR "65903eb2-1dd2-11b2-ac45-c5b69c1618d7"
#define NS_MSGNAVIGATIONTYPE_IID \
{0x65903eb2, 0x1dd2, 0x11b2, \
{ 0xac, 0x45, 0xc5, 0xb6, 0x9c, 0x16, 0x18, 0xd7 }}
class NS_NO_VTABLE nsMsgNavigationType {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGNAVIGATIONTYPE_IID)
enum {
firstMessage = 1,
nextMessage = 2,
previousMessage = 3,
lastMessage = 4,
toggleThreadKilled = 5,
firstUnreadMessage = 6,
nextUnreadMessage = 7,
previousUnreadMessage = 8,
lastUnreadMessage = 9,
nextUnreadThread = 10,
nextUnreadFolder = 11,
nextFolder = 12,
readMore = 13,
back = 15,
forward = 16,
firstFlagged = 17,
nextFlagged = 18,
previousFlagged = 19,
firstNew = 20,
editUndo = 21,
editRedo = 22,
toggleSubthreadKilled = 23
};
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgNavigationType, NS_MSGNAVIGATIONTYPE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGNAVIGATIONTYPE \
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSMSGNAVIGATIONTYPE \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGNAVIGATIONTYPE(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGNAVIGATIONTYPE(_to) \
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public nsMsgNavigationType
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSMSGNAVIGATIONTYPE
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgNavigationType)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgDBView */
#define NS_IMSGDBVIEW_IID_STR "fe8a2326-4dd0-11e5-8b8a-206a8aa7a25c"
#define NS_IMSGDBVIEW_IID \
{0xfe8a2326, 0x4dd0, 0x11e5, \
{ 0x8b, 0x8a, 0x20, 0x6a, 0x8a, 0xa7, 0xa2, 0x5c }}
class NS_NO_VTABLE nsIMsgDBView : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGDBVIEW_IID)
/* void open (in nsIMsgFolder folder, in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder, in nsMsgViewFlagsTypeValue viewFlags, out long count); */
NS_IMETHOD Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count) = 0;
/* void openWithHdrs (in nsISimpleEnumerator aHeaders, in nsMsgViewSortTypeValue aSortType, in nsMsgViewSortOrderValue aSortOrder, in nsMsgViewFlagsTypeValue aViewFlags, out long aCount); */
NS_IMETHOD OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount) = 0;
/* void close (); */
NS_IMETHOD Close(void) = 0;
/* void init (in nsIMessenger aMessengerInstance, in nsIMsgWindow aMsgWindow, in nsIMsgDBViewCommandUpdater aCommandUpdater); */
NS_IMETHOD Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater) = 0;
/* void sort (in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder); */
NS_IMETHOD Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder) = 0;
/* void doCommand (in nsMsgViewCommandTypeValue command); */
NS_IMETHOD DoCommand(nsMsgViewCommandTypeValue command) = 0;
/* void doCommandWithFolder (in nsMsgViewCommandTypeValue command, in nsIMsgFolder destFolder); */
NS_IMETHOD DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder) = 0;
/* void getCommandStatus (in nsMsgViewCommandTypeValue command, out boolean selectable_p, out nsMsgViewCommandCheckStateValue selected_p); */
NS_IMETHOD GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p) = 0;
/* readonly attribute nsMsgViewTypeValue viewType; */
NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) = 0;
/* attribute nsMsgViewFlagsTypeValue viewFlags; */
NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) = 0;
NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) = 0;
/* attribute nsMsgViewSortTypeValue sortType; */
NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) = 0;
NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) = 0;
/* readonly attribute nsMsgViewSortOrderValue sortOrder; */
NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) = 0;
/* attribute nsMsgViewSortTypeValue secondarySortType; */
NS_IMETHOD GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType) = 0;
NS_IMETHOD SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType) = 0;
/* attribute nsMsgViewSortOrderValue secondarySortOrder; */
NS_IMETHOD GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder) = 0;
NS_IMETHOD SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder) = 0;
/* readonly attribute nsMsgKey keyForFirstSelectedMessage; */
NS_IMETHOD GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage) = 0;
/* readonly attribute nsMsgViewIndex viewIndexForFirstSelectedMsg; */
NS_IMETHOD GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg) = 0;
/* void viewNavigate (in nsMsgNavigationTypeValue motion, out nsMsgKey resultId, out nsMsgViewIndex resultIndex, out nsMsgViewIndex threadIndex, in boolean wrap); */
NS_IMETHOD ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap) = 0;
/* boolean navigateStatus (in nsMsgNavigationTypeValue motion); */
NS_IMETHOD NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval) = 0;
/* readonly attribute nsIMsgFolder msgFolder; */
NS_IMETHOD GetMsgFolder(nsIMsgFolder * *aMsgFolder) = 0;
/* attribute nsIMsgFolder viewFolder; */
NS_IMETHOD GetViewFolder(nsIMsgFolder * *aViewFolder) = 0;
NS_IMETHOD SetViewFolder(nsIMsgFolder *aViewFolder) = 0;
/* nsMsgKey getKeyAt (in nsMsgViewIndex index); */
NS_IMETHOD GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval) = 0;
/* unsigned long getFlagsAt (in nsMsgViewIndex aIndex); */
NS_IMETHOD GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval) = 0;
/* nsIMsgDBHdr getMsgHdrAt (in nsMsgViewIndex aIndex); */
NS_IMETHOD GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval) = 0;
/* nsIMsgFolder getFolderForViewIndex (in nsMsgViewIndex index); */
NS_IMETHOD GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval) = 0;
/* ACString getURIForViewIndex (in nsMsgViewIndex index); */
NS_IMETHOD GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval) = 0;
/* nsIMsgDBView cloneDBView (in nsIMessenger aMessengerInstance, in nsIMsgWindow aMsgWindow, in nsIMsgDBViewCommandUpdater aCommandUpdater); */
NS_IMETHOD CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval) = 0;
/* void getSelectedMsgHdrs ([optional] out unsigned long count, [array, size_is (count), retval] out nsIMsgDBHdr headers); */
NS_IMETHOD GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers) = 0;
/* [deprecated] nsIMutableArray getMsgHdrsForSelection (); */
NS_IMETHOD GetMsgHdrsForSelection(nsIMutableArray * *_retval) = 0;
/* void getURIsForSelection (out unsigned long count, [array, size_is (count), retval] out string uris); */
NS_IMETHOD GetURIsForSelection(uint32_t *count, char * **uris) = 0;
/* void getIndicesForSelection (out unsigned long count, [array, size_is (count), retval] out nsMsgViewIndex indices); */
NS_IMETHOD GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices) = 0;
/* readonly attribute ACString URIForFirstSelectedMessage; */
NS_IMETHOD GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage) = 0;
/* readonly attribute nsIMsgDBHdr hdrForFirstSelectedMessage; */
NS_IMETHOD GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage) = 0;
/* void loadMessageByMsgKey (in nsMsgKey aMsgKey); */
NS_IMETHOD LoadMessageByMsgKey(nsMsgKey aMsgKey) = 0;
/* void loadMessageByViewIndex (in nsMsgViewIndex aIndex); */
NS_IMETHOD LoadMessageByViewIndex(nsMsgViewIndex aIndex) = 0;
/* void loadMessageByUrl (in string aUrl); */
NS_IMETHOD LoadMessageByUrl(const char * aUrl) = 0;
/* void reloadMessage (); */
NS_IMETHOD ReloadMessage(void) = 0;
/* void reloadMessageWithAllParts (); */
NS_IMETHOD ReloadMessageWithAllParts(void) = 0;
/* readonly attribute unsigned long numSelected; */
NS_IMETHOD GetNumSelected(uint32_t *aNumSelected) = 0;
/* readonly attribute nsMsgViewIndex msgToSelectAfterDelete; */
NS_IMETHOD GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete) = 0;
/* readonly attribute nsMsgViewIndex currentlyDisplayedMessage; */
NS_IMETHOD GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage) = 0;
/* readonly attribute long numMsgsInView; */
NS_IMETHOD GetNumMsgsInView(int32_t *aNumMsgsInView) = 0;
/* void selectMsgByKey (in nsMsgKey key); */
NS_IMETHOD SelectMsgByKey(nsMsgKey key) = 0;
/* void selectFolderMsgByKey (in nsIMsgFolder aFolder, in nsMsgKey aKey); */
NS_IMETHOD SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey) = 0;
/* attribute boolean suppressMsgDisplay; */
NS_IMETHOD GetSuppressMsgDisplay(bool *aSuppressMsgDisplay) = 0;
NS_IMETHOD SetSuppressMsgDisplay(bool aSuppressMsgDisplay) = 0;
/* attribute boolean suppressCommandUpdating; */
NS_IMETHOD GetSuppressCommandUpdating(bool *aSuppressCommandUpdating) = 0;
NS_IMETHOD SetSuppressCommandUpdating(bool aSuppressCommandUpdating) = 0;
/* attribute boolean suppressChangeNotifications; */
NS_IMETHOD GetSuppressChangeNotifications(bool *aSuppressChangeNotifications) = 0;
NS_IMETHOD SetSuppressChangeNotifications(bool aSuppressChangeNotifications) = 0;
/* void onDeleteCompleted (in boolean succeeded); */
NS_IMETHOD OnDeleteCompleted(bool succeeded) = 0;
/* readonly attribute nsIMsgDatabase db; */
NS_IMETHOD GetDb(nsIMsgDatabase * *aDb) = 0;
/* readonly attribute boolean supportsThreading; */
NS_IMETHOD GetSupportsThreading(bool *aSupportsThreading) = 0;
/* attribute nsIMsgSearchSession searchSession; */
NS_IMETHOD GetSearchSession(nsIMsgSearchSession * *aSearchSession) = 0;
NS_IMETHOD SetSearchSession(nsIMsgSearchSession *aSearchSession) = 0;
/* readonly attribute boolean removeRowOnMoveOrDelete; */
NS_IMETHOD GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete) = 0;
/* nsMsgViewIndex findIndexFromKey (in nsMsgKey aMsgKey, in boolean aExpand); */
NS_IMETHOD FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval) = 0;
/* nsMsgViewIndex findIndexOfMsgHdr (in nsIMsgDBHdr aMsgHdr, in boolean aExpand); */
NS_IMETHOD FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval) = 0;
/* void ExpandAndSelectThreadByIndex (in nsMsgViewIndex aIndex, in boolean aAugment); */
NS_IMETHOD ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment) = 0;
/* nsIMsgThread getThreadContainingIndex (in nsMsgViewIndex aIndex); */
NS_IMETHOD GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval) = 0;
/* void insertTreeRows (in nsMsgViewIndex aIndex, in unsigned long aNumRows, in nsMsgKey aKey, in nsMsgViewFlagsTypeValue aFlags, in unsigned long aLevel, in nsIMsgFolder aFolder); */
NS_IMETHOD InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder) = 0;
/* void removeTreeRows (in nsMsgViewIndex aIndex, in unsigned long aNumRows); */
NS_IMETHOD RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows) = 0;
/* void NoteChange (in nsMsgViewIndex aFirstLineChanged, in long aNumRows, in nsMsgViewNotificationCodeValue aChangeType); */
NS_IMETHOD NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType) = 0;
/* nsIMsgThread getThreadContainingMsgHdr (in nsIMsgDBHdr aMsgHdr); */
NS_IMETHOD GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval) = 0;
/* readonly attribute boolean usingLines; */
NS_IMETHOD GetUsingLines(bool *aUsingLines) = 0;
/* void addColumnHandler (in AString aColumn, in nsIMsgCustomColumnHandler aHandler); */
NS_IMETHOD AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler) = 0;
/* void removeColumnHandler (in AString aColumn); */
NS_IMETHOD RemoveColumnHandler(const nsAString & aColumn) = 0;
/* nsIMsgCustomColumnHandler getColumnHandler (in AString aColumn); */
NS_IMETHOD GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval) = 0;
/* attribute AString curCustomColumn; */
NS_IMETHOD GetCurCustomColumn(nsAString & aCurCustomColumn) = 0;
NS_IMETHOD SetCurCustomColumn(const nsAString & aCurCustomColumn) = 0;
/* readonly attribute AString secondaryCustomColumn; */
NS_IMETHOD GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn) = 0;
/* AString cellTextForColumn (in long aRow, in wstring aColumnName); */
NS_IMETHOD CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgDBView, NS_IMSGDBVIEW_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGDBVIEW \
NS_IMETHOD Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count) override; \
NS_IMETHOD OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount) override; \
NS_IMETHOD Close(void) override; \
NS_IMETHOD Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater) override; \
NS_IMETHOD Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder) override; \
NS_IMETHOD DoCommand(nsMsgViewCommandTypeValue command) override; \
NS_IMETHOD DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder) override; \
NS_IMETHOD GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p) override; \
NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override; \
NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override; \
NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override; \
NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override; \
NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override; \
NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override; \
NS_IMETHOD GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType) override; \
NS_IMETHOD SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType) override; \
NS_IMETHOD GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder) override; \
NS_IMETHOD SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder) override; \
NS_IMETHOD GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage) override; \
NS_IMETHOD GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg) override; \
NS_IMETHOD ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap) override; \
NS_IMETHOD NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval) override; \
NS_IMETHOD GetMsgFolder(nsIMsgFolder * *aMsgFolder) override; \
NS_IMETHOD GetViewFolder(nsIMsgFolder * *aViewFolder) override; \
NS_IMETHOD SetViewFolder(nsIMsgFolder *aViewFolder) override; \
NS_IMETHOD GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval) override; \
NS_IMETHOD GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval) override; \
NS_IMETHOD GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval) override; \
NS_IMETHOD GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval) override; \
NS_IMETHOD GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval) override; \
NS_IMETHOD CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval) override; \
NS_IMETHOD GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers) override; \
NS_IMETHOD GetMsgHdrsForSelection(nsIMutableArray * *_retval) override; \
NS_IMETHOD GetURIsForSelection(uint32_t *count, char * **uris) override; \
NS_IMETHOD GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices) override; \
NS_IMETHOD GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage) override; \
NS_IMETHOD GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage) override; \
NS_IMETHOD LoadMessageByMsgKey(nsMsgKey aMsgKey) override; \
NS_IMETHOD LoadMessageByViewIndex(nsMsgViewIndex aIndex) override; \
NS_IMETHOD LoadMessageByUrl(const char * aUrl) override; \
NS_IMETHOD ReloadMessage(void) override; \
NS_IMETHOD ReloadMessageWithAllParts(void) override; \
NS_IMETHOD GetNumSelected(uint32_t *aNumSelected) override; \
NS_IMETHOD GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete) override; \
NS_IMETHOD GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage) override; \
NS_IMETHOD GetNumMsgsInView(int32_t *aNumMsgsInView) override; \
NS_IMETHOD SelectMsgByKey(nsMsgKey key) override; \
NS_IMETHOD SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey) override; \
NS_IMETHOD GetSuppressMsgDisplay(bool *aSuppressMsgDisplay) override; \
NS_IMETHOD SetSuppressMsgDisplay(bool aSuppressMsgDisplay) override; \
NS_IMETHOD GetSuppressCommandUpdating(bool *aSuppressCommandUpdating) override; \
NS_IMETHOD SetSuppressCommandUpdating(bool aSuppressCommandUpdating) override; \
NS_IMETHOD GetSuppressChangeNotifications(bool *aSuppressChangeNotifications) override; \
NS_IMETHOD SetSuppressChangeNotifications(bool aSuppressChangeNotifications) override; \
NS_IMETHOD OnDeleteCompleted(bool succeeded) override; \
NS_IMETHOD GetDb(nsIMsgDatabase * *aDb) override; \
NS_IMETHOD GetSupportsThreading(bool *aSupportsThreading) override; \
NS_IMETHOD GetSearchSession(nsIMsgSearchSession * *aSearchSession) override; \
NS_IMETHOD SetSearchSession(nsIMsgSearchSession *aSearchSession) override; \
NS_IMETHOD GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete) override; \
NS_IMETHOD FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval) override; \
NS_IMETHOD FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval) override; \
NS_IMETHOD ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment) override; \
NS_IMETHOD GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval) override; \
NS_IMETHOD InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder) override; \
NS_IMETHOD RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows) override; \
NS_IMETHOD NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType) override; \
NS_IMETHOD GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval) override; \
NS_IMETHOD GetUsingLines(bool *aUsingLines) override; \
NS_IMETHOD AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler) override; \
NS_IMETHOD RemoveColumnHandler(const nsAString & aColumn) override; \
NS_IMETHOD GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval) override; \
NS_IMETHOD GetCurCustomColumn(nsAString & aCurCustomColumn) override; \
NS_IMETHOD SetCurCustomColumn(const nsAString & aCurCustomColumn) override; \
NS_IMETHOD GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn) override; \
NS_IMETHOD CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGDBVIEW \
NS_METHOD Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count); \
NS_METHOD OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount); \
NS_METHOD Close(void); \
NS_METHOD Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater); \
NS_METHOD Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder); \
NS_METHOD DoCommand(nsMsgViewCommandTypeValue command); \
NS_METHOD DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder); \
NS_METHOD GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p); \
NS_METHOD GetViewType(nsMsgViewTypeValue *aViewType); \
NS_METHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags); \
NS_METHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags); \
NS_METHOD GetSortType(nsMsgViewSortTypeValue *aSortType); \
NS_METHOD SetSortType(nsMsgViewSortTypeValue aSortType); \
NS_METHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder); \
NS_METHOD GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType); \
NS_METHOD SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType); \
NS_METHOD GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder); \
NS_METHOD SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder); \
NS_METHOD GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage); \
NS_METHOD GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg); \
NS_METHOD ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap); \
NS_METHOD NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval); \
NS_METHOD GetMsgFolder(nsIMsgFolder * *aMsgFolder); \
NS_METHOD GetViewFolder(nsIMsgFolder * *aViewFolder); \
NS_METHOD SetViewFolder(nsIMsgFolder *aViewFolder); \
NS_METHOD GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval); \
NS_METHOD GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval); \
NS_METHOD GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval); \
NS_METHOD GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval); \
NS_METHOD GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval); \
NS_METHOD CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval); \
NS_METHOD GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers); \
NS_METHOD GetMsgHdrsForSelection(nsIMutableArray * *_retval); \
NS_METHOD GetURIsForSelection(uint32_t *count, char * **uris); \
NS_METHOD GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices); \
NS_METHOD GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage); \
NS_METHOD GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage); \
NS_METHOD LoadMessageByMsgKey(nsMsgKey aMsgKey); \
NS_METHOD LoadMessageByViewIndex(nsMsgViewIndex aIndex); \
NS_METHOD LoadMessageByUrl(const char * aUrl); \
NS_METHOD ReloadMessage(void); \
NS_METHOD ReloadMessageWithAllParts(void); \
NS_METHOD GetNumSelected(uint32_t *aNumSelected); \
NS_METHOD GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete); \
NS_METHOD GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage); \
NS_METHOD GetNumMsgsInView(int32_t *aNumMsgsInView); \
NS_METHOD SelectMsgByKey(nsMsgKey key); \
NS_METHOD SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey); \
NS_METHOD GetSuppressMsgDisplay(bool *aSuppressMsgDisplay); \
NS_METHOD SetSuppressMsgDisplay(bool aSuppressMsgDisplay); \
NS_METHOD GetSuppressCommandUpdating(bool *aSuppressCommandUpdating); \
NS_METHOD SetSuppressCommandUpdating(bool aSuppressCommandUpdating); \
NS_METHOD GetSuppressChangeNotifications(bool *aSuppressChangeNotifications); \
NS_METHOD SetSuppressChangeNotifications(bool aSuppressChangeNotifications); \
NS_METHOD OnDeleteCompleted(bool succeeded); \
NS_METHOD GetDb(nsIMsgDatabase * *aDb); \
NS_METHOD GetSupportsThreading(bool *aSupportsThreading); \
NS_METHOD GetSearchSession(nsIMsgSearchSession * *aSearchSession); \
NS_METHOD SetSearchSession(nsIMsgSearchSession *aSearchSession); \
NS_METHOD GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete); \
NS_METHOD FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval); \
NS_METHOD FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval); \
NS_METHOD ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment); \
NS_METHOD GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval); \
NS_METHOD InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder); \
NS_METHOD RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows); \
NS_METHOD NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType); \
NS_METHOD GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval); \
NS_METHOD GetUsingLines(bool *aUsingLines); \
NS_METHOD AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler); \
NS_METHOD RemoveColumnHandler(const nsAString & aColumn); \
NS_METHOD GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval); \
NS_METHOD GetCurCustomColumn(nsAString & aCurCustomColumn); \
NS_METHOD SetCurCustomColumn(const nsAString & aCurCustomColumn); \
NS_METHOD GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn); \
NS_METHOD CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGDBVIEW(_to) \
NS_IMETHOD Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count) override { return _to Open(folder, sortType, sortOrder, viewFlags, count); } \
NS_IMETHOD OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount) override { return _to OpenWithHdrs(aHeaders, aSortType, aSortOrder, aViewFlags, aCount); } \
NS_IMETHOD Close(void) override { return _to Close(); } \
NS_IMETHOD Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater) override { return _to Init(aMessengerInstance, aMsgWindow, aCommandUpdater); } \
NS_IMETHOD Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder) override { return _to Sort(sortType, sortOrder); } \
NS_IMETHOD DoCommand(nsMsgViewCommandTypeValue command) override { return _to DoCommand(command); } \
NS_IMETHOD DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder) override { return _to DoCommandWithFolder(command, destFolder); } \
NS_IMETHOD GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p) override { return _to GetCommandStatus(command, selectable_p, selected_p); } \
NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override { return _to GetViewType(aViewType); } \
NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override { return _to GetViewFlags(aViewFlags); } \
NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override { return _to SetViewFlags(aViewFlags); } \
NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override { return _to GetSortType(aSortType); } \
NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override { return _to SetSortType(aSortType); } \
NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override { return _to GetSortOrder(aSortOrder); } \
NS_IMETHOD GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType) override { return _to GetSecondarySortType(aSecondarySortType); } \
NS_IMETHOD SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType) override { return _to SetSecondarySortType(aSecondarySortType); } \
NS_IMETHOD GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder) override { return _to GetSecondarySortOrder(aSecondarySortOrder); } \
NS_IMETHOD SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder) override { return _to SetSecondarySortOrder(aSecondarySortOrder); } \
NS_IMETHOD GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage) override { return _to GetKeyForFirstSelectedMessage(aKeyForFirstSelectedMessage); } \
NS_IMETHOD GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg) override { return _to GetViewIndexForFirstSelectedMsg(aViewIndexForFirstSelectedMsg); } \
NS_IMETHOD ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap) override { return _to ViewNavigate(motion, resultId, resultIndex, threadIndex, wrap); } \
NS_IMETHOD NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval) override { return _to NavigateStatus(motion, _retval); } \
NS_IMETHOD GetMsgFolder(nsIMsgFolder * *aMsgFolder) override { return _to GetMsgFolder(aMsgFolder); } \
NS_IMETHOD GetViewFolder(nsIMsgFolder * *aViewFolder) override { return _to GetViewFolder(aViewFolder); } \
NS_IMETHOD SetViewFolder(nsIMsgFolder *aViewFolder) override { return _to SetViewFolder(aViewFolder); } \
NS_IMETHOD GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval) override { return _to GetKeyAt(index, _retval); } \
NS_IMETHOD GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval) override { return _to GetFlagsAt(aIndex, _retval); } \
NS_IMETHOD GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval) override { return _to GetMsgHdrAt(aIndex, _retval); } \
NS_IMETHOD GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval) override { return _to GetFolderForViewIndex(index, _retval); } \
NS_IMETHOD GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval) override { return _to GetURIForViewIndex(index, _retval); } \
NS_IMETHOD CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval) override { return _to CloneDBView(aMessengerInstance, aMsgWindow, aCommandUpdater, _retval); } \
NS_IMETHOD GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers) override { return _to GetSelectedMsgHdrs(count, headers); } \
NS_IMETHOD GetMsgHdrsForSelection(nsIMutableArray * *_retval) override { return _to GetMsgHdrsForSelection(_retval); } \
NS_IMETHOD GetURIsForSelection(uint32_t *count, char * **uris) override { return _to GetURIsForSelection(count, uris); } \
NS_IMETHOD GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices) override { return _to GetIndicesForSelection(count, indices); } \
NS_IMETHOD GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage) override { return _to GetURIForFirstSelectedMessage(aURIForFirstSelectedMessage); } \
NS_IMETHOD GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage) override { return _to GetHdrForFirstSelectedMessage(aHdrForFirstSelectedMessage); } \
NS_IMETHOD LoadMessageByMsgKey(nsMsgKey aMsgKey) override { return _to LoadMessageByMsgKey(aMsgKey); } \
NS_IMETHOD LoadMessageByViewIndex(nsMsgViewIndex aIndex) override { return _to LoadMessageByViewIndex(aIndex); } \
NS_IMETHOD LoadMessageByUrl(const char * aUrl) override { return _to LoadMessageByUrl(aUrl); } \
NS_IMETHOD ReloadMessage(void) override { return _to ReloadMessage(); } \
NS_IMETHOD ReloadMessageWithAllParts(void) override { return _to ReloadMessageWithAllParts(); } \
NS_IMETHOD GetNumSelected(uint32_t *aNumSelected) override { return _to GetNumSelected(aNumSelected); } \
NS_IMETHOD GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete) override { return _to GetMsgToSelectAfterDelete(aMsgToSelectAfterDelete); } \
NS_IMETHOD GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage) override { return _to GetCurrentlyDisplayedMessage(aCurrentlyDisplayedMessage); } \
NS_IMETHOD GetNumMsgsInView(int32_t *aNumMsgsInView) override { return _to GetNumMsgsInView(aNumMsgsInView); } \
NS_IMETHOD SelectMsgByKey(nsMsgKey key) override { return _to SelectMsgByKey(key); } \
NS_IMETHOD SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey) override { return _to SelectFolderMsgByKey(aFolder, aKey); } \
NS_IMETHOD GetSuppressMsgDisplay(bool *aSuppressMsgDisplay) override { return _to GetSuppressMsgDisplay(aSuppressMsgDisplay); } \
NS_IMETHOD SetSuppressMsgDisplay(bool aSuppressMsgDisplay) override { return _to SetSuppressMsgDisplay(aSuppressMsgDisplay); } \
NS_IMETHOD GetSuppressCommandUpdating(bool *aSuppressCommandUpdating) override { return _to GetSuppressCommandUpdating(aSuppressCommandUpdating); } \
NS_IMETHOD SetSuppressCommandUpdating(bool aSuppressCommandUpdating) override { return _to SetSuppressCommandUpdating(aSuppressCommandUpdating); } \
NS_IMETHOD GetSuppressChangeNotifications(bool *aSuppressChangeNotifications) override { return _to GetSuppressChangeNotifications(aSuppressChangeNotifications); } \
NS_IMETHOD SetSuppressChangeNotifications(bool aSuppressChangeNotifications) override { return _to SetSuppressChangeNotifications(aSuppressChangeNotifications); } \
NS_IMETHOD OnDeleteCompleted(bool succeeded) override { return _to OnDeleteCompleted(succeeded); } \
NS_IMETHOD GetDb(nsIMsgDatabase * *aDb) override { return _to GetDb(aDb); } \
NS_IMETHOD GetSupportsThreading(bool *aSupportsThreading) override { return _to GetSupportsThreading(aSupportsThreading); } \
NS_IMETHOD GetSearchSession(nsIMsgSearchSession * *aSearchSession) override { return _to GetSearchSession(aSearchSession); } \
NS_IMETHOD SetSearchSession(nsIMsgSearchSession *aSearchSession) override { return _to SetSearchSession(aSearchSession); } \
NS_IMETHOD GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete) override { return _to GetRemoveRowOnMoveOrDelete(aRemoveRowOnMoveOrDelete); } \
NS_IMETHOD FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval) override { return _to FindIndexFromKey(aMsgKey, aExpand, _retval); } \
NS_IMETHOD FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval) override { return _to FindIndexOfMsgHdr(aMsgHdr, aExpand, _retval); } \
NS_IMETHOD ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment) override { return _to ExpandAndSelectThreadByIndex(aIndex, aAugment); } \
NS_IMETHOD GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval) override { return _to GetThreadContainingIndex(aIndex, _retval); } \
NS_IMETHOD InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder) override { return _to InsertTreeRows(aIndex, aNumRows, aKey, aFlags, aLevel, aFolder); } \
NS_IMETHOD RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows) override { return _to RemoveTreeRows(aIndex, aNumRows); } \
NS_IMETHOD NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType) override { return _to NoteChange(aFirstLineChanged, aNumRows, aChangeType); } \
NS_IMETHOD GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval) override { return _to GetThreadContainingMsgHdr(aMsgHdr, _retval); } \
NS_IMETHOD GetUsingLines(bool *aUsingLines) override { return _to GetUsingLines(aUsingLines); } \
NS_IMETHOD AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler) override { return _to AddColumnHandler(aColumn, aHandler); } \
NS_IMETHOD RemoveColumnHandler(const nsAString & aColumn) override { return _to RemoveColumnHandler(aColumn); } \
NS_IMETHOD GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval) override { return _to GetColumnHandler(aColumn, _retval); } \
NS_IMETHOD GetCurCustomColumn(nsAString & aCurCustomColumn) override { return _to GetCurCustomColumn(aCurCustomColumn); } \
NS_IMETHOD SetCurCustomColumn(const nsAString & aCurCustomColumn) override { return _to SetCurCustomColumn(aCurCustomColumn); } \
NS_IMETHOD GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn) override { return _to GetSecondaryCustomColumn(aSecondaryCustomColumn); } \
NS_IMETHOD CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval) override { return _to CellTextForColumn(aRow, aColumnName, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGDBVIEW(_to) \
NS_IMETHOD Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(folder, sortType, sortOrder, viewFlags, count); } \
NS_IMETHOD OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OpenWithHdrs(aHeaders, aSortType, aSortOrder, aViewFlags, aCount); } \
NS_IMETHOD Close(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Close(); } \
NS_IMETHOD Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aMessengerInstance, aMsgWindow, aCommandUpdater); } \
NS_IMETHOD Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Sort(sortType, sortOrder); } \
NS_IMETHOD DoCommand(nsMsgViewCommandTypeValue command) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoCommand(command); } \
NS_IMETHOD DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoCommandWithFolder(command, destFolder); } \
NS_IMETHOD GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommandStatus(command, selectable_p, selected_p); } \
NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewType(aViewType); } \
NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewFlags(aViewFlags); } \
NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewFlags(aViewFlags); } \
NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortType(aSortType); } \
NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSortType(aSortType); } \
NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortOrder(aSortOrder); } \
NS_IMETHOD GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecondarySortType(aSecondarySortType); } \
NS_IMETHOD SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSecondarySortType(aSecondarySortType); } \
NS_IMETHOD GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecondarySortOrder(aSecondarySortOrder); } \
NS_IMETHOD SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSecondarySortOrder(aSecondarySortOrder); } \
NS_IMETHOD GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyForFirstSelectedMessage(aKeyForFirstSelectedMessage); } \
NS_IMETHOD GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewIndexForFirstSelectedMsg(aViewIndexForFirstSelectedMsg); } \
NS_IMETHOD ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ViewNavigate(motion, resultId, resultIndex, threadIndex, wrap); } \
NS_IMETHOD NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NavigateStatus(motion, _retval); } \
NS_IMETHOD GetMsgFolder(nsIMsgFolder * *aMsgFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgFolder(aMsgFolder); } \
NS_IMETHOD GetViewFolder(nsIMsgFolder * *aViewFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewFolder(aViewFolder); } \
NS_IMETHOD SetViewFolder(nsIMsgFolder *aViewFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewFolder(aViewFolder); } \
NS_IMETHOD GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyAt(index, _retval); } \
NS_IMETHOD GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlagsAt(aIndex, _retval); } \
NS_IMETHOD GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgHdrAt(aIndex, _retval); } \
NS_IMETHOD GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderForViewIndex(index, _retval); } \
NS_IMETHOD GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURIForViewIndex(index, _retval); } \
NS_IMETHOD CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloneDBView(aMessengerInstance, aMsgWindow, aCommandUpdater, _retval); } \
NS_IMETHOD GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedMsgHdrs(count, headers); } \
NS_IMETHOD GetMsgHdrsForSelection(nsIMutableArray * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgHdrsForSelection(_retval); } \
NS_IMETHOD GetURIsForSelection(uint32_t *count, char * **uris) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURIsForSelection(count, uris); } \
NS_IMETHOD GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIndicesForSelection(count, indices); } \
NS_IMETHOD GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURIForFirstSelectedMessage(aURIForFirstSelectedMessage); } \
NS_IMETHOD GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHdrForFirstSelectedMessage(aHdrForFirstSelectedMessage); } \
NS_IMETHOD LoadMessageByMsgKey(nsMsgKey aMsgKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadMessageByMsgKey(aMsgKey); } \
NS_IMETHOD LoadMessageByViewIndex(nsMsgViewIndex aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadMessageByViewIndex(aIndex); } \
NS_IMETHOD LoadMessageByUrl(const char * aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadMessageByUrl(aUrl); } \
NS_IMETHOD ReloadMessage(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReloadMessage(); } \
NS_IMETHOD ReloadMessageWithAllParts(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReloadMessageWithAllParts(); } \
NS_IMETHOD GetNumSelected(uint32_t *aNumSelected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumSelected(aNumSelected); } \
NS_IMETHOD GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgToSelectAfterDelete(aMsgToSelectAfterDelete); } \
NS_IMETHOD GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentlyDisplayedMessage(aCurrentlyDisplayedMessage); } \
NS_IMETHOD GetNumMsgsInView(int32_t *aNumMsgsInView) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumMsgsInView(aNumMsgsInView); } \
NS_IMETHOD SelectMsgByKey(nsMsgKey key) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectMsgByKey(key); } \
NS_IMETHOD SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SelectFolderMsgByKey(aFolder, aKey); } \
NS_IMETHOD GetSuppressMsgDisplay(bool *aSuppressMsgDisplay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuppressMsgDisplay(aSuppressMsgDisplay); } \
NS_IMETHOD SetSuppressMsgDisplay(bool aSuppressMsgDisplay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSuppressMsgDisplay(aSuppressMsgDisplay); } \
NS_IMETHOD GetSuppressCommandUpdating(bool *aSuppressCommandUpdating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuppressCommandUpdating(aSuppressCommandUpdating); } \
NS_IMETHOD SetSuppressCommandUpdating(bool aSuppressCommandUpdating) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSuppressCommandUpdating(aSuppressCommandUpdating); } \
NS_IMETHOD GetSuppressChangeNotifications(bool *aSuppressChangeNotifications) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuppressChangeNotifications(aSuppressChangeNotifications); } \
NS_IMETHOD SetSuppressChangeNotifications(bool aSuppressChangeNotifications) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSuppressChangeNotifications(aSuppressChangeNotifications); } \
NS_IMETHOD OnDeleteCompleted(bool succeeded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnDeleteCompleted(succeeded); } \
NS_IMETHOD GetDb(nsIMsgDatabase * *aDb) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDb(aDb); } \
NS_IMETHOD GetSupportsThreading(bool *aSupportsThreading) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsThreading(aSupportsThreading); } \
NS_IMETHOD GetSearchSession(nsIMsgSearchSession * *aSearchSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchSession(aSearchSession); } \
NS_IMETHOD SetSearchSession(nsIMsgSearchSession *aSearchSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchSession(aSearchSession); } \
NS_IMETHOD GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRemoveRowOnMoveOrDelete(aRemoveRowOnMoveOrDelete); } \
NS_IMETHOD FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindIndexFromKey(aMsgKey, aExpand, _retval); } \
NS_IMETHOD FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindIndexOfMsgHdr(aMsgHdr, aExpand, _retval); } \
NS_IMETHOD ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ExpandAndSelectThreadByIndex(aIndex, aAugment); } \
NS_IMETHOD GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetThreadContainingIndex(aIndex, _retval); } \
NS_IMETHOD InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertTreeRows(aIndex, aNumRows, aKey, aFlags, aLevel, aFolder); } \
NS_IMETHOD RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveTreeRows(aIndex, aNumRows); } \
NS_IMETHOD NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NoteChange(aFirstLineChanged, aNumRows, aChangeType); } \
NS_IMETHOD GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetThreadContainingMsgHdr(aMsgHdr, _retval); } \
NS_IMETHOD GetUsingLines(bool *aUsingLines) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsingLines(aUsingLines); } \
NS_IMETHOD AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddColumnHandler(aColumn, aHandler); } \
NS_IMETHOD RemoveColumnHandler(const nsAString & aColumn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveColumnHandler(aColumn); } \
NS_IMETHOD GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColumnHandler(aColumn, _retval); } \
NS_IMETHOD GetCurCustomColumn(nsAString & aCurCustomColumn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurCustomColumn(aCurCustomColumn); } \
NS_IMETHOD SetCurCustomColumn(const nsAString & aCurCustomColumn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurCustomColumn(aCurCustomColumn); } \
NS_IMETHOD GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSecondaryCustomColumn(aSecondaryCustomColumn); } \
NS_IMETHOD CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CellTextForColumn(aRow, aColumnName, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgDBView : public nsIMsgDBView
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGDBVIEW
nsMsgDBView();
private:
~nsMsgDBView();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgDBView, nsIMsgDBView)
nsMsgDBView::nsMsgDBView()
{
/* member initializers and constructor code */
}
nsMsgDBView::~nsMsgDBView()
{
/* destructor code */
}
/* void open (in nsIMsgFolder folder, in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder, in nsMsgViewFlagsTypeValue viewFlags, out long count); */
NS_IMETHODIMP nsMsgDBView::Open(nsIMsgFolder *folder, nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder, nsMsgViewFlagsTypeValue viewFlags, int32_t *count)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void openWithHdrs (in nsISimpleEnumerator aHeaders, in nsMsgViewSortTypeValue aSortType, in nsMsgViewSortOrderValue aSortOrder, in nsMsgViewFlagsTypeValue aViewFlags, out long aCount); */
NS_IMETHODIMP nsMsgDBView::OpenWithHdrs(nsISimpleEnumerator *aHeaders, nsMsgViewSortTypeValue aSortType, nsMsgViewSortOrderValue aSortOrder, nsMsgViewFlagsTypeValue aViewFlags, int32_t *aCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void close (); */
NS_IMETHODIMP nsMsgDBView::Close()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void init (in nsIMessenger aMessengerInstance, in nsIMsgWindow aMsgWindow, in nsIMsgDBViewCommandUpdater aCommandUpdater); */
NS_IMETHODIMP nsMsgDBView::Init(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void sort (in nsMsgViewSortTypeValue sortType, in nsMsgViewSortOrderValue sortOrder); */
NS_IMETHODIMP nsMsgDBView::Sort(nsMsgViewSortTypeValue sortType, nsMsgViewSortOrderValue sortOrder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void doCommand (in nsMsgViewCommandTypeValue command); */
NS_IMETHODIMP nsMsgDBView::DoCommand(nsMsgViewCommandTypeValue command)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void doCommandWithFolder (in nsMsgViewCommandTypeValue command, in nsIMsgFolder destFolder); */
NS_IMETHODIMP nsMsgDBView::DoCommandWithFolder(nsMsgViewCommandTypeValue command, nsIMsgFolder *destFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getCommandStatus (in nsMsgViewCommandTypeValue command, out boolean selectable_p, out nsMsgViewCommandCheckStateValue selected_p); */
NS_IMETHODIMP nsMsgDBView::GetCommandStatus(nsMsgViewCommandTypeValue command, bool *selectable_p, nsMsgViewCommandCheckStateValue *selected_p)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgViewTypeValue viewType; */
NS_IMETHODIMP nsMsgDBView::GetViewType(nsMsgViewTypeValue *aViewType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsMsgViewFlagsTypeValue viewFlags; */
NS_IMETHODIMP nsMsgDBView::GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsMsgViewSortTypeValue sortType; */
NS_IMETHODIMP nsMsgDBView::GetSortType(nsMsgViewSortTypeValue *aSortType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSortType(nsMsgViewSortTypeValue aSortType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgViewSortOrderValue sortOrder; */
NS_IMETHODIMP nsMsgDBView::GetSortOrder(nsMsgViewSortOrderValue *aSortOrder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsMsgViewSortTypeValue secondarySortType; */
NS_IMETHODIMP nsMsgDBView::GetSecondarySortType(nsMsgViewSortTypeValue *aSecondarySortType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSecondarySortType(nsMsgViewSortTypeValue aSecondarySortType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsMsgViewSortOrderValue secondarySortOrder; */
NS_IMETHODIMP nsMsgDBView::GetSecondarySortOrder(nsMsgViewSortOrderValue *aSecondarySortOrder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSecondarySortOrder(nsMsgViewSortOrderValue aSecondarySortOrder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgKey keyForFirstSelectedMessage; */
NS_IMETHODIMP nsMsgDBView::GetKeyForFirstSelectedMessage(nsMsgKey *aKeyForFirstSelectedMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgViewIndex viewIndexForFirstSelectedMsg; */
NS_IMETHODIMP nsMsgDBView::GetViewIndexForFirstSelectedMsg(nsMsgViewIndex *aViewIndexForFirstSelectedMsg)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void viewNavigate (in nsMsgNavigationTypeValue motion, out nsMsgKey resultId, out nsMsgViewIndex resultIndex, out nsMsgViewIndex threadIndex, in boolean wrap); */
NS_IMETHODIMP nsMsgDBView::ViewNavigate(nsMsgNavigationTypeValue motion, nsMsgKey *resultId, nsMsgViewIndex *resultIndex, nsMsgViewIndex *threadIndex, bool wrap)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean navigateStatus (in nsMsgNavigationTypeValue motion); */
NS_IMETHODIMP nsMsgDBView::NavigateStatus(nsMsgNavigationTypeValue motion, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIMsgFolder msgFolder; */
NS_IMETHODIMP nsMsgDBView::GetMsgFolder(nsIMsgFolder * *aMsgFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgFolder viewFolder; */
NS_IMETHODIMP nsMsgDBView::GetViewFolder(nsIMsgFolder * *aViewFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetViewFolder(nsIMsgFolder *aViewFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsMsgKey getKeyAt (in nsMsgViewIndex index); */
NS_IMETHODIMP nsMsgDBView::GetKeyAt(nsMsgViewIndex index, nsMsgKey *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long getFlagsAt (in nsMsgViewIndex aIndex); */
NS_IMETHODIMP nsMsgDBView::GetFlagsAt(nsMsgViewIndex aIndex, uint32_t *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgDBHdr getMsgHdrAt (in nsMsgViewIndex aIndex); */
NS_IMETHODIMP nsMsgDBView::GetMsgHdrAt(nsMsgViewIndex aIndex, nsIMsgDBHdr * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgFolder getFolderForViewIndex (in nsMsgViewIndex index); */
NS_IMETHODIMP nsMsgDBView::GetFolderForViewIndex(nsMsgViewIndex index, nsIMsgFolder * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* ACString getURIForViewIndex (in nsMsgViewIndex index); */
NS_IMETHODIMP nsMsgDBView::GetURIForViewIndex(nsMsgViewIndex index, nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgDBView cloneDBView (in nsIMessenger aMessengerInstance, in nsIMsgWindow aMsgWindow, in nsIMsgDBViewCommandUpdater aCommandUpdater); */
NS_IMETHODIMP nsMsgDBView::CloneDBView(nsIMessenger *aMessengerInstance, nsIMsgWindow *aMsgWindow, nsIMsgDBViewCommandUpdater *aCommandUpdater, nsIMsgDBView * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSelectedMsgHdrs ([optional] out unsigned long count, [array, size_is (count), retval] out nsIMsgDBHdr headers); */
NS_IMETHODIMP nsMsgDBView::GetSelectedMsgHdrs(uint32_t *count, nsIMsgDBHdr * **headers)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [deprecated] nsIMutableArray getMsgHdrsForSelection (); */
NS_IMETHODIMP nsMsgDBView::GetMsgHdrsForSelection(nsIMutableArray * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getURIsForSelection (out unsigned long count, [array, size_is (count), retval] out string uris); */
NS_IMETHODIMP nsMsgDBView::GetURIsForSelection(uint32_t *count, char * **uris)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getIndicesForSelection (out unsigned long count, [array, size_is (count), retval] out nsMsgViewIndex indices); */
NS_IMETHODIMP nsMsgDBView::GetIndicesForSelection(uint32_t *count, nsMsgViewIndex **indices)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute ACString URIForFirstSelectedMessage; */
NS_IMETHODIMP nsMsgDBView::GetURIForFirstSelectedMessage(nsACString & aURIForFirstSelectedMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIMsgDBHdr hdrForFirstSelectedMessage; */
NS_IMETHODIMP nsMsgDBView::GetHdrForFirstSelectedMessage(nsIMsgDBHdr * *aHdrForFirstSelectedMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loadMessageByMsgKey (in nsMsgKey aMsgKey); */
NS_IMETHODIMP nsMsgDBView::LoadMessageByMsgKey(nsMsgKey aMsgKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loadMessageByViewIndex (in nsMsgViewIndex aIndex); */
NS_IMETHODIMP nsMsgDBView::LoadMessageByViewIndex(nsMsgViewIndex aIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loadMessageByUrl (in string aUrl); */
NS_IMETHODIMP nsMsgDBView::LoadMessageByUrl(const char * aUrl)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reloadMessage (); */
NS_IMETHODIMP nsMsgDBView::ReloadMessage()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reloadMessageWithAllParts (); */
NS_IMETHODIMP nsMsgDBView::ReloadMessageWithAllParts()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long numSelected; */
NS_IMETHODIMP nsMsgDBView::GetNumSelected(uint32_t *aNumSelected)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgViewIndex msgToSelectAfterDelete; */
NS_IMETHODIMP nsMsgDBView::GetMsgToSelectAfterDelete(nsMsgViewIndex *aMsgToSelectAfterDelete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsMsgViewIndex currentlyDisplayedMessage; */
NS_IMETHODIMP nsMsgDBView::GetCurrentlyDisplayedMessage(nsMsgViewIndex *aCurrentlyDisplayedMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long numMsgsInView; */
NS_IMETHODIMP nsMsgDBView::GetNumMsgsInView(int32_t *aNumMsgsInView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectMsgByKey (in nsMsgKey key); */
NS_IMETHODIMP nsMsgDBView::SelectMsgByKey(nsMsgKey key)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void selectFolderMsgByKey (in nsIMsgFolder aFolder, in nsMsgKey aKey); */
NS_IMETHODIMP nsMsgDBView::SelectFolderMsgByKey(nsIMsgFolder *aFolder, nsMsgKey aKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean suppressMsgDisplay; */
NS_IMETHODIMP nsMsgDBView::GetSuppressMsgDisplay(bool *aSuppressMsgDisplay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSuppressMsgDisplay(bool aSuppressMsgDisplay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean suppressCommandUpdating; */
NS_IMETHODIMP nsMsgDBView::GetSuppressCommandUpdating(bool *aSuppressCommandUpdating)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSuppressCommandUpdating(bool aSuppressCommandUpdating)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean suppressChangeNotifications; */
NS_IMETHODIMP nsMsgDBView::GetSuppressChangeNotifications(bool *aSuppressChangeNotifications)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSuppressChangeNotifications(bool aSuppressChangeNotifications)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void onDeleteCompleted (in boolean succeeded); */
NS_IMETHODIMP nsMsgDBView::OnDeleteCompleted(bool succeeded)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIMsgDatabase db; */
NS_IMETHODIMP nsMsgDBView::GetDb(nsIMsgDatabase * *aDb)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean supportsThreading; */
NS_IMETHODIMP nsMsgDBView::GetSupportsThreading(bool *aSupportsThreading)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIMsgSearchSession searchSession; */
NS_IMETHODIMP nsMsgDBView::GetSearchSession(nsIMsgSearchSession * *aSearchSession)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetSearchSession(nsIMsgSearchSession *aSearchSession)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean removeRowOnMoveOrDelete; */
NS_IMETHODIMP nsMsgDBView::GetRemoveRowOnMoveOrDelete(bool *aRemoveRowOnMoveOrDelete)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsMsgViewIndex findIndexFromKey (in nsMsgKey aMsgKey, in boolean aExpand); */
NS_IMETHODIMP nsMsgDBView::FindIndexFromKey(nsMsgKey aMsgKey, bool aExpand, nsMsgViewIndex *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsMsgViewIndex findIndexOfMsgHdr (in nsIMsgDBHdr aMsgHdr, in boolean aExpand); */
NS_IMETHODIMP nsMsgDBView::FindIndexOfMsgHdr(nsIMsgDBHdr *aMsgHdr, bool aExpand, nsMsgViewIndex *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void ExpandAndSelectThreadByIndex (in nsMsgViewIndex aIndex, in boolean aAugment); */
NS_IMETHODIMP nsMsgDBView::ExpandAndSelectThreadByIndex(nsMsgViewIndex aIndex, bool aAugment)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgThread getThreadContainingIndex (in nsMsgViewIndex aIndex); */
NS_IMETHODIMP nsMsgDBView::GetThreadContainingIndex(nsMsgViewIndex aIndex, nsIMsgThread * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void insertTreeRows (in nsMsgViewIndex aIndex, in unsigned long aNumRows, in nsMsgKey aKey, in nsMsgViewFlagsTypeValue aFlags, in unsigned long aLevel, in nsIMsgFolder aFolder); */
NS_IMETHODIMP nsMsgDBView::InsertTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows, nsMsgKey aKey, nsMsgViewFlagsTypeValue aFlags, uint32_t aLevel, nsIMsgFolder *aFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeTreeRows (in nsMsgViewIndex aIndex, in unsigned long aNumRows); */
NS_IMETHODIMP nsMsgDBView::RemoveTreeRows(nsMsgViewIndex aIndex, uint32_t aNumRows)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void NoteChange (in nsMsgViewIndex aFirstLineChanged, in long aNumRows, in nsMsgViewNotificationCodeValue aChangeType); */
NS_IMETHODIMP nsMsgDBView::NoteChange(nsMsgViewIndex aFirstLineChanged, int32_t aNumRows, nsMsgViewNotificationCodeValue aChangeType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgThread getThreadContainingMsgHdr (in nsIMsgDBHdr aMsgHdr); */
NS_IMETHODIMP nsMsgDBView::GetThreadContainingMsgHdr(nsIMsgDBHdr *aMsgHdr, nsIMsgThread * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean usingLines; */
NS_IMETHODIMP nsMsgDBView::GetUsingLines(bool *aUsingLines)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addColumnHandler (in AString aColumn, in nsIMsgCustomColumnHandler aHandler); */
NS_IMETHODIMP nsMsgDBView::AddColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler *aHandler)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeColumnHandler (in AString aColumn); */
NS_IMETHODIMP nsMsgDBView::RemoveColumnHandler(const nsAString & aColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgCustomColumnHandler getColumnHandler (in AString aColumn); */
NS_IMETHODIMP nsMsgDBView::GetColumnHandler(const nsAString & aColumn, nsIMsgCustomColumnHandler * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString curCustomColumn; */
NS_IMETHODIMP nsMsgDBView::GetCurCustomColumn(nsAString & aCurCustomColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgDBView::SetCurCustomColumn(const nsAString & aCurCustomColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString secondaryCustomColumn; */
NS_IMETHODIMP nsMsgDBView::GetSecondaryCustomColumn(nsAString & aSecondaryCustomColumn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString cellTextForColumn (in long aRow, in wstring aColumnName); */
NS_IMETHODIMP nsMsgDBView::CellTextForColumn(int32_t aRow, const char16_t * aColumnName, nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
/* starting interface: nsIMsgDBViewCommandUpdater */
#define NS_IMSGDBVIEWCOMMANDUPDATER_IID_STR "ce8f52ee-e742-4b31-8bdd-2b3a8168a117"
#define NS_IMSGDBVIEWCOMMANDUPDATER_IID \
{0xce8f52ee, 0xe742, 0x4b31, \
{ 0x8b, 0xdd, 0x2b, 0x3a, 0x81, 0x68, 0xa1, 0x17 }}
class NS_NO_VTABLE nsIMsgDBViewCommandUpdater : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGDBVIEWCOMMANDUPDATER_IID)
/* void updateCommandStatus (); */
NS_IMETHOD UpdateCommandStatus(void) = 0;
/* void displayMessageChanged (in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords); */
NS_IMETHOD DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords) = 0;
/* void updateNextMessageAfterDelete (); */
NS_IMETHOD UpdateNextMessageAfterDelete(void) = 0;
/* boolean summarizeSelection (); */
NS_IMETHOD SummarizeSelection(bool *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgDBViewCommandUpdater, NS_IMSGDBVIEWCOMMANDUPDATER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGDBVIEWCOMMANDUPDATER \
NS_IMETHOD UpdateCommandStatus(void) override; \
NS_IMETHOD DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords) override; \
NS_IMETHOD UpdateNextMessageAfterDelete(void) override; \
NS_IMETHOD SummarizeSelection(bool *_retval) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGDBVIEWCOMMANDUPDATER \
NS_METHOD UpdateCommandStatus(void); \
NS_METHOD DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords); \
NS_METHOD UpdateNextMessageAfterDelete(void); \
NS_METHOD SummarizeSelection(bool *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGDBVIEWCOMMANDUPDATER(_to) \
NS_IMETHOD UpdateCommandStatus(void) override { return _to UpdateCommandStatus(); } \
NS_IMETHOD DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords) override { return _to DisplayMessageChanged(aFolder, aSubject, aKeywords); } \
NS_IMETHOD UpdateNextMessageAfterDelete(void) override { return _to UpdateNextMessageAfterDelete(); } \
NS_IMETHOD SummarizeSelection(bool *_retval) override { return _to SummarizeSelection(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGDBVIEWCOMMANDUPDATER(_to) \
NS_IMETHOD UpdateCommandStatus(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateCommandStatus(); } \
NS_IMETHOD DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayMessageChanged(aFolder, aSubject, aKeywords); } \
NS_IMETHOD UpdateNextMessageAfterDelete(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateNextMessageAfterDelete(); } \
NS_IMETHOD SummarizeSelection(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SummarizeSelection(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgDBViewCommandUpdater : public nsIMsgDBViewCommandUpdater
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGDBVIEWCOMMANDUPDATER
nsMsgDBViewCommandUpdater();
private:
~nsMsgDBViewCommandUpdater();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgDBViewCommandUpdater, nsIMsgDBViewCommandUpdater)
nsMsgDBViewCommandUpdater::nsMsgDBViewCommandUpdater()
{
/* member initializers and constructor code */
}
nsMsgDBViewCommandUpdater::~nsMsgDBViewCommandUpdater()
{
/* destructor code */
}
/* void updateCommandStatus (); */
NS_IMETHODIMP nsMsgDBViewCommandUpdater::UpdateCommandStatus()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void displayMessageChanged (in nsIMsgFolder aFolder, in AString aSubject, in ACString aKeywords); */
NS_IMETHODIMP nsMsgDBViewCommandUpdater::DisplayMessageChanged(nsIMsgFolder *aFolder, const nsAString & aSubject, const nsACString & aKeywords)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void updateNextMessageAfterDelete (); */
NS_IMETHODIMP nsMsgDBViewCommandUpdater::UpdateNextMessageAfterDelete()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean summarizeSelection (); */
NS_IMETHODIMP nsMsgDBViewCommandUpdater::SummarizeSelection(bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgDBView_h__ */
|