зеркало из https://github.com/mozilla/gecko-dev.git
55 строки
2.3 KiB
Plaintext
55 строки
2.3 KiB
Plaintext
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Netscape Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications Corporation. Portions created by Netscape are
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
* Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
#include "nsIMsgFolder.idl"
|
|
|
|
interface nsIMsgWindow;
|
|
interface nsIImapIncomingServer;
|
|
|
|
[scriptable, uuid(FBFEBE79-C1DD-11d2-8A40-0060B0FC04D2)]
|
|
interface nsIMsgImapMailFolder : nsISupports {
|
|
void removeSubFolder(in nsIMsgFolder folder);
|
|
void createClientSubfolderInfo(in string folderName, in wchar hierarchyDelimiter, in long flags);
|
|
void list();
|
|
void renameLocal(in string newname, in nsIMsgFolder parent);
|
|
void prepareToRename();
|
|
void performExpand(in nsIMsgWindow aMsgWindow);
|
|
void recursiveCloseActiveConnections(in nsIImapIncomingServer aImapServer);
|
|
void renameClient(in nsIMsgFolder msgFolder, in string oldName, in string newName);
|
|
void renameSubfolders( in nsIMsgFolder oldFolder);
|
|
|
|
// these are used for offline synchronization
|
|
void storeImapFlags(in long flags, in boolean addFlags, out nsMsgKey keysToFlag, in long numKeys);
|
|
void setImapFlags(in string uids, in long flags, out nsIURI url);
|
|
void replayOfflineMoveCopy(out nsMsgKey keys, in long numKeys, in boolean isMove, in nsIMsgFolder aDstFolder,
|
|
in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow);
|
|
void playbackOfflineFolderCreate(in wstring folderName, in nsIMsgWindow aWindow, out nsIURI url);
|
|
void liteSelect(in nsIUrlListener aUrlListener);
|
|
attribute boolean verifiedAsOnlineFolder;
|
|
attribute boolean explicitlyVerify;
|
|
attribute wchar hierarchyDelimiter;
|
|
attribute long boxFlags;
|
|
attribute string onlineName;
|
|
};
|
|
|