IHostUiHandler.cs 534 B

1234567891011121314
  1. using Ryujinx.HLE.HOS.Applets;
  2. namespace Ryujinx.HLE
  3. {
  4. public interface IHostUiHandler
  5. {
  6. /// <summary>
  7. /// Displays an Input Dialog box to the user and blocks until text is entered.
  8. /// </summary>
  9. /// <param name="userText">Text that the user entered. Set to `null` on internal errors</param>
  10. /// <returns>True when OK is pressed, False otherwise. Also returns True on internal errors</returns>
  11. bool DisplayInputDialog(SoftwareKeyboardUiArgs args, out string userText);
  12. }
  13. }