mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Add nsIMsgBiffManager interface. Add Set/GetCharset to nsIMsgFolder.
This commit is contained in:
parent
3beb3c2b35
commit
f5f66a5a61
@ -42,6 +42,7 @@ XPIDLSRCS = \
|
||||
nsIMsgThread.idl \
|
||||
nsIMsgVCard.idl \
|
||||
nsIUrlListener.idl \
|
||||
nsIMsgBiffManager.idl \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
|
@ -35,6 +35,7 @@ XPIDLSRCS = \
|
||||
.\nsIMsgThread.idl \
|
||||
.\nsIMsgVCard.idl \
|
||||
.\nsIUrlListener.idl \
|
||||
.\nsIMsgBiffManager.idl \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS = \
|
||||
@ -65,6 +66,7 @@ EXPORTS = \
|
||||
nsIMsgThread.h \
|
||||
nsIMsgMessageService.h \
|
||||
nsIMessage.h \
|
||||
nsIMsgBiffManager.idl \
|
||||
$(NULL)
|
||||
|
||||
MODULE=mailnews
|
||||
|
37
mailnews/base/public/nsIMsgBiffManager.h
Normal file
37
mailnews/base/public/nsIMsgBiffManager.h
Normal file
@ -0,0 +1,37 @@
|
||||
/*
|
||||
* DO NOT EDIT. THIS FILE IS GENERATED FROM nsIMsgBiffManager.idl
|
||||
*/
|
||||
|
||||
#ifndef __gen_nsIMsgBiffManager_h__
|
||||
#define __gen_nsIMsgBiffManager_h__
|
||||
|
||||
#include "nsISupports.h" /* interface nsISupports */
|
||||
#include "nsIMsgIncomingServer.h" /* interface nsIMsgIncomingServer */
|
||||
#include "nsrootidl.h" /* interface nsrootidl */
|
||||
|
||||
/* starting interface: nsIMsgBiffManager */
|
||||
|
||||
/* {17275D52-1622-11d3-8A84-0060B0FC04D2} */
|
||||
#define NS_IMSGBIFFMANAGER_IID_STR "17275D52-1622-11d3-8A84-0060B0FC04D2"
|
||||
#define NS_IMSGBIFFMANAGER_IID \
|
||||
{0x17275D52, 0x1622, 0x11d3, \
|
||||
{ 0x8A, 0x84, 0x00, 0x60, 0xB0, 0xFC, 0x04, 0xD2 }}
|
||||
|
||||
class nsIMsgBiffManager : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGBIFFMANAGER_IID)
|
||||
|
||||
/* void AddServerBiff (in nsIMsgIncomingServer server); */
|
||||
NS_IMETHOD AddServerBiff(nsIMsgIncomingServer *server) = 0;
|
||||
|
||||
/* void RemoveServerBiff (in nsIMsgIncomingServer server); */
|
||||
NS_IMETHOD RemoveServerBiff(nsIMsgIncomingServer *server) = 0;
|
||||
|
||||
/* void ForceBiff (in nsIMsgIncomingServer server); */
|
||||
NS_IMETHOD ForceBiff(nsIMsgIncomingServer *server) = 0;
|
||||
|
||||
/* void ForceBiffAll (); */
|
||||
NS_IMETHOD ForceBiffAll() = 0;
|
||||
};
|
||||
|
||||
#endif /* __gen_nsIMsgBiffManager_h__ */
|
30
mailnews/base/public/nsIMsgBiffManager.idl
Normal file
30
mailnews/base/public/nsIMsgBiffManager.idl
Normal file
@ -0,0 +1,30 @@
|
||||
/* -*- 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.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) 1999 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#include "nsISupports.idl"
|
||||
#include "nsIMsgIncomingServer.idl"
|
||||
|
||||
[scriptable, uuid(17275D52-1622-11d3-8A84-0060B0FC04D2)]
|
||||
interface nsIMsgBiffManager : nsISupports {
|
||||
|
||||
void AddServerBiff(in nsIMsgIncomingServer server);
|
||||
void RemoveServerBiff(in nsIMsgIncomingServer server);
|
||||
void ForceBiff(in nsIMsgIncomingServer server);
|
||||
void ForceBiffAll();
|
||||
};
|
||||
|
@ -214,6 +214,10 @@ class nsIMsgFolder : public nsIFolder {
|
||||
|
||||
/* void GetNewMessages (); */
|
||||
NS_IMETHOD GetNewMessages() = 0;
|
||||
|
||||
/* attribute wstring charset; */
|
||||
NS_IMETHOD GetCharset(PRUnichar * *aCharset) = 0;
|
||||
NS_IMETHOD SetCharset(PRUnichar * aCharset) = 0;
|
||||
};
|
||||
|
||||
/* starting interface: nsIMsgLocalMailFolder */
|
||||
|
@ -124,6 +124,7 @@ interface nsIMsgFolder : nsIFolder {
|
||||
|
||||
nsIMessage CreateMessageFromMsgDBHdr(in nsIMsgDBHdr msgDBHdr);
|
||||
void GetNewMessages();
|
||||
attribute wstring charset;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user