comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIAuthInformation.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.nsIAuthInformation;
2
3 import org.eclipse.swt.internal.mozilla.nsISupports;
4 import org.eclipse.swt.internal.mozilla.nsID;
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsStringAPI;
7
8 const char[] NS_IAUTHINFORMATION_IID_STR = "0d73639c-2a92-4518-9f92-28f71fea5f20";
9
10 const nsIID NS_IAUTHINFORMATION_IID =
11 {0x0d73639c, 0x2a92, 0x4518,
12 [ 0x9f, 0x92, 0x28, 0xf7, 0x1f, 0xea, 0x5f, 0x20 ] };
13
14 interface nsIAuthInformation : nsISupports {
15
16 static const char[] IID_STR = NS_IAUTHINFORMATION_IID_STR;
17 static const nsIID IID = NS_IAUTHINFORMATION_IID;
18
19 enum { AUTH_HOST = 1U }
20 enum { AUTH_PROXY = 2U }
21 enum { NEED_DOMAIN = 4U }
22 enum { ONLY_PASSWORD = 8U }
23
24 extern(System):
25 nsresult GetFlags(PRUint32 *aFlags);
26 nsresult GetRealm(nsAString * aRealm);;
27 nsresult GetAuthenticationScheme(nsACString * aAuthenticationScheme);
28 nsresult GetUsername(nsAString * aUsername);
29 nsresult SetUsername(nsAString * aUsername);
30 nsresult GetPassword(nsAString * aPassword);
31 nsresult SetPassword(nsAString * aPassword);
32 nsresult GetDomain(nsAString * aDomain);
33 nsresult SetDomain(nsAString * aDomain);
34
35 };