Back to index

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

#include <nsMapiRegistry.h>

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

List of all members.

Public Member Functions

 nsMapiRegistry ()
 Implementation of the nsIMapiRegistry interface.
virtual ~nsMapiRegistry ()
void showMailIntegrationDialog (in nsIDOMWindow parentWindow)
 This will bring the dialog asking the user if he/she wants to set Mozilla as default Mail Client.
void registerMailAndNewsClient ()

Public Attributes

attribute boolean isDefaultMailClient
 This is set to TRUE if Mozilla is the default mail application.
attribute boolean isDefaultNewsClient
attribute boolean isDefaultFeedClient
readonly attribute boolean showDialog
 This is set TRUE only once per session.

Protected Attributes

PRBool m_DefaultMailClient
PRBool m_DefaultNewsClient
PRBool m_ShowDialog
nsMapiRegistryUtils m_registryUtils

Private Attributes

PRBool mHaveBeenSet

Detailed Description

Definition at line 60 of file nsMapiRegistry.h.


Constructor & Destructor Documentation

Implementation of the nsIMapiRegistry interface.

Use standard implementation of nsISupports stuff.

Definition at line 65 of file nsMapiRegistry.cpp.

                               {
    m_DefaultMailClient = m_registryUtils.IsDefaultMailClient();
    m_DefaultNewsClient = m_registryUtils.IsDefaultNewsClient(); 
    // m_ShowDialog should be initialized to false 
    // if we are the default mail client.
    m_ShowDialog = !m_registryUtils.HasRestrictedRegistryAccess() && !m_DefaultMailClient;
}

Definition at line 73 of file nsMapiRegistry.cpp.

                                {
}

Member Function Documentation

This will bring the dialog asking the user if he/she wants to set Mozilla as default Mail Client.

Call this only if Mozilla is not the default Mail client


Member Data Documentation

Definition at line 60 of file nsIMapiRegistry.idl.

This is set to TRUE if Mozilla is the default mail application.

Definition at line 54 of file nsIMapiRegistry.idl.

Definition at line 57 of file nsIMapiRegistry.idl.

Definition at line 72 of file nsMapiRegistry.h.

Definition at line 73 of file nsMapiRegistry.h.

Definition at line 75 of file nsMapiRegistry.h.

Definition at line 74 of file nsMapiRegistry.h.

Definition at line 79 of file nsMapiRegistry.h.

This is set TRUE only once per session.

Definition at line 64 of file nsIMapiRegistry.idl.


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