comparison dwt/internal/mozilla/nsIProtocolHandler.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
11 11
12 const nsIID NS_IPROTOCOLHANDLER_IID= 12 const nsIID NS_IPROTOCOLHANDLER_IID=
13 {0x15fd6940, 0x8ea7, 0x11d3, 13 {0x15fd6940, 0x8ea7, 0x11d3,
14 [ 0x93, 0xad, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; 14 [ 0x93, 0xad, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]};
15 15
16 //extern(System)
17
18 interface nsIProtocolHandler : nsISupports { 16 interface nsIProtocolHandler : nsISupports {
19 17
20 static const char[] IID_STR = NS_IPROTOCOLHANDLER_IID_STR; 18 static const char[] IID_STR = NS_IPROTOCOLHANDLER_IID_STR;
21 static const nsIID IID = NS_IPROTOCOLHANDLER_IID; 19 static const nsIID IID = NS_IPROTOCOLHANDLER_IID;
22 20
21 extern(System):
23 nsresult GetScheme(nsACString * aScheme); 22 nsresult GetScheme(nsACString * aScheme);
24 nsresult GetDefaultPort(PRInt32 *aDefaultPort); 23 nsresult GetDefaultPort(PRInt32 *aDefaultPort);
25 nsresult GetProtocolFlags(PRUint32 *aProtocolFlags); 24 nsresult GetProtocolFlags(PRUint32 *aProtocolFlags);
26 nsresult NewURI(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIURI *_retval); 25 nsresult NewURI(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIURI *_retval);
27 nsresult NewChannel(nsIURI aURI, nsIChannel *_retval); 26 nsresult NewChannel(nsIURI aURI, nsIChannel *_retval);