mailnews/news/public/nsINNTPProtocol.idl
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Wed, 24 Feb 2021 08:38:51 +0000
changeset 41358 4ba32ccd969f33b153449e639dd43a73d349a39d
parent 39960 2719fb20cee2145deb05a6bfff8b30e6d326fde9
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD de -> cf43969c21e9da4a643766ffd1bbd469a7fa3aa5 el -> 8adbe3f6ef86c4b66d7dd130d45904d78cb4388b es-AR -> 09599fca54a7081d66cdd6e235d41e92b627d2f7 fy-NL -> 68a14588ec68e7f01ec2ce20fe8b96bc6293a70d it -> 2ee1418cec3104fc4485871039c879f5e254cbd3 kk -> a8e847fdf252f11baff25e8857e4d605ce3e5177 nl -> b57f52dbc4c32bad3320aa43eac46b865528d605 rm -> 1a8a655ea65659a4d194625995d4d63b955a80d1 tr -> ccf13f7533e2d653d9994cc56f546aeb8c81b54d vi -> ce4db288fef3499c5fe0df648152a1e64e8504f1

/* -*- 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();
};