Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIObserverService.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
1 module dwt.internal.mozilla.nsIObserverService; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIObserver; | |
7 import dwt.internal.mozilla.nsISimpleEnumerator; | |
8 | |
9 const char[] NS_IOBSERVERSERVICE_IID_STR = "d07f5192-e3d1-11d2-8acd-00105a1b8860"; | |
10 | |
11 const nsIID NS_IOBSERVERSERVICE_IID= | |
12 {0xd07f5192, 0xe3d1, 0x11d2, | |
13 [ 0x8a, 0xcd, 0x00, 0x10, 0x5a, 0x1b, 0x88, 0x60 ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIObserverService : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR; | |
20 static const nsIID IID = NS_IOBSERVERSERVICE_IID; | |
21 | |
22 nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak); | |
23 nsresult RemoveObserver(nsIObserver anObserver, char *aTopic); | |
24 nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData); | |
25 nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval); | |
26 | |
27 } | |
28 |