Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIURI.d @ 272:dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
271:d472fae79005 | 272:dd63eb078d7a |
---|---|
1 module dwt.internal.mozilla.nsIURI; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsStringAPI; | |
7 | |
8 const char[] NS_IURI_IID_STR = "07a22cc0-0ce5-11d3-9331-00104ba0fd40"; | |
9 | |
10 const nsIID NS_IURI_IID= | |
11 {0x07a22cc0, 0x0ce5, 0x11d3, | |
12 [ 0x93, 0x31, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; | |
13 | |
14 extern(System) | |
15 | |
16 interface nsIURI : nsISupports { | |
17 | |
18 static const char[] IID_STR = NS_IURI_IID_STR; | |
19 static const nsIID IID = NS_IURI_IID; | |
20 | |
21 nsresult GetSpec(nsACString * aSpec); | |
22 nsresult SetSpec(nsACString * aSpec); | |
23 nsresult GetPrePath(nsACString * aPrePath); | |
24 nsresult GetScheme(nsACString * aScheme); | |
25 nsresult SetScheme(nsACString * aScheme); | |
26 nsresult GetUserPass(nsACString * aUserPass); | |
27 nsresult SetUserPass(nsACString * aUserPass); | |
28 nsresult GetUsername(nsACString * aUsername); | |
29 nsresult SetUsername(nsACString * aUsername); | |
30 nsresult GetPassword(nsACString * aPassword); | |
31 nsresult SetPassword(nsACString * aPassword); | |
32 nsresult GetHostPort(nsACString * aHostPort); | |
33 nsresult SetHostPort(nsACString * aHostPort); | |
34 nsresult GetHost(nsACString * aHost); | |
35 nsresult SetHost(nsACString * aHost); | |
36 nsresult GetPort(PRInt32 *aPort); | |
37 nsresult SetPort(PRInt32 aPort); | |
38 nsresult GetPath(nsACString * aPath); | |
39 nsresult SetPath(nsACString * aPath); | |
40 nsresult Equals(nsIURI other, PRBool *_retval); | |
41 nsresult SchemeIs(char *scheme, PRBool *_retval); | |
42 nsresult Clone(nsIURI *_retval); | |
43 nsresult Resolve(nsACString * relativePath, nsACString * _retval); | |
44 nsresult GetAsciiSpec(nsACString * aAsciiSpec); | |
45 nsresult GetAsciiHost(nsACString * aAsciiHost); | |
46 nsresult GetOriginCharset(nsACString * aOriginCharset); | |
47 | |
48 } | |
49 |