зеркало из https://github.com/mozilla/gecko-dev.git
add search method to message service, not used yet
This commit is contained in:
Родитель
a91714cc03
Коммит
b459e719e2
|
@ -28,6 +28,7 @@ interface nsIStreamListener;
|
|||
interface nsIMsgWindow;
|
||||
interface nsIFileSpec;
|
||||
interface nsIMsgFolder;
|
||||
interface nsIMsgSearchSession;
|
||||
|
||||
%{C++
|
||||
#include "nsMsgKeyArray.h"
|
||||
|
@ -126,4 +127,6 @@ interface nsIMsgMessageService : nsISupports {
|
|||
in nsIMsgWindow aMsgWindow,
|
||||
in nsIUrlListener aUrlListener,
|
||||
out nsIURI aURL);
|
||||
|
||||
void Search(in nsIMsgSearchSession aSearchSession, in nsIMsgWindow aMsgWindow, in string aSearchUri);
|
||||
};
|
||||
|
|
|
@ -630,6 +630,10 @@ nsImapService::CopyMessages(nsMsgKeyArray *keys, nsIMsgFolder *srcFolder, nsIStr
|
|||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsImapService::Search(nsIMsgSearchSession *aSearchSession, nsIMsgWindow *aMsgWindow, const char *aMessageUri)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// just a helper method to break down imap message URIs....
|
||||
nsresult nsImapService::DecomposeImapURI(const char * aMessageURI, nsIMsgFolder ** aFolder, char ** aMsgKey)
|
||||
|
|
|
@ -362,3 +362,9 @@ nsresult nsMailboxService::DisplayMessageForPrinting(const char* aMessageURI,
|
|||
mPrintingOperation = PR_FALSE;
|
||||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsMailboxService::Search(nsIMsgSearchSession *aSearchSession, nsIMsgWindow *aMsgWindow, const char *aMessageUri)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
|
|
@ -1198,6 +1198,12 @@ nsresult nsNntpService::DisplayMessageForPrinting(const char* aMessageURI, nsISu
|
|||
return rv;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsNntpService::Search(nsIMsgSearchSession *aSearchSession, nsIMsgWindow *aMsgWindow, const char *aMessageUri)
|
||||
{
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNntpService::UpdateCounts(nsINntpIncomingServer *aNntpServer)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче