mailnews/local/public/nsIPop3URL.idl
author Mike Hommey <mh+mozilla@glandium.org>
Tue, 07 Aug 2012 14:28:55 +0200
changeset 13207 493c0d246a5ead3bbfda7fee2827223db343e99f
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 13324 3f9b812e72471c2172bfde0ebbeeb210bf5f1a95
permissions -rw-r--r--
Bug 780357 - Partial port of bug 774032. pending-r=Callek

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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"
#include "nsIPop3Sink.idl"

[scriptable, uuid(5fb87ae7-a3a0-440a-8b49-6bca42fb7ff2)]
interface nsIPop3URL : nsISupports {
  attribute nsIPop3Sink pop3Sink;
  attribute string messageUri;

  /// Constant for the default POP3 port number
  const PRInt32 DEFAULT_POP3_PORT = 110;

  /// Constant for the default POP3 over ssl port number
  const PRInt32 DEFAULT_POP3S_PORT = 995;
};