author calbld
Wed, 14 Nov 2012 11:09:35 -0800
changeset 13940 3f39ecc81f6e3332f88bed4806b8fc11081ee291
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 19756 edbe40b94a4d60c66d45c3a9d3a163908cdda053
permissions -rw-r--r--
Automated checkin: version bump remove "pre" from version number for lightning 2.0b1 release on CAL180_20121114_RELBRANCH CLOSED TREE a=release

/* -*- 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 */

#include "nsISupports.idl"

interface nsIUrlListener;
interface nsIURI;
interface nsINntpUrl;
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);

  attribute boolean isCachedConnection;
  readonly attribute nsIMsgFolder currentFolder;

  void CloseConnection();