* Use AppService for Commnunication instead of WebSocket * Code cleanup * Some polishing * Added some tests
20 lines
452 B
C#
20 lines
452 B
C#
using FluentTerminal.Models;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FluentTerminal.App.Services
|
|
{
|
|
public enum DialogButton
|
|
{
|
|
OK,
|
|
Cancel
|
|
}
|
|
|
|
public interface IDialogService
|
|
{
|
|
Task<DialogButton> ShowMessageDialogAsnyc(string title, string content, params DialogButton[] buttons);
|
|
|
|
Task<ShellProfile> ShowProfileSelectionDialogAsync();
|
|
|
|
Task<KeyBinding> ShowCreateKeyBindingDialog();
|
|
}
|
|
} |