mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 16:51:46 +00:00
Added |GetIID()|
This commit is contained in:
parent
686011d694
commit
b88737fa70
24
mailnews/db/msgdb/public/nsIDBChangeListener.h
Normal file
24
mailnews/db/msgdb/public/nsIDBChangeListener.h
Normal file
@ -0,0 +1,24 @@
|
||||
// change listener interface
|
||||
#ifndef _nsIDBChangeListener_h
|
||||
#define _nsIDBChangeListener_h
|
||||
#include "nsISupports.h"
|
||||
|
||||
#define NS_IDBCHANGELISTENER_IID \
|
||||
{ 0xad0f7f90, 0xbaff, 0x11d2, { 0x8d, 0x67, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0x17}}
|
||||
|
||||
|
||||
class nsIDBChangeListener : public nsISupports
|
||||
{
|
||||
public:
|
||||
static const nsIID& GetIID(void) { static nsIID iid = NS_IDBCHANGELISTENER_IID; return iid; }
|
||||
|
||||
NS_IMETHOD OnKeyChange(nsMsgKey aKeyChanged, PRUint32 aOldFlags, PRUint32 aNewFlags,
|
||||
nsIDBChangeListener * aInstigator) = 0;
|
||||
NS_IMETHOD OnKeyDeleted(nsMsgKey aKeyChanged, PRInt32 aFlags,
|
||||
nsIDBChangeListener * aInstigator) = 0;
|
||||
NS_IMETHOD OnKeyAdded(nsMsgKey aKeyChanged, PRInt32 aFlags,
|
||||
nsIDBChangeListener * aInstigator) = 0;
|
||||
NS_IMETHOD OnAnnouncerGoingAway(nsIDBChangeAnnouncer * instigator) = 0;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user