interface for receiving db change notifications

This commit is contained in:
bienvenu%netscape.com 1999-02-03 00:42:39 +00:00
parent eaa3ed3a91
commit 344219f708

View File

@ -0,0 +1,20 @@
// change listener interface
#ifndef _nsIDBChangeListener_h
#define _nsIDBChangeListener_h
#include "nsISupports.h"
class nsDBChangeAnnouncer;
#define NS_IDBCHANGELISTENER_IID \
{ 0xad0f7f90, 0xbaff, 0x11d2, 0x8d67, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0x17}
class nsIDBChangeListener : public nsISupports
{
public:
NS_IMETHOD OnKeyChange(MessageKey aKeyChanged, int32 aFlags,
nsIDBChangeListener * aInstigator) = 0;
NS_IMETHOD OnAnnouncerGoingAway(nsDBChangeAnnouncer * instigator) ;
};
#endif