Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIFileURL.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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIFileURL.d Mon Mar 02 14:44:16 2009 +0100 @@ -0,0 +1,24 @@ +module org.eclipse.swt.internal.mozilla.nsIFileURL; + +import org.eclipse.swt.internal.mozilla.Common; +import org.eclipse.swt.internal.mozilla.nsID; +import org.eclipse.swt.internal.mozilla.nsIURL; +import org.eclipse.swt.internal.mozilla.nsIFile; + +const char[] NS_IFILEURL_IID_STR = "d26b2e2e-1dd1-11b2-88f3-8545a7ba7949"; + +const nsIID NS_IFILEURL_IID= + {0xd26b2e2e, 0x1dd1, 0x11b2, + [ 0x88, 0xf3, 0x85, 0x45, 0xa7, 0xba, 0x79, 0x49 ]}; + +interface nsIFileURL : nsIURL { + + static const char[] IID_STR = NS_IFILEURL_IID_STR; + static const nsIID IID = NS_IFILEURL_IID; + +extern(System): + nsresult GetFile(nsIFile *aFile); + nsresult SetFile(nsIFile aFile); + +} +