Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIObserverService.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
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 |