mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
first pass at XPIDL-ifying nsIImapIncomingServer
This commit is contained in:
parent
6177e2fb70
commit
3a210794d9
57
mailnews/imap/public/nsIImapIncomingServer.idl
Normal file
57
mailnews/imap/public/nsIImapIncomingServer.idl
Normal file
@ -0,0 +1,57 @@
|
||||
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
interface nsIUrlListener;
|
||||
interface nsIURI;
|
||||
interface nsIImapUrl;
|
||||
interface nsIEventQueue;
|
||||
interface nsIImapProtocol;
|
||||
interface nsISupportsArray;
|
||||
|
||||
[scriptable, uuid(3d2e7e38-f9d8-11d2-af8f-001083002da8)]
|
||||
interface nsIImapIncomingServer : nsISupports {
|
||||
|
||||
attribute long maximumConnectionsNumber;
|
||||
attribute long timeOutLimits;
|
||||
attribute string adminUrl;
|
||||
attribute long capabilityPref;
|
||||
attribute boolean cleanupInboxOnExit;
|
||||
attribute long deleteModel;
|
||||
attribute boolean dualUseFolders;
|
||||
attribute boolean emptyTrashOnExit;
|
||||
attribute long emptyTrashThreshhold;
|
||||
attribute string personalNamespace;
|
||||
attribute string publicNamespace;
|
||||
attribute string otherUsersNamespace;
|
||||
attribute boolean offlineDownload;
|
||||
attribute boolean overrideNamespaces;
|
||||
attribute boolean usingSubscription;
|
||||
|
||||
%{C++
|
||||
NS_IMETHOD GetImapConnectionAndLoadUrl(nsIEventQueue* aClientEventQueue,
|
||||
nsIImapUrl* aImapUrl,
|
||||
nsIUrlListener* aUrlListener,
|
||||
nsISupports* aConsumer,
|
||||
nsIURI** aURL) = 0;
|
||||
NS_IMETHOD LoadNextQueuedUrl() = 0;
|
||||
NS_IMETHOD RemoveConnection(nsIImapProtocol* aImapConnection) = 0;
|
||||
%}
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user