Back to index

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

#include <msgMapiSupport.h>

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

List of all members.

Public Member Functions

 nsMapiSupport ()
 ~nsMapiSupport ()
void initializeMAPISupport ()
 Initiates MAPI support.
void shutdownMAPISupport ()
 Shuts down the MAPI support.
void registerServer ()
 registerServer - register the mapi DLL with the desktop Typically called by the window shell service when we are made the default mail app
void unRegisterServer ()
 unRegisterServer - unregister the mapi DLL with the desktop Typically called by the window shell service when we are removed as the default mail app.
void observe (in nsISupports aSubject, in string aTopic, in wstring aData)
 Observe will be called when there is a notification for the topic |aTopic|.

Private Attributes

DWORD m_dwRegister
CMapiFactorym_nsMapiFactory

Detailed Description

Definition at line 48 of file msgMapiSupport.h.


Constructor & Destructor Documentation

Definition at line 104 of file msgMapiSupport.cpp.

Definition at line 110 of file msgMapiSupport.cpp.

{
}

Member Function Documentation

Initiates MAPI support.

void nsIObserver::observe ( in nsISupports  aSubject,
in string  aTopic,
in wstring  aData 
) [inherited]

Observe will be called when there is a notification for the topic |aTopic|.

This assumes that the object implementing this interface has been registered with an observer service such as the nsIObserverService.

If you expect multiple topics/subjects, the impl is responsible for filtering.

You should not modify, add, remove, or enumerate notifications in the implemention of observe.

Parameters:
aSubject: Notification specific interface pointer.
aTopic: The notification topic or subject.
aData: Notification specific wide string. subject event.

registerServer - register the mapi DLL with the desktop Typically called by the window shell service when we are made the default mail app

Shuts down the MAPI support.

unRegisterServer - unregister the mapi DLL with the desktop Typically called by the window shell service when we are removed as the default mail app.


Member Data Documentation

Definition at line 62 of file msgMapiSupport.h.

Definition at line 63 of file msgMapiSupport.h.


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