@mozilla.org/addressbook/services/session;1

This component implements the following interfaces:

Constants

An address book, mailing list or card is added.
abListenerNotifyFlagValue nsIAddrBookSession.added = 1
A mailing list or card is removed from an address book.
abListenerNotifyFlagValue nsIAddrBookSession.directoryItemRemoved = 2
An address book is removed
abListenerNotifyFlagValue nsIAddrBookSession.directoryRemoved = 4
An address book, mailing list or card is changed.
abListenerNotifyFlagValue nsIAddrBookSession.changed = 8
All of the above notifications are to be received.
abListenerNotifyFlagValue nsIAddrBookSession.all = -1

Properties

readonly nsILocalFile nsIAddrBookSession.userProfileDirectory

Methods

InterfaceMethod
nsIAddrBookSession void addAddressBookListener ( nsIAbListener listener , abListenerNotifyFlagValue notifyFlags )
nsIAddrBookSession PRUnichar* generateNameFromCard ( nsIAbCard card , PRInt32 generateFormat )
nsIAddrBookSession PRUnichar* generatePhoneticNameFromCard ( nsIAbCard card , PRBool lastNameFirst )
nsIAddrBookSession void notifyDirectoryDeleted ( nsIAbDirectory directory , nsISupports item )
nsIAddrBookSession void notifyDirectoryItemAdded ( nsIAbDirectory directory , nsISupports item )
nsIAddrBookSession void notifyDirectoryItemDeleted ( nsIAbDirectory directory , nsISupports item )
nsIAddrBookSession void notifyItemPropertyChanged ( nsISupports item , char* property , PRUnichar* oldValue , PRUnichar* newValue )
nsIAddrBookSession void removeAddressBookListener ( nsIAbListener listener )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com