Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsIURL.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.nsIURL; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsIURI; | |
6 import dwt.internal.mozilla.nsStringAPI; | |
7 | |
8 const char[] NS_IURL_IID_STR = "d6116970-8034-11d3-9399-00104ba0fd40"; | |
9 | |
10 const nsIID NS_IURL_IID= | |
11 {0xd6116970, 0x8034, 0x11d3, | |
12 [ 0x93, 0x99, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; | |
13 | |
14 interface nsIURL : nsIURI { | |
15 | |
16 static const char[] IID_STR = NS_IURL_IID_STR; | |
17 static const nsIID IID = NS_IURL_IID; | |
18 | |
19 extern(System): | |
20 nsresult GetFilePath(nsACString * aFilePath); | |
21 nsresult SetFilePath(nsACString * aFilePath); | |
22 nsresult GetParam(nsACString * aParam); | |
23 nsresult SetParam(nsACString * aParam); | |
24 nsresult GetQuery(nsACString * aQuery); | |
25 nsresult SetQuery(nsACString * aQuery); | |
26 nsresult GetRef(nsACString * aRef); | |
27 nsresult SetRef(nsACString * aRef); | |
28 nsresult GetDirectory(nsACString * aDirectory); | |
29 nsresult SetDirectory(nsACString * aDirectory); | |
30 nsresult GetFileName(nsACString * aFileName); | |
31 nsresult SetFileName(nsACString * aFileName); | |
32 nsresult GetFileBaseName(nsACString * aFileBaseName); | |
33 nsresult SetFileBaseName(nsACString * aFileBaseName); | |
34 nsresult GetFileExtension(nsACString * aFileExtension); | |
35 nsresult SetFileExtension(nsACString * aFileExtension); | |
36 nsresult GetCommonBaseSpec(nsIURI aURIToCompare, nsACString * _retval); | |
37 nsresult GetRelativeSpec(nsIURI aURIToCompare, nsACString * _retval); | |
38 | |
39 } | |
40 |