Files
Wino-Mail/Wino.Core.Domain/Interfaces/IAccountMenuItem.cs
T

22 lines
561 B
C#
Raw Normal View History

2024-04-18 01:44:37 +02:00
using System.Collections.Generic;
2024-11-10 23:28:25 +01:00
using Wino.Core.Domain.Entities.Mail;
using Wino.Core.Domain.Entities.Shared;
2024-04-18 01:44:37 +02:00
2025-02-16 11:54:23 +01:00
namespace Wino.Core.Domain.Interfaces;
public interface IAccountMenuItem : IMenuItem
2024-04-18 01:44:37 +02:00
{
2025-02-16 11:54:23 +01:00
bool IsEnabled { get; set; }
double SynchronizationProgress { get; set; }
int UnreadItemCount { get; set; }
IEnumerable<MailAccount> HoldingAccounts { get; }
void UpdateAccount(MailAccount account);
}
2025-02-16 11:54:23 +01:00
public interface IMergedAccountMenuItem : IAccountMenuItem
{
int MergedAccountCount { get; }
2025-02-16 11:54:23 +01:00
MergedInbox Parameter { get; }
2024-04-18 01:44:37 +02:00
}