1999-04-21 03:19:11 +04:00
/*
* DO NOT EDIT . THIS FILE IS GENERATED FROM nsIMsgMessageService . idl
1999-04-21 01:49:21 +04:00
*/
1999-04-21 03:19:11 +04:00
# ifndef __gen_nsIMsgMessageService_h__
# define __gen_nsIMsgMessageService_h__
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
# include "nsISupports.h" /* interface nsISupports */
# include "nsID.h" /* interface nsID */
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
# ifdef XPIDL_JS_STUBS
# include "jsapi.h"
# endif
class nsIUrlListener ; /* forward decl */
class nsIURL ; /* forward decl */
class nsIStreamListener ; /* forward decl */
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
/* starting interface: nsIMsgMessageService */
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
/* {F11009C1-F697-11d2-807F-006008128C4E} */
# define NS_IMSGMESSAGESERVICE_IID_STR "F11009C1-F697-11d2-807F-006008128C4E"
# define NS_IMSGMESSAGESERVICE_IID \
{ 0xF11009C1 , 0xF697 , 0x11d2 , \
{ 0x80 , 0x7F , 0x00 , 0x60 , 0x08 , 0x12 , 0x8C , 0x4E } }
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
class nsIMsgMessageService : public nsISupports {
public :
NS_DEFINE_STATIC_IID_ACCESSOR ( NS_IMSGMESSAGESERVICE_IID )
/////////////////////////////////////////////////////////////////
// If you want a handle on the running task, pass in a valid nsIURL
// ptr. You can later interrupt this action by asking the netlib
// service manager to interrupt the url you are given back.
// Remember to release aURL when you are done with it. Pass nsnull
// in for aURL if you don't care about the returned URL.
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
// CopyMessage: Pass in the URI for the message you want to have
// copied.
// aCopyListener already knows about the destination folder.
// Set aMoveMessage to PR_TRUE if you want the message to be moved.
// PR_FALSE leaves it as just a copy.
///////////////////////////////////////////////////////////////
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
/* void CopyMessage (in string aSrcURI, in nsIStreamListener aCopyListener, in boolean aMoveMessage, in nsIUrlListener aUrlListener, out nsIURL aURL); */
NS_IMETHOD CopyMessage ( const char * aSrcURI , nsIStreamListener * aCopyListener , PRBool aMoveMessage , nsIUrlListener * aUrlListener , nsIURL * * aURL ) = 0 ;
/////////////////////////////////////////////////////////////////////
// DisplayMessage: When you want a message displayed....
// aMessageURI is a uri representing the message to display.
// aDisplayConsumer is (for now) a nsIWebshell which we'll use to load
// the message into.
// It would be nice if we can figure this out for ourselves in the
// protocol but we can't do that right now.
///////////////////////////////////////////////////////////////////
1999-04-21 01:49:21 +04:00
1999-04-21 03:19:11 +04:00
/* void DisplayMessage (in string aMessageURI, in nsISupports aDisplayConsumer, in nsIUrlListener aUrlListener, out nsIURL aURL); */
NS_IMETHOD DisplayMessage ( const char * aMessageURI , nsISupports * aDisplayConsumer , nsIUrlListener * aUrlListener , nsIURL * * aURL ) = 0 ;
# ifdef XPIDL_JS_STUBS
static NS_EXPORT_ ( JSObject * ) InitJSClass ( JSContext * cx ) ;
static NS_EXPORT_ ( JSObject * ) GetJSObject ( JSContext * cx , nsIMsgMessageService * priv ) ;
# endif
1999-04-21 01:49:21 +04:00
} ;
1999-04-21 03:19:11 +04:00
# endif /* __gen_nsIMsgMessageService_h__ */