Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIObserverService.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIObserverService; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 import org.eclipse.swt.internal.mozilla.nsIObserver; | |
7 import org.eclipse.swt.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 interface nsIObserverService : nsISupports { | |
16 | |
17 static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR; | |
18 static const nsIID IID = NS_IOBSERVERSERVICE_IID; | |
19 | |
20 extern(System): | |
21 nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak); | |
22 nsresult RemoveObserver(nsIObserver anObserver, char *aTopic); | |
23 nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData); | |
24 nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval); | |
25 | |
26 } | |
27 |