mailnews/news/public/nsINNTPProtocol.idl
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Sun, 03 Jul 2022 08:38:43 +0000
changeset 47275 f15309ad816ebbe2f44e3c5380297e5e25513598
parent 39960 2719fb20cee2145deb05a6bfff8b30e6d326fde9
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD dsb -> 7a4d435f8d7b2af6a8b058d10527511b990dc0e6 hsb -> ca0a7bd94556d1e228087ef61330794ede685126 id -> 59fc812433a65f89acca5fd3d0b88885f2e0f7a1 kk -> 2e8445e6ef6c61c11cfd144c1e921a176478e4fe ru -> f18dc88bad3435125ed914d1d6187eff10b14e46 uk -> d4a2520820de007c52009ff994289fe6fdb441cf

/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIURI;
interface nsIMsgFolder;
interface nsIMsgWindow;

[scriptable, uuid(30106238-0991-11d4-a565-0060b0fc04b7)]
interface nsINNTPProtocol : nsISupports {

  /////////////////////////////////////////////////////////////////////////
  // isBusy is true if the connection is currently processing a url
  // and false otherwise.
  /////////////////////////////////////////////////////////////////////////
  attribute boolean isBusy;

  void LoadNewsUrl(in nsIURI aUri, in nsISupports aConsumer);
  void Initialize(in nsIURI aURL, in nsIMsgWindow aMsgWindow);

  // Get last active time stamp
  void GetLastActiveTimeStamp(out PRTime aTimeStamp);

  readonly attribute nsIMsgFolder currentFolder;

  void CloseConnection();
};