comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/internal/mozilla/nsISupports.d @ 54:70388b0e6dad

[swt lin] compiles
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 23:31:11 +0100
parents 7e78af7adab5
children
comparison
equal deleted inserted replaced
53:7e78af7adab5 54:70388b0e6dad
9 9
10 const nsIID NS_ISUPPORTS_IID= 10 const nsIID NS_ISUPPORTS_IID=
11 { 0x00000000, 0x0000, 0x0000, 11 { 0x00000000, 0x0000, 0x0000,
12 [ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ] }; 12 [ 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 ] };
13 13
14 version(D_Version2){
15 mixin("alias const(nsIID) cnsIID;");
16 mixin("alias const(nsID) cnsID;");
17 } else { // D1
18 alias nsIID cnsIID;
19 alias nsID cnsID;
20 }
21 interface IUnknown 14 interface IUnknown
22 { 15 {
23 static const char[] IID_STR = NS_ISUPPORTS_IID_STR; 16 static const char[] IID_STR = NS_ISUPPORTS_IID_STR;
24 static const nsIID IID = NS_ISUPPORTS_IID; 17 static const nsIID IID = NS_ISUPPORTS_IID;
25 18
26 extern(System): 19 extern(System):
27 nsresult QueryInterface( cnsIID* uuid, void **result); 20 nsresult QueryInterface( in nsIID* uuid, void **result);
28 21
29 nsrefcnt AddRef(); 22 nsrefcnt AddRef();
30 nsrefcnt Release(); 23 nsrefcnt Release();
31 } 24 }
32 25