| 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 |
interface nsIURI : nsISupports { |
|---|
| 15 |
|
|---|
| 16 |
static const char[] IID_STR = NS_IURI_IID_STR; |
|---|
| 17 |
static const nsIID IID = NS_IURI_IID; |
|---|
| 18 |
|
|---|
| 19 |
extern(System): |
|---|
| 20 |
nsresult GetSpec(nsACString * aSpec); |
|---|
| 21 |
nsresult SetSpec(nsACString * aSpec); |
|---|
| 22 |
nsresult GetPrePath(nsACString * aPrePath); |
|---|
| 23 |
nsresult GetScheme(nsACString * aScheme); |
|---|
| 24 |
nsresult SetScheme(nsACString * aScheme); |
|---|
| 25 |
nsresult GetUserPass(nsACString * aUserPass); |
|---|
| 26 |
nsresult SetUserPass(nsACString * aUserPass); |
|---|
| 27 |
nsresult GetUsername(nsACString * aUsername); |
|---|
| 28 |
nsresult SetUsername(nsACString * aUsername); |
|---|
| 29 |
nsresult GetPassword(nsACString * aPassword); |
|---|
| 30 |
nsresult SetPassword(nsACString * aPassword); |
|---|
| 31 |
nsresult GetHostPort(nsACString * aHostPort); |
|---|
| 32 |
nsresult SetHostPort(nsACString * aHostPort); |
|---|
| 33 |
nsresult GetHost(nsACString * aHost); |
|---|
| 34 |
nsresult SetHost(nsACString * aHost); |
|---|
| 35 |
nsresult GetPort(PRInt32 *aPort); |
|---|
| 36 |
nsresult SetPort(PRInt32 aPort); |
|---|
| 37 |
nsresult GetPath(nsACString * aPath); |
|---|
| 38 |
nsresult SetPath(nsACString * aPath); |
|---|
| 39 |
nsresult Equals(nsIURI other, PRBool *_retval); |
|---|
| 40 |
nsresult SchemeIs(char *scheme, PRBool *_retval); |
|---|
| 41 |
nsresult Clone(nsIURI *_retval); |
|---|
| 42 |
nsresult Resolve(nsACString * relativePath, nsACString * _retval); |
|---|
| 43 |
nsresult GetAsciiSpec(nsACString * aAsciiSpec); |
|---|
| 44 |
nsresult GetAsciiHost(nsACString * aAsciiHost); |
|---|
| 45 |
nsresult GetOriginCharset(nsACString * aOriginCharset); |
|---|
| 46 |
|
|---|
| 47 |
} |
|---|