comparison dwt/internal/mozilla/nsIObserverService.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
10 10
11 const nsIID NS_IOBSERVERSERVICE_IID= 11 const nsIID NS_IOBSERVERSERVICE_IID=
12 {0xd07f5192, 0xe3d1, 0x11d2, 12 {0xd07f5192, 0xe3d1, 0x11d2,
13 [ 0x8a, 0xcd, 0x00, 0x10, 0x5a, 0x1b, 0x88, 0x60 ]}; 13 [ 0x8a, 0xcd, 0x00, 0x10, 0x5a, 0x1b, 0x88, 0x60 ]};
14 14
15 //extern(System)
16
17 interface nsIObserverService : nsISupports { 15 interface nsIObserverService : nsISupports {
18 16
19 static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR; 17 static const char[] IID_STR = NS_IOBSERVERSERVICE_IID_STR;
20 static const nsIID IID = NS_IOBSERVERSERVICE_IID; 18 static const nsIID IID = NS_IOBSERVERSERVICE_IID;
21 19
20 extern(System):
22 nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak); 21 nsresult AddObserver(nsIObserver anObserver, char *aTopic, PRBool ownsWeak);
23 nsresult RemoveObserver(nsIObserver anObserver, char *aTopic); 22 nsresult RemoveObserver(nsIObserver anObserver, char *aTopic);
24 nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData); 23 nsresult NotifyObservers(nsISupports aSubject, char *aTopic, PRUnichar *someData);
25 nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval); 24 nsresult EnumerateObservers(char *aTopic, nsISimpleEnumerator *_retval);
26 25