Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsIObserverService.d @ 354:59b54fea05d0
Fixes for XPCOM 1.9 and anonymous classes
author | john@andLinux |
---|---|
date | Sun, 14 Dec 2008 02:13:20 -0500 |
parents | 9a4d7706df52 |
children |
line wrap: on
line source
module dwt.internal.mozilla.nsIObserverService; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIObserver; import dwt.internal.mozilla.nsISimpleEnumerator; const char[] NS_IOBSERVERSERVICE_IID_STR = "d07f5192-e3d1-11d2-8acd-00105a1b8860"; const nsIID NS_IOBSERVERSERVICE_IID= {0xd07f5192, 0xe3d1, 0x11d2, [ 0x8a, 0xcd, 0x00, 0x10, 0x5a, 0x1b, 0x88, 0x60 ]}; interface nsIObserverService : nsISupports { static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR; static const nsIID IID = NS_IOBSERVERSERVICE_IID; extern(System): nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak); nsresult RemoveObserver(nsIObserver anObserver, char *aTopic); nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData); nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval); }