Files
lazarus-ccr/components/geckoport/version2/gecko10/nsiauthprompt.inc
loesje_ 625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00

16 lines
771 B
PHP

type
nsIAuthPrompt = interface(nsISupports)
['{358089f9-ee4b-4711-82fd-bcd07fc62061}']
function prompt(dialogTitle: PWideChar; text: PWideChar; passwordRealm: PWideChar; savePassword: PRUint32; defaultText: PWideChar; out result: PWideChar) : longbool; safecall;
function promptUsernameAndPassword(dialogTitle: PWideChar; text: PWideChar; passwordRealm: PWideChar; savePassword: PRUint32; var user: PWideChar; var pwd: PWideChar) : longbool; safecall;
function promptPassword(dialogTitle: PWideChar; text: PWideChar; passwordRealm: PWideChar; savePassword: PRUint32; var pwd: PWideChar) : longbool; safecall;
end;
const
nsIAuthPrompt_SAVE_PASSWORD_NEVER=0;
nsIAuthPrompt_SAVE_PASSWORD_FOR_SESSION=1;
nsIAuthPrompt_SAVE_PASSWORD_PERMANENTLY=2;