Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsIURI.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
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 } | |
48 |