Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIURL.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIURL; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsIURI; | |
6 import org.eclipse.swt.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 |