Files
Wino-Mail/Wino.Core.Domain/Interfaces/INativeAppService.cs
Burak Kaan Köse cf9869b71e Revert "File scoped namespaces"
This reverts commit d31d8f574e.
2025-02-16 11:43:30 +01:00

27 lines
783 B
C#

using System;
using System.Threading.Tasks;
namespace Wino.Core.Domain.Interfaces
{
public interface INativeAppService
{
string GetWebAuthenticationBrokerUri();
Task<string> GetMimeMessageStoragePath();
Task<string> GetEditorBundlePathAsync();
Task LaunchFileAsync(string filePath);
Task<bool> LaunchUriAsync(Uri uri);
bool IsAppRunning();
string GetFullAppVersion();
Task PinAppToTaskbarAsync();
/// <summary>
/// Gets or sets the function that returns a pointer for main window hwnd for UWP.
/// This is used to display WAM broker dialog on running UWP app called by a windowless server code.
/// </summary>
Func<IntPtr> GetCoreWindowHwnd { get; set; }
}
}