Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIAuthPrompt.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.nsIAuthPrompt; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 | |
7 // import org.eclipse.swt.internal.mozilla.nsIPrompt; | |
8 | |
9 const char[] NS_IAUTHPROMPT_IID_STR = "2f977d45-5485-11d4-87e2-0010a4e75ef2"; | |
10 | |
11 const nsIID NS_IAUTHPROMPT_IID= | |
12 {0x2f977d45, 0x5485, 0x11d4, | |
13 [ 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 ]}; | |
14 | |
15 interface nsIAuthPrompt : nsISupports { | |
16 | |
17 static const char[] IID_STR = NS_IAUTHPROMPT_IID_STR; | |
18 static const nsIID IID = NS_IAUTHPROMPT_IID; | |
19 | |
20 enum { SAVE_PASSWORD_NEVER = 0U }; | |
21 enum { SAVE_PASSWORD_FOR_SESSION = 1U }; | |
22 enum { SAVE_PASSWORD_PERMANENTLY = 2U }; | |
23 | |
24 extern(System): | |
25 nsresult Prompt(PRUnichar *dialogTitle, PRUnichar *text, PRUnichar *passwordRealm, PRUint32 savePassword, PRUnichar *defaultText, PRUnichar **result, PRBool *_retval); | |
26 nsresult PromptUsernameAndPassword(PRUnichar *dialogTitle, PRUnichar *text, PRUnichar *passwordRealm, PRUint32 savePassword, PRUnichar **user, PRUnichar **pwd, PRBool *_retval); | |
27 nsresult PromptPassword(PRUnichar *dialogTitle, PRUnichar *text, PRUnichar *passwordRealm, PRUint32 savePassword, PRUnichar **pwd, PRBool *_retval); | |
28 | |
29 } | |
30 |