Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Attributes
nsMsgSendReport Class Reference

#include <nsMsgSendReport.h>

Inheritance diagram for nsMsgSendReport:
Inheritance graph
[legend]
Collaboration diagram for nsMsgSendReport:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIMSGSENDREPORT 
nsMsgSendReport ()
virtual ~nsMsgSendReport ()
void reset ()
void setProceeded (in long process, in boolean proceeded)
void setError (in long process, in nsresult error, in boolean overwriteError)
void setMessage (in long process, in wstring message, in boolean overwriteMessage)
nsIMsgProcessReport getProcessReport (in long process)
nsresult displayReport (in nsIPrompt prompt, in boolean showErrorOnly, in boolean dontShowReportTwice)

Public Attributes

const long process_Current = -1
const long process_BuildMessage = 0
const long process_NNTP = 1
const long process_SMTP = 2
const long process_Copy = 3
const long process_FCC = 4
attribute long deliveryMode
attribute long currentProcess

Private Attributes

nsCOMPtr< nsIMsgProcessReportmProcessReport [SEND_LAST_PROCESS+1]
PRInt32 mDeliveryMode
PRInt32 mCurrentProcess
PRBool mAlreadyDisplayReport

Detailed Description

Definition at line 62 of file nsMsgSendReport.h.


Constructor & Destructor Documentation

Definition at line 112 of file nsMsgSendReport.cpp.

{
  PRUint32 i;
  for (i = 0; i <= SEND_LAST_PROCESS; i ++)
    NS_NEWXPCOM(mProcessReport[i], nsMsgProcessReport);

  Reset(); 
}

Definition at line 121 of file nsMsgSendReport.cpp.

{
  PRUint32 i;
  for (i = 0; i <= SEND_LAST_PROCESS; i ++)
    mProcessReport[i] = nsnull;
}

Member Function Documentation

nsresult nsIMsgSendReport::displayReport ( in nsIPrompt  prompt,
in boolean  showErrorOnly,
in boolean  dontShowReportTwice 
) [inherited]
void nsIMsgSendReport::reset ( ) [inherited]
void nsIMsgSendReport::setError ( in long  process,
in nsresult  error,
in boolean  overwriteError 
) [inherited]
void nsIMsgSendReport::setMessage ( in long  process,
in wstring  message,
in boolean  overwriteMessage 
) [inherited]
void nsIMsgSendReport::setProceeded ( in long  process,
in boolean  proceeded 
) [inherited]

Member Data Documentation

Definition at line 63 of file nsIMsgSendReport.idl.

Definition at line 62 of file nsIMsgSendReport.idl.

Definition at line 76 of file nsMsgSendReport.h.

Definition at line 75 of file nsMsgSendReport.h.

Definition at line 74 of file nsMsgSendReport.h.

Definition at line 73 of file nsMsgSendReport.h.

Definition at line 56 of file nsIMsgSendReport.idl.

Definition at line 59 of file nsIMsgSendReport.idl.

Definition at line 55 of file nsIMsgSendReport.idl.

Definition at line 60 of file nsIMsgSendReport.idl.

Definition at line 57 of file nsIMsgSendReport.idl.

Definition at line 58 of file nsIMsgSendReport.idl.


The documentation for this class was generated from the following files: