Back to index

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

#include <msgMapiMain.h>

Collaboration diagram for nsMAPISession:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsMAPISession (PRUint32 aHwnd, const PRUnichar *aUserName, const PRUnichar *aPassword, PRBool aForceDownLoad, char *aKey)
PRUint32 IncrementSession ()
PRUint32 DecrementSession ()
PRUint32 GetSessionCount ()
PRUnicharGetPassword ()
char * GetIdKey ()
 ~nsMAPISession ()
void SetMapiListContext (void *listContext)
voidGetMapiListContext ()

Private Attributes

PRBool m_bIsForcedDownLoad
PRBool m_bApp_or_Service
PRUint32 m_hAppHandle
PRUint32 m_nShared
char * m_pIdKey
nsString m_pProfileName
nsString m_pPassword
PRInt32 m_messageIndex
voidm_listContext

Friends

class nsMAPIConfiguration

Detailed Description

Definition at line 87 of file msgMapiMain.h.


Constructor & Destructor Documentation

nsMAPISession::nsMAPISession ( PRUint32  aHwnd,
const PRUnichar aUserName,
const PRUnichar aPassword,
PRBool  aForceDownLoad,
char *  aKey 
)

Definition at line 355 of file msgMapiMain.cpp.

: m_bIsForcedDownLoad(aForceDownLoad),
  m_hAppHandle(aHwnd),
  m_nShared(1),
  m_pIdKey(aKey)
{
    m_listContext = NULL;
    m_pProfileName.Assign(aUserName);
    m_pPassword.Assign(aPassword);
}

Definition at line 368 of file msgMapiMain.cpp.

{
    if (m_pIdKey != nsnull)
    {
        delete [] m_pIdKey;
        m_pIdKey = nsnull;
    }
}

Member Function Documentation

Definition at line 382 of file msgMapiMain.cpp.

{
    return --m_nShared;
}

Here is the caller graph for this function:

Definition at line 397 of file msgMapiMain.cpp.

{
    return m_pIdKey;
}

Here is the caller graph for this function:

Definition at line 116 of file msgMapiMain.h.

{ return m_listContext; }

Here is the caller graph for this function:

Definition at line 392 of file msgMapiMain.cpp.

{
    return (PRUnichar *)m_pPassword.get();
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 387 of file msgMapiMain.cpp.

{
    return m_nShared;
}

Definition at line 377 of file msgMapiMain.cpp.

{
    return ++m_nShared;
}

Here is the caller graph for this function:

void nsMAPISession::SetMapiListContext ( void listContext) [inline]

Definition at line 115 of file msgMapiMain.h.

{ m_listContext = listContext; } 

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class nsMAPIConfiguration [friend]

Definition at line 89 of file msgMapiMain.h.


Member Data Documentation

Definition at line 94 of file msgMapiMain.h.

Definition at line 93 of file msgMapiMain.h.

Definition at line 95 of file msgMapiMain.h.

Definition at line 101 of file msgMapiMain.h.

Definition at line 100 of file msgMapiMain.h.

Definition at line 96 of file msgMapiMain.h.

char* nsMAPISession::m_pIdKey [private]

Definition at line 97 of file msgMapiMain.h.

Definition at line 99 of file msgMapiMain.h.

Definition at line 98 of file msgMapiMain.h.


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