comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/browser/DownloadFactory.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
32 refCount++; 32 refCount++;
33 return refCount; 33 return refCount;
34 } 34 }
35 35
36 extern(System) 36 extern(System)
37 nsresult QueryInterface (cnsID* riid, void** ppvObject) { 37 nsresult QueryInterface (in cnsID* riid, void** ppvObject) {
38 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE; 38 if (riid is null || ppvObject is null) return XPCOM.NS_ERROR_NO_INTERFACE;
39 39
40 if (*riid == nsISupports.IID) { 40 if (*riid == nsISupports.IID) {
41 *ppvObject = cast(void*)cast(nsISupports)this; 41 *ppvObject = cast(void*)cast(nsISupports)this;
42 AddRef (); 42 AddRef ();