/usr/include/thunderbird-11.0.1/nsINntpIncomingServer.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/news/public/nsINntpIncomingServer.idl
*/
#ifndef __gen_nsINntpIncomingServer_h__
#define __gen_nsINntpIncomingServer_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsILocalFile; /* forward declaration */
class nsIMsgNewsFolder; /* forward declaration */
class nsINNTPProtocol; /* forward declaration */
class nsNNTPProtocol; /* forward declaration */
class nsIChannel; /* forward declaration */
class nsIURI; /* forward declaration */
class nsIMsgWindow; /* forward declaration */
/* starting interface: nsINntpIncomingServer */
#define NS_INNTPINCOMINGSERVER_IID_STR "720a808c-17b5-4a96-837f-494541db15f2"
#define NS_INNTPINCOMINGSERVER_IID \
{0x720a808c, 0x17b5, 0x4a96, \
{ 0x83, 0x7f, 0x49, 0x45, 0x41, 0xdb, 0x15, 0xf2 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsINntpIncomingServer : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPINCOMINGSERVER_IID)
/* attribute nsILocalFile newsrcFilePath; */
NS_SCRIPTABLE NS_IMETHOD GetNewsrcFilePath(nsILocalFile * *aNewsrcFilePath) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNewsrcFilePath(nsILocalFile *aNewsrcFilePath) = 0;
/* attribute nsILocalFile newsrcRootPath; */
NS_SCRIPTABLE NS_IMETHOD GetNewsrcRootPath(nsILocalFile * *aNewsrcRootPath) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNewsrcRootPath(nsILocalFile *aNewsrcRootPath) = 0;
/* attribute boolean notifyOn; */
NS_SCRIPTABLE NS_IMETHOD GetNotifyOn(bool *aNotifyOn) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNotifyOn(bool aNotifyOn) = 0;
/* attribute long maxArticles; */
NS_SCRIPTABLE NS_IMETHOD GetMaxArticles(PRInt32 *aMaxArticles) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMaxArticles(PRInt32 aMaxArticles) = 0;
/* attribute boolean markOldRead; */
NS_SCRIPTABLE NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) = 0;
/* attribute boolean abbreviate; */
NS_SCRIPTABLE NS_IMETHOD GetAbbreviate(bool *aAbbreviate) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAbbreviate(bool aAbbreviate) = 0;
/* attribute boolean singleSignon; */
NS_SCRIPTABLE NS_IMETHOD GetSingleSignon(bool *aSingleSignon) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSingleSignon(bool aSingleSignon) = 0;
/* attribute ACString charset; */
NS_SCRIPTABLE NS_IMETHOD GetCharset(nsACString & aCharset) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsACString & aCharset) = 0;
/* void addNewsgroup (in AString name); */
NS_SCRIPTABLE NS_IMETHOD AddNewsgroup(const nsAString & name) = 0;
/* void removeNewsgroup (in AString name); */
NS_SCRIPTABLE NS_IMETHOD RemoveNewsgroup(const nsAString & name) = 0;
/* void writeNewsrcFile (); */
NS_SCRIPTABLE NS_IMETHOD WriteNewsrcFile(void) = 0;
/* attribute boolean newsrcHasChanged; */
NS_SCRIPTABLE NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) = 0;
NS_SCRIPTABLE NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) = 0;
/* attribute long maximumConnectionsNumber; */
NS_SCRIPTABLE NS_IMETHOD GetMaximumConnectionsNumber(PRInt32 *aMaximumConnectionsNumber) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMaximumConnectionsNumber(PRInt32 aMaximumConnectionsNumber) = 0;
/* void displaySubscribedGroup (in nsIMsgNewsFolder msgFolder, in long firstMessage, in long lastMessage, in long totalMessages); */
NS_SCRIPTABLE NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, PRInt32 firstMessage, PRInt32 lastMessage, PRInt32 totalMessages) = 0;
/* nsIChannel getNntpChannel (in nsIURI uri, in nsIMsgWindow window); */
NS_SCRIPTABLE NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel * *_retval NS_OUTPARAM) = 0;
/* void loadNewsUrl (in nsIURI uri, in nsIMsgWindow window, in nsISupports consumer); */
NS_SCRIPTABLE NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) = 0;
/* void removeConnection (in nsINNTPProtocol aNntpConnection); */
NS_SCRIPTABLE NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) = 0;
/* [noscript] void prepareForNextUrl (in nsNNTPProtocol aNntpConnection); */
NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol *aNntpConnection) = 0;
/* boolean containsNewsgroup (in AUTF8String escapedName); */
NS_SCRIPTABLE NS_IMETHOD ContainsNewsgroup(const nsACString & escapedName, bool *_retval NS_OUTPARAM) = 0;
/* void subscribeToNewsgroup (in AUTF8String name); */
NS_SCRIPTABLE NS_IMETHOD SubscribeToNewsgroup(const nsACString & name) = 0;
/* [noscript] void addNewsgroupToList (in string name); */
NS_IMETHOD AddNewsgroupToList(const char * name) = 0;
/* attribute boolean supportsExtensions; */
NS_SCRIPTABLE NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) = 0;
/* void addExtension (in string extension); */
NS_SCRIPTABLE NS_IMETHOD AddExtension(const char * extension) = 0;
/* boolean queryExtension (in string extension); */
NS_SCRIPTABLE NS_IMETHOD QueryExtension(const char * extension, bool *_retval NS_OUTPARAM) = 0;
/* attribute boolean postingAllowed; */
NS_SCRIPTABLE NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) = 0;
/* attribute boolean pushAuth; */
NS_SCRIPTABLE NS_IMETHOD GetPushAuth(bool *aPushAuth) = 0;
NS_SCRIPTABLE NS_IMETHOD SetPushAuth(bool aPushAuth) = 0;
/* attribute unsigned long lastUpdatedTime; */
NS_SCRIPTABLE NS_IMETHOD GetLastUpdatedTime(PRUint32 *aLastUpdatedTime) = 0;
NS_SCRIPTABLE NS_IMETHOD SetLastUpdatedTime(PRUint32 aLastUpdatedTime) = 0;
/* void addPropertyForGet (in string name, in string value); */
NS_SCRIPTABLE NS_IMETHOD AddPropertyForGet(const char * name, const char * value) = 0;
/* string queryPropertyForGet (in string name); */
NS_SCRIPTABLE NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval NS_OUTPARAM) = 0;
/* void addSearchableGroup (in AString name); */
NS_SCRIPTABLE NS_IMETHOD AddSearchableGroup(const nsAString & name) = 0;
/* boolean querySearchableGroup (in AString name); */
NS_SCRIPTABLE NS_IMETHOD QuerySearchableGroup(const nsAString & name, bool *_retval NS_OUTPARAM) = 0;
/* void addSearchableHeader (in string headerName); */
NS_SCRIPTABLE NS_IMETHOD AddSearchableHeader(const char * headerName) = 0;
/* boolean querySearchableHeader (in string headerName); */
NS_SCRIPTABLE NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval NS_OUTPARAM) = 0;
/* nsIMsgNewsFolder findGroup (in AUTF8String name); */
NS_SCRIPTABLE NS_IMETHOD FindGroup(const nsACString & name, nsIMsgNewsFolder * *_retval NS_OUTPARAM) = 0;
/* readonly attribute AUTF8String firstGroupNeedingExtraInfo; */
NS_SCRIPTABLE NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString & aFirstGroupNeedingExtraInfo) = 0;
/* void setGroupNeedsExtraInfo (in AUTF8String name, in boolean needsExtraInfo); */
NS_SCRIPTABLE NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString & name, bool needsExtraInfo) = 0;
/* void groupNotFound (in nsIMsgWindow window, in AString group, in boolean opening); */
NS_SCRIPTABLE NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString & group, bool opening) = 0;
/* void setPrettyNameForGroup (in AString name, in AString prettyName); */
NS_SCRIPTABLE NS_IMETHOD SetPrettyNameForGroup(const nsAString & name, const nsAString & prettyName) = 0;
/* attribute boolean userAuthenticated; */
NS_SCRIPTABLE NS_IMETHOD GetUserAuthenticated(bool *aUserAuthenticated) = 0;
NS_SCRIPTABLE NS_IMETHOD SetUserAuthenticated(bool aUserAuthenticated) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsINntpIncomingServer, NS_INNTPINCOMINGSERVER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPINCOMINGSERVER \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcFilePath(nsILocalFile * *aNewsrcFilePath); \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcFilePath(nsILocalFile *aNewsrcFilePath); \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcRootPath(nsILocalFile * *aNewsrcRootPath); \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcRootPath(nsILocalFile *aNewsrcRootPath); \
NS_SCRIPTABLE NS_IMETHOD GetNotifyOn(bool *aNotifyOn); \
NS_SCRIPTABLE NS_IMETHOD SetNotifyOn(bool aNotifyOn); \
NS_SCRIPTABLE NS_IMETHOD GetMaxArticles(PRInt32 *aMaxArticles); \
NS_SCRIPTABLE NS_IMETHOD SetMaxArticles(PRInt32 aMaxArticles); \
NS_SCRIPTABLE NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead); \
NS_SCRIPTABLE NS_IMETHOD SetMarkOldRead(bool aMarkOldRead); \
NS_SCRIPTABLE NS_IMETHOD GetAbbreviate(bool *aAbbreviate); \
NS_SCRIPTABLE NS_IMETHOD SetAbbreviate(bool aAbbreviate); \
NS_SCRIPTABLE NS_IMETHOD GetSingleSignon(bool *aSingleSignon); \
NS_SCRIPTABLE NS_IMETHOD SetSingleSignon(bool aSingleSignon); \
NS_SCRIPTABLE NS_IMETHOD GetCharset(nsACString & aCharset); \
NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsACString & aCharset); \
NS_SCRIPTABLE NS_IMETHOD AddNewsgroup(const nsAString & name); \
NS_SCRIPTABLE NS_IMETHOD RemoveNewsgroup(const nsAString & name); \
NS_SCRIPTABLE NS_IMETHOD WriteNewsrcFile(void); \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged); \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged); \
NS_SCRIPTABLE NS_IMETHOD GetMaximumConnectionsNumber(PRInt32 *aMaximumConnectionsNumber); \
NS_SCRIPTABLE NS_IMETHOD SetMaximumConnectionsNumber(PRInt32 aMaximumConnectionsNumber); \
NS_SCRIPTABLE NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, PRInt32 firstMessage, PRInt32 lastMessage, PRInt32 totalMessages); \
NS_SCRIPTABLE NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer); \
NS_SCRIPTABLE NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection); \
NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol *aNntpConnection); \
NS_SCRIPTABLE NS_IMETHOD ContainsNewsgroup(const nsACString & escapedName, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SubscribeToNewsgroup(const nsACString & name); \
NS_IMETHOD AddNewsgroupToList(const char * name); \
NS_SCRIPTABLE NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions); \
NS_SCRIPTABLE NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions); \
NS_SCRIPTABLE NS_IMETHOD AddExtension(const char * extension); \
NS_SCRIPTABLE NS_IMETHOD QueryExtension(const char * extension, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed); \
NS_SCRIPTABLE NS_IMETHOD SetPostingAllowed(bool aPostingAllowed); \
NS_SCRIPTABLE NS_IMETHOD GetPushAuth(bool *aPushAuth); \
NS_SCRIPTABLE NS_IMETHOD SetPushAuth(bool aPushAuth); \
NS_SCRIPTABLE NS_IMETHOD GetLastUpdatedTime(PRUint32 *aLastUpdatedTime); \
NS_SCRIPTABLE NS_IMETHOD SetLastUpdatedTime(PRUint32 aLastUpdatedTime); \
NS_SCRIPTABLE NS_IMETHOD AddPropertyForGet(const char * name, const char * value); \
NS_SCRIPTABLE NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD AddSearchableGroup(const nsAString & name); \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableGroup(const nsAString & name, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD AddSearchableHeader(const char * headerName); \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD FindGroup(const nsACString & name, nsIMsgNewsFolder * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString & aFirstGroupNeedingExtraInfo); \
NS_SCRIPTABLE NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString & name, bool needsExtraInfo); \
NS_SCRIPTABLE NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString & group, bool opening); \
NS_SCRIPTABLE NS_IMETHOD SetPrettyNameForGroup(const nsAString & name, const nsAString & prettyName); \
NS_SCRIPTABLE NS_IMETHOD GetUserAuthenticated(bool *aUserAuthenticated); \
NS_SCRIPTABLE NS_IMETHOD SetUserAuthenticated(bool aUserAuthenticated);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPINCOMINGSERVER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcFilePath(nsILocalFile * *aNewsrcFilePath) { return _to GetNewsrcFilePath(aNewsrcFilePath); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcFilePath(nsILocalFile *aNewsrcFilePath) { return _to SetNewsrcFilePath(aNewsrcFilePath); } \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcRootPath(nsILocalFile * *aNewsrcRootPath) { return _to GetNewsrcRootPath(aNewsrcRootPath); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcRootPath(nsILocalFile *aNewsrcRootPath) { return _to SetNewsrcRootPath(aNewsrcRootPath); } \
NS_SCRIPTABLE NS_IMETHOD GetNotifyOn(bool *aNotifyOn) { return _to GetNotifyOn(aNotifyOn); } \
NS_SCRIPTABLE NS_IMETHOD SetNotifyOn(bool aNotifyOn) { return _to SetNotifyOn(aNotifyOn); } \
NS_SCRIPTABLE NS_IMETHOD GetMaxArticles(PRInt32 *aMaxArticles) { return _to GetMaxArticles(aMaxArticles); } \
NS_SCRIPTABLE NS_IMETHOD SetMaxArticles(PRInt32 aMaxArticles) { return _to SetMaxArticles(aMaxArticles); } \
NS_SCRIPTABLE NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) { return _to GetMarkOldRead(aMarkOldRead); } \
NS_SCRIPTABLE NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) { return _to SetMarkOldRead(aMarkOldRead); } \
NS_SCRIPTABLE NS_IMETHOD GetAbbreviate(bool *aAbbreviate) { return _to GetAbbreviate(aAbbreviate); } \
NS_SCRIPTABLE NS_IMETHOD SetAbbreviate(bool aAbbreviate) { return _to SetAbbreviate(aAbbreviate); } \
NS_SCRIPTABLE NS_IMETHOD GetSingleSignon(bool *aSingleSignon) { return _to GetSingleSignon(aSingleSignon); } \
NS_SCRIPTABLE NS_IMETHOD SetSingleSignon(bool aSingleSignon) { return _to SetSingleSignon(aSingleSignon); } \
NS_SCRIPTABLE NS_IMETHOD GetCharset(nsACString & aCharset) { return _to GetCharset(aCharset); } \
NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsACString & aCharset) { return _to SetCharset(aCharset); } \
NS_SCRIPTABLE NS_IMETHOD AddNewsgroup(const nsAString & name) { return _to AddNewsgroup(name); } \
NS_SCRIPTABLE NS_IMETHOD RemoveNewsgroup(const nsAString & name) { return _to RemoveNewsgroup(name); } \
NS_SCRIPTABLE NS_IMETHOD WriteNewsrcFile(void) { return _to WriteNewsrcFile(); } \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) { return _to GetNewsrcHasChanged(aNewsrcHasChanged); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) { return _to SetNewsrcHasChanged(aNewsrcHasChanged); } \
NS_SCRIPTABLE NS_IMETHOD GetMaximumConnectionsNumber(PRInt32 *aMaximumConnectionsNumber) { return _to GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
NS_SCRIPTABLE NS_IMETHOD SetMaximumConnectionsNumber(PRInt32 aMaximumConnectionsNumber) { return _to SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
NS_SCRIPTABLE NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, PRInt32 firstMessage, PRInt32 lastMessage, PRInt32 totalMessages) { return _to DisplaySubscribedGroup(msgFolder, firstMessage, lastMessage, totalMessages); } \
NS_SCRIPTABLE NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel * *_retval NS_OUTPARAM) { return _to GetNntpChannel(uri, window, _retval); } \
NS_SCRIPTABLE NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) { return _to LoadNewsUrl(uri, window, consumer); } \
NS_SCRIPTABLE NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) { return _to RemoveConnection(aNntpConnection); } \
NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol *aNntpConnection) { return _to PrepareForNextUrl(aNntpConnection); } \
NS_SCRIPTABLE NS_IMETHOD ContainsNewsgroup(const nsACString & escapedName, bool *_retval NS_OUTPARAM) { return _to ContainsNewsgroup(escapedName, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SubscribeToNewsgroup(const nsACString & name) { return _to SubscribeToNewsgroup(name); } \
NS_IMETHOD AddNewsgroupToList(const char * name) { return _to AddNewsgroupToList(name); } \
NS_SCRIPTABLE NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) { return _to GetSupportsExtensions(aSupportsExtensions); } \
NS_SCRIPTABLE NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) { return _to SetSupportsExtensions(aSupportsExtensions); } \
NS_SCRIPTABLE NS_IMETHOD AddExtension(const char * extension) { return _to AddExtension(extension); } \
NS_SCRIPTABLE NS_IMETHOD QueryExtension(const char * extension, bool *_retval NS_OUTPARAM) { return _to QueryExtension(extension, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) { return _to GetPostingAllowed(aPostingAllowed); } \
NS_SCRIPTABLE NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) { return _to SetPostingAllowed(aPostingAllowed); } \
NS_SCRIPTABLE NS_IMETHOD GetPushAuth(bool *aPushAuth) { return _to GetPushAuth(aPushAuth); } \
NS_SCRIPTABLE NS_IMETHOD SetPushAuth(bool aPushAuth) { return _to SetPushAuth(aPushAuth); } \
NS_SCRIPTABLE NS_IMETHOD GetLastUpdatedTime(PRUint32 *aLastUpdatedTime) { return _to GetLastUpdatedTime(aLastUpdatedTime); } \
NS_SCRIPTABLE NS_IMETHOD SetLastUpdatedTime(PRUint32 aLastUpdatedTime) { return _to SetLastUpdatedTime(aLastUpdatedTime); } \
NS_SCRIPTABLE NS_IMETHOD AddPropertyForGet(const char * name, const char * value) { return _to AddPropertyForGet(name, value); } \
NS_SCRIPTABLE NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval NS_OUTPARAM) { return _to QueryPropertyForGet(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD AddSearchableGroup(const nsAString & name) { return _to AddSearchableGroup(name); } \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableGroup(const nsAString & name, bool *_retval NS_OUTPARAM) { return _to QuerySearchableGroup(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD AddSearchableHeader(const char * headerName) { return _to AddSearchableHeader(headerName); } \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval NS_OUTPARAM) { return _to QuerySearchableHeader(headerName, _retval); } \
NS_SCRIPTABLE NS_IMETHOD FindGroup(const nsACString & name, nsIMsgNewsFolder * *_retval NS_OUTPARAM) { return _to FindGroup(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString & aFirstGroupNeedingExtraInfo) { return _to GetFirstGroupNeedingExtraInfo(aFirstGroupNeedingExtraInfo); } \
NS_SCRIPTABLE NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString & name, bool needsExtraInfo) { return _to SetGroupNeedsExtraInfo(name, needsExtraInfo); } \
NS_SCRIPTABLE NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString & group, bool opening) { return _to GroupNotFound(window, group, opening); } \
NS_SCRIPTABLE NS_IMETHOD SetPrettyNameForGroup(const nsAString & name, const nsAString & prettyName) { return _to SetPrettyNameForGroup(name, prettyName); } \
NS_SCRIPTABLE NS_IMETHOD GetUserAuthenticated(bool *aUserAuthenticated) { return _to GetUserAuthenticated(aUserAuthenticated); } \
NS_SCRIPTABLE NS_IMETHOD SetUserAuthenticated(bool aUserAuthenticated) { return _to SetUserAuthenticated(aUserAuthenticated); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPINCOMINGSERVER(_to) \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcFilePath(nsILocalFile * *aNewsrcFilePath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcFilePath(aNewsrcFilePath); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcFilePath(nsILocalFile *aNewsrcFilePath) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcFilePath(aNewsrcFilePath); } \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcRootPath(nsILocalFile * *aNewsrcRootPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcRootPath(aNewsrcRootPath); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcRootPath(nsILocalFile *aNewsrcRootPath) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcRootPath(aNewsrcRootPath); } \
NS_SCRIPTABLE NS_IMETHOD GetNotifyOn(bool *aNotifyOn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNotifyOn(aNotifyOn); } \
NS_SCRIPTABLE NS_IMETHOD SetNotifyOn(bool aNotifyOn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNotifyOn(aNotifyOn); } \
NS_SCRIPTABLE NS_IMETHOD GetMaxArticles(PRInt32 *aMaxArticles) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxArticles(aMaxArticles); } \
NS_SCRIPTABLE NS_IMETHOD SetMaxArticles(PRInt32 aMaxArticles) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxArticles(aMaxArticles); } \
NS_SCRIPTABLE NS_IMETHOD GetMarkOldRead(bool *aMarkOldRead) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMarkOldRead(aMarkOldRead); } \
NS_SCRIPTABLE NS_IMETHOD SetMarkOldRead(bool aMarkOldRead) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMarkOldRead(aMarkOldRead); } \
NS_SCRIPTABLE NS_IMETHOD GetAbbreviate(bool *aAbbreviate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAbbreviate(aAbbreviate); } \
NS_SCRIPTABLE NS_IMETHOD SetAbbreviate(bool aAbbreviate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAbbreviate(aAbbreviate); } \
NS_SCRIPTABLE NS_IMETHOD GetSingleSignon(bool *aSingleSignon) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSingleSignon(aSingleSignon); } \
NS_SCRIPTABLE NS_IMETHOD SetSingleSignon(bool aSingleSignon) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSingleSignon(aSingleSignon); } \
NS_SCRIPTABLE NS_IMETHOD GetCharset(nsACString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharset(aCharset); } \
NS_SCRIPTABLE NS_IMETHOD SetCharset(const nsACString & aCharset) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharset(aCharset); } \
NS_SCRIPTABLE NS_IMETHOD AddNewsgroup(const nsAString & name) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroup(name); } \
NS_SCRIPTABLE NS_IMETHOD RemoveNewsgroup(const nsAString & name) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveNewsgroup(name); } \
NS_SCRIPTABLE NS_IMETHOD WriteNewsrcFile(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteNewsrcFile(); } \
NS_SCRIPTABLE NS_IMETHOD GetNewsrcHasChanged(bool *aNewsrcHasChanged) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewsrcHasChanged(aNewsrcHasChanged); } \
NS_SCRIPTABLE NS_IMETHOD SetNewsrcHasChanged(bool aNewsrcHasChanged) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNewsrcHasChanged(aNewsrcHasChanged); } \
NS_SCRIPTABLE NS_IMETHOD GetMaximumConnectionsNumber(PRInt32 *aMaximumConnectionsNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
NS_SCRIPTABLE NS_IMETHOD SetMaximumConnectionsNumber(PRInt32 aMaximumConnectionsNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
NS_SCRIPTABLE NS_IMETHOD DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, PRInt32 firstMessage, PRInt32 lastMessage, PRInt32 totalMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplaySubscribedGroup(msgFolder, firstMessage, lastMessage, totalMessages); } \
NS_SCRIPTABLE NS_IMETHOD GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNntpChannel(uri, window, _retval); } \
NS_SCRIPTABLE NS_IMETHOD LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadNewsUrl(uri, window, consumer); } \
NS_SCRIPTABLE NS_IMETHOD RemoveConnection(nsINNTPProtocol *aNntpConnection) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveConnection(aNntpConnection); } \
NS_IMETHOD PrepareForNextUrl(nsNNTPProtocol *aNntpConnection) { return !_to ? NS_ERROR_NULL_POINTER : _to->PrepareForNextUrl(aNntpConnection); } \
NS_SCRIPTABLE NS_IMETHOD ContainsNewsgroup(const nsACString & escapedName, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ContainsNewsgroup(escapedName, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SubscribeToNewsgroup(const nsACString & name) { return !_to ? NS_ERROR_NULL_POINTER : _to->SubscribeToNewsgroup(name); } \
NS_IMETHOD AddNewsgroupToList(const char * name) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddNewsgroupToList(name); } \
NS_SCRIPTABLE NS_IMETHOD GetSupportsExtensions(bool *aSupportsExtensions) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsExtensions(aSupportsExtensions); } \
NS_SCRIPTABLE NS_IMETHOD SetSupportsExtensions(bool aSupportsExtensions) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSupportsExtensions(aSupportsExtensions); } \
NS_SCRIPTABLE NS_IMETHOD AddExtension(const char * extension) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddExtension(extension); } \
NS_SCRIPTABLE NS_IMETHOD QueryExtension(const char * extension, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryExtension(extension, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetPostingAllowed(bool *aPostingAllowed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostingAllowed(aPostingAllowed); } \
NS_SCRIPTABLE NS_IMETHOD SetPostingAllowed(bool aPostingAllowed) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPostingAllowed(aPostingAllowed); } \
NS_SCRIPTABLE NS_IMETHOD GetPushAuth(bool *aPushAuth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPushAuth(aPushAuth); } \
NS_SCRIPTABLE NS_IMETHOD SetPushAuth(bool aPushAuth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPushAuth(aPushAuth); } \
NS_SCRIPTABLE NS_IMETHOD GetLastUpdatedTime(PRUint32 *aLastUpdatedTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastUpdatedTime(aLastUpdatedTime); } \
NS_SCRIPTABLE NS_IMETHOD SetLastUpdatedTime(PRUint32 aLastUpdatedTime) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastUpdatedTime(aLastUpdatedTime); } \
NS_SCRIPTABLE NS_IMETHOD AddPropertyForGet(const char * name, const char * value) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPropertyForGet(name, value); } \
NS_SCRIPTABLE NS_IMETHOD QueryPropertyForGet(const char * name, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryPropertyForGet(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD AddSearchableGroup(const nsAString & name) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSearchableGroup(name); } \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableGroup(const nsAString & name, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySearchableGroup(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD AddSearchableHeader(const char * headerName) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSearchableHeader(headerName); } \
NS_SCRIPTABLE NS_IMETHOD QuerySearchableHeader(const char * headerName, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->QuerySearchableHeader(headerName, _retval); } \
NS_SCRIPTABLE NS_IMETHOD FindGroup(const nsACString & name, nsIMsgNewsFolder * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindGroup(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetFirstGroupNeedingExtraInfo(nsACString & aFirstGroupNeedingExtraInfo) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstGroupNeedingExtraInfo(aFirstGroupNeedingExtraInfo); } \
NS_SCRIPTABLE NS_IMETHOD SetGroupNeedsExtraInfo(const nsACString & name, bool needsExtraInfo) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGroupNeedsExtraInfo(name, needsExtraInfo); } \
NS_SCRIPTABLE NS_IMETHOD GroupNotFound(nsIMsgWindow *window, const nsAString & group, bool opening) { return !_to ? NS_ERROR_NULL_POINTER : _to->GroupNotFound(window, group, opening); } \
NS_SCRIPTABLE NS_IMETHOD SetPrettyNameForGroup(const nsAString & name, const nsAString & prettyName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrettyNameForGroup(name, prettyName); } \
NS_SCRIPTABLE NS_IMETHOD GetUserAuthenticated(bool *aUserAuthenticated) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUserAuthenticated(aUserAuthenticated); } \
NS_SCRIPTABLE NS_IMETHOD SetUserAuthenticated(bool aUserAuthenticated) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUserAuthenticated(aUserAuthenticated); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsNntpIncomingServer : public nsINntpIncomingServer
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSINNTPINCOMINGSERVER
nsNntpIncomingServer();
private:
~nsNntpIncomingServer();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNntpIncomingServer, nsINntpIncomingServer)
nsNntpIncomingServer::nsNntpIncomingServer()
{
/* member initializers and constructor code */
}
nsNntpIncomingServer::~nsNntpIncomingServer()
{
/* destructor code */
}
/* attribute nsILocalFile newsrcFilePath; */
NS_IMETHODIMP nsNntpIncomingServer::GetNewsrcFilePath(nsILocalFile * *aNewsrcFilePath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetNewsrcFilePath(nsILocalFile *aNewsrcFilePath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILocalFile newsrcRootPath; */
NS_IMETHODIMP nsNntpIncomingServer::GetNewsrcRootPath(nsILocalFile * *aNewsrcRootPath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetNewsrcRootPath(nsILocalFile *aNewsrcRootPath)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean notifyOn; */
NS_IMETHODIMP nsNntpIncomingServer::GetNotifyOn(bool *aNotifyOn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetNotifyOn(bool aNotifyOn)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long maxArticles; */
NS_IMETHODIMP nsNntpIncomingServer::GetMaxArticles(PRInt32 *aMaxArticles)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetMaxArticles(PRInt32 aMaxArticles)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean markOldRead; */
NS_IMETHODIMP nsNntpIncomingServer::GetMarkOldRead(bool *aMarkOldRead)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetMarkOldRead(bool aMarkOldRead)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean abbreviate; */
NS_IMETHODIMP nsNntpIncomingServer::GetAbbreviate(bool *aAbbreviate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetAbbreviate(bool aAbbreviate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean singleSignon; */
NS_IMETHODIMP nsNntpIncomingServer::GetSingleSignon(bool *aSingleSignon)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetSingleSignon(bool aSingleSignon)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString charset; */
NS_IMETHODIMP nsNntpIncomingServer::GetCharset(nsACString & aCharset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetCharset(const nsACString & aCharset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addNewsgroup (in AString name); */
NS_IMETHODIMP nsNntpIncomingServer::AddNewsgroup(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeNewsgroup (in AString name); */
NS_IMETHODIMP nsNntpIncomingServer::RemoveNewsgroup(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void writeNewsrcFile (); */
NS_IMETHODIMP nsNntpIncomingServer::WriteNewsrcFile()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean newsrcHasChanged; */
NS_IMETHODIMP nsNntpIncomingServer::GetNewsrcHasChanged(bool *aNewsrcHasChanged)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetNewsrcHasChanged(bool aNewsrcHasChanged)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long maximumConnectionsNumber; */
NS_IMETHODIMP nsNntpIncomingServer::GetMaximumConnectionsNumber(PRInt32 *aMaximumConnectionsNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetMaximumConnectionsNumber(PRInt32 aMaximumConnectionsNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void displaySubscribedGroup (in nsIMsgNewsFolder msgFolder, in long firstMessage, in long lastMessage, in long totalMessages); */
NS_IMETHODIMP nsNntpIncomingServer::DisplaySubscribedGroup(nsIMsgNewsFolder *msgFolder, PRInt32 firstMessage, PRInt32 lastMessage, PRInt32 totalMessages)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIChannel getNntpChannel (in nsIURI uri, in nsIMsgWindow window); */
NS_IMETHODIMP nsNntpIncomingServer::GetNntpChannel(nsIURI *uri, nsIMsgWindow *window, nsIChannel * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void loadNewsUrl (in nsIURI uri, in nsIMsgWindow window, in nsISupports consumer); */
NS_IMETHODIMP nsNntpIncomingServer::LoadNewsUrl(nsIURI *uri, nsIMsgWindow *window, nsISupports *consumer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeConnection (in nsINNTPProtocol aNntpConnection); */
NS_IMETHODIMP nsNntpIncomingServer::RemoveConnection(nsINNTPProtocol *aNntpConnection)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void prepareForNextUrl (in nsNNTPProtocol aNntpConnection); */
NS_IMETHODIMP nsNntpIncomingServer::PrepareForNextUrl(nsNNTPProtocol *aNntpConnection)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean containsNewsgroup (in AUTF8String escapedName); */
NS_IMETHODIMP nsNntpIncomingServer::ContainsNewsgroup(const nsACString & escapedName, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void subscribeToNewsgroup (in AUTF8String name); */
NS_IMETHODIMP nsNntpIncomingServer::SubscribeToNewsgroup(const nsACString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [noscript] void addNewsgroupToList (in string name); */
NS_IMETHODIMP nsNntpIncomingServer::AddNewsgroupToList(const char * name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean supportsExtensions; */
NS_IMETHODIMP nsNntpIncomingServer::GetSupportsExtensions(bool *aSupportsExtensions)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetSupportsExtensions(bool aSupportsExtensions)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addExtension (in string extension); */
NS_IMETHODIMP nsNntpIncomingServer::AddExtension(const char * extension)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean queryExtension (in string extension); */
NS_IMETHODIMP nsNntpIncomingServer::QueryExtension(const char * extension, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean postingAllowed; */
NS_IMETHODIMP nsNntpIncomingServer::GetPostingAllowed(bool *aPostingAllowed)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetPostingAllowed(bool aPostingAllowed)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean pushAuth; */
NS_IMETHODIMP nsNntpIncomingServer::GetPushAuth(bool *aPushAuth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetPushAuth(bool aPushAuth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long lastUpdatedTime; */
NS_IMETHODIMP nsNntpIncomingServer::GetLastUpdatedTime(PRUint32 *aLastUpdatedTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetLastUpdatedTime(PRUint32 aLastUpdatedTime)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addPropertyForGet (in string name, in string value); */
NS_IMETHODIMP nsNntpIncomingServer::AddPropertyForGet(const char * name, const char * value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* string queryPropertyForGet (in string name); */
NS_IMETHODIMP nsNntpIncomingServer::QueryPropertyForGet(const char * name, char * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addSearchableGroup (in AString name); */
NS_IMETHODIMP nsNntpIncomingServer::AddSearchableGroup(const nsAString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean querySearchableGroup (in AString name); */
NS_IMETHODIMP nsNntpIncomingServer::QuerySearchableGroup(const nsAString & name, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addSearchableHeader (in string headerName); */
NS_IMETHODIMP nsNntpIncomingServer::AddSearchableHeader(const char * headerName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean querySearchableHeader (in string headerName); */
NS_IMETHODIMP nsNntpIncomingServer::QuerySearchableHeader(const char * headerName, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIMsgNewsFolder findGroup (in AUTF8String name); */
NS_IMETHODIMP nsNntpIncomingServer::FindGroup(const nsACString & name, nsIMsgNewsFolder * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String firstGroupNeedingExtraInfo; */
NS_IMETHODIMP nsNntpIncomingServer::GetFirstGroupNeedingExtraInfo(nsACString & aFirstGroupNeedingExtraInfo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setGroupNeedsExtraInfo (in AUTF8String name, in boolean needsExtraInfo); */
NS_IMETHODIMP nsNntpIncomingServer::SetGroupNeedsExtraInfo(const nsACString & name, bool needsExtraInfo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void groupNotFound (in nsIMsgWindow window, in AString group, in boolean opening); */
NS_IMETHODIMP nsNntpIncomingServer::GroupNotFound(nsIMsgWindow *window, const nsAString & group, bool opening)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setPrettyNameForGroup (in AString name, in AString prettyName); */
NS_IMETHODIMP nsNntpIncomingServer::SetPrettyNameForGroup(const nsAString & name, const nsAString & prettyName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean userAuthenticated; */
NS_IMETHODIMP nsNntpIncomingServer::GetUserAuthenticated(bool *aUserAuthenticated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNntpIncomingServer::SetUserAuthenticated(bool aUserAuthenticated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsINntpIncomingServer_h__ */
|