nsIFolderListener

IID:1c8e6a86-ae35-4c95-8e43-b2e98d6d1574
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

folderListenerNotifyFlagValue added = 1
folderListenerNotifyFlagValue removed = 2
folderListenerNotifyFlagValue propertyChanged = 4
folderListenerNotifyFlagValue intPropertyChanged = 8
folderListenerNotifyFlagValue boolPropertyChanged = 16
folderListenerNotifyFlagValue unicharPropertyChanged = 32
folderListenerNotifyFlagValue propertyFlagChanged = 64
folderListenerNotifyFlagValue event = 128
folderListenerNotifyFlagValue all = -1

Methods

void OnItemAdded ( nsIRDFResource parentItem , nsISupports item ) void OnItemBoolPropertyChanged ( nsIRDFResource item , nsIAtom property , PRBool oldValue , PRBool newValue ) void OnItemEvent ( nsIMsgFolder item , nsIAtom event ) void OnItemIntPropertyChanged ( nsIRDFResource item , nsIAtom property , PRInt32 oldValue , PRInt32 newValue ) void OnItemPropertyChanged ( nsIRDFResource item , nsIAtom property , char* oldValue , char* newValue ) void OnItemPropertyFlagChanged ( nsIMsgDBHdr item , nsIAtom property , PRUint32 oldFlag , PRUint32 newFlag ) void OnItemRemoved ( nsIRDFResource parentItem , nsISupports item ) void OnItemUnicharPropertyChanged ( nsIRDFResource item , nsIAtom property , PRUnichar* oldValue , PRUnichar* newValue )

void OnItemAdded ( nsIRDFResource parentItem , nsISupports item )

Arguments:
parentItem
item

void OnItemBoolPropertyChanged ( nsIRDFResource item , nsIAtom property , PRBool oldValue , PRBool newValue )

Arguments:
item
property
oldValue
newValue

void OnItemEvent ( nsIMsgFolder item , nsIAtom event )

Arguments:
item
event

void OnItemIntPropertyChanged ( nsIRDFResource item , nsIAtom property , PRInt32 oldValue , PRInt32 newValue )

Arguments:
item
property
oldValue
newValue

void OnItemPropertyChanged ( nsIRDFResource item , nsIAtom property , char* oldValue , char* newValue )

Arguments:
item
property
oldValue
newValue

void OnItemPropertyFlagChanged ( nsIMsgDBHdr item , nsIAtom property , PRUint32 oldFlag , PRUint32 newFlag )

Arguments:
item
property
oldFlag
newFlag

void OnItemRemoved ( nsIRDFResource parentItem , nsISupports item )

Arguments:
parentItem
item

void OnItemUnicharPropertyChanged ( nsIRDFResource item , nsIAtom property , PRUnichar* oldValue , PRUnichar* newValue )

Arguments:
item
property
oldValue
newValue

References

This interface is passed as an argument to the following methods:

nsIMsgAccountManager.addRootFolderListener, nsIMsgAccountManager.removeRootFolderListener, nsIMsgFolder.AddFolderListener, nsIMsgFolder.RemoveFolderListener, nsIMsgMailSession.AddFolderListener, nsIMsgMailSession.RemoveFolderListener

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com