Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsIObserverService.d @ 341:942da4b6558a
Ongoing fixup for compile
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:51 -0700 |
parents | dd63eb078d7a |
children | 9a4d7706df52 |
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 ]}; //extern(System) interface nsIObserverService : nsISupports { static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR; static const nsIID IID = NS_IOBSERVERSERVICE_IID; 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); }