public virtual int ConfirmEx(string dialogTitle, string text, uint buttonFlags, string button0Title,
                              string button1Title, string button2Title, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>()
            .ConfirmEx(dialogTitle, text, buttonFlags, button0Title, button1Title, button2Title, checkMsg,
                       ref checkValue));
 }
Exemple #2
0
 public static void Init()
 {
     DefaultPromptFactory.Init();
     Register();
 }
Exemple #3
0
 public bool PromptPassword(string dialogTitle, string text, string passwordRealm, uint savePassword, ref string pwd)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt>().PromptPassword(dialogTitle, text, passwordRealm, savePassword, ref pwd));
 }
Exemple #4
0
 public bool Prompt(string dialogTitle, string text, string passwordRealm, uint savePassword, string defaultText, ref string result)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt>().Prompt(dialogTitle, text, passwordRealm, savePassword, defaultText, ref result));
 }
Exemple #5
0
 public nsICancelable AsyncPromptAuth(nsIChannel aChannel, nsIAuthPromptCallback aCallback, nsISupports aContext, uint level, nsIAuthInformation authInfo)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt2>().AsyncPromptAuth(aChannel, aCallback, aContext, level, authInfo));
 }
Exemple #6
0
 public bool PromptAuth(nsIChannel aChannel, uint level, nsIAuthInformation authInfo)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt2>().PromptAuth(aChannel, level, authInfo));
 }
Exemple #7
0
 public bool Select(string dialogTitle, string text, uint count, IntPtr[] selectList, ref int outSelection)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().Select(dialogTitle, text, count, selectList, ref outSelection));
 }
Exemple #8
0
 public bool PromptUsernameAndPassword(string dialogTitle, string text, ref string username, ref string password, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().PromptUsernameAndPassword(dialogTitle, text, ref username, ref password, checkMsg, ref checkValue));
 }
Exemple #9
0
 public bool Prompt(string dialogTitle, string text, ref string value, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().Prompt(dialogTitle, text, ref value, checkMsg, ref checkValue));
 }
Exemple #10
0
 public bool ConfirmCheck(string dialogTitle, string text, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().ConfirmCheck(dialogTitle, text, checkMsg, ref checkValue));
 }
Exemple #11
0
 public bool Confirm(string dialogTitle, string text)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().Confirm(dialogTitle, text));
 }
Exemple #12
0
 public void AlertCheck(string dialogTitle, string text, string checkMsg, ref bool checkValue)
 {
     DefaultPromptFactory.GetPrompt <nsIPrompt>().AlertCheck(dialogTitle, text, checkMsg, ref checkValue);
 }
Exemple #13
0
 public void Alert(string dialogTitle, string text)
 {
     DefaultPromptFactory.GetPrompt <nsIPrompt>().Alert(dialogTitle, text);
 }
Exemple #14
0
 public static void Shutdown()
 {
     DefaultPromptFactory.Shutdown();
 }
Exemple #15
0
 public virtual bool PromptUsernameAndPassword(string dialogTitle, string text, string passwordRealm, uint savePassword, ref string user, ref string pwd)
 {
     return(DefaultPromptFactory.GetPrompt <nsIAuthPrompt>().PromptUsernameAndPassword(dialogTitle, text, passwordRealm, savePassword, ref user, ref pwd));
 }
Exemple #16
0
 public virtual bool PromptPassword(string dialogTitle, string text, ref string password, string checkMsg, ref bool checkValue)
 {
     return(DefaultPromptFactory.GetPrompt <nsIPrompt>().PromptPassword(dialogTitle, text, ref password, checkMsg, ref checkValue));
 }