Back to index
|void||onItemAdded (in nsISupports parentDir, in nsISupports item)|
|Called when an address book item (book, card or list) is added. |
|void||onItemRemoved (in nsISupports parentDir, in nsISupports item)|
|Called when an address book, mailing list or card is removed. |
|void||onItemPropertyChanged (in nsISupports item, in string property, in wstring oldValue, in wstring newValue)|
|Called when an address book item is changed. |
Implement this interface to receive notifications of address book items being added, removed or changed with loaded address books.
Called when an address book item (book, card or list) is added.
|parentDir||The parent of the item being added.|
|item||The item being added to the database (a directory or card).|
|void nsIAbListener::onItemPropertyChanged||(||in nsISupports||item,|
Called when an address book item is changed.
Note the current implementation means that property is either the literal string "DirName" or null, with oldValue and newValue being specified if the property is "DirName" otherwise they are null.
|item||The item being updated (a directory or a card).|
|property||The property of the item being changed.|
|oldValue||The old value of the item property being changed if it is known, null otherwise.|
|newValue||The new value of the item property being changed.|
Called when an address book, mailing list or card is removed.
This is partially configurable when setting up the listener via nsIAddrBookSession
|parentDir||The parent of the item being removed, this may be an empty directory in the case of a top level address book.|
|item||The item being removed from the database.|