comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/browser/DownloadFactory.d @ 53:7e78af7adab5

[swt lin]
author Frank Benoit <benoit@tionex.de>
date Fri, 27 Mar 2009 21:29:10 +0100
parents f713da8bc051
children 70388b0e6dad
comparison
equal deleted inserted replaced
52:fa9548cd8d89 53:7e78af7adab5
32 refCount++; 32 refCount++;
33 return refCount; 33 return refCount;
34 } 34 }
35 35
36 extern(System) 36 extern(System)
37 nsresult QueryInterface (nsID* riid, void** ppvObject) { 37 nsresult QueryInterface (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 ();