v1.2.0: 重构为插件+独立Manager架构,横版UI,精确保留文本框边距的文档转换
This commit is contained in:
23
Manager/Services/IActivationService.cs
Normal file
23
Manager/Services/IActivationService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BetterSeewo.Manager.Services
|
||||
{
|
||||
public interface IActivationService
|
||||
{
|
||||
Task<bool> CheckActivationStatusAsync();
|
||||
Task<bool> ActivateProfessionalAsync(string licenseKey);
|
||||
Task<bool> EnableIWBForNonTouchAsync();
|
||||
Task<bool> ApplyBoardSupportPatchAsync();
|
||||
Task<bool> LaunchBen5InstallerAsync();
|
||||
ActivationInfo GetCurrentStatus();
|
||||
}
|
||||
|
||||
public class ActivationInfo
|
||||
{
|
||||
public bool IsProfessional { get; set; }
|
||||
public bool IsIWBActive { get; set; }
|
||||
public bool IsNonTouchBoard { get; set; }
|
||||
public string LicenseType { get; set; } = "Community";
|
||||
public string LastActivationDate { get; set; } = "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user