The system works with the tray-icon, but the tray icon does not yet post notifications. Some work is required to provide meaningful interaction when clicking the notifications. Implemented a key/value store that allows the UI to save settings and other items.
26 lines
815 B
C#
26 lines
815 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Duplicati.Server.Serialization.Interface
|
|
{
|
|
public interface IServerStatus
|
|
{
|
|
Tuple<long, string> ActiveTask { get; }
|
|
LiveControlState ProgramState { get; }
|
|
System.Collections.Generic.IList<Tuple<long,string>> SchedulerQueueIds { get; }
|
|
bool HasWarning { get; }
|
|
bool HasError { get; }
|
|
SuggestedStatusIcon SuggestedStatusIcon { get; }
|
|
DateTime EstimatedPauseEnd { get; }
|
|
long LastEventID { get; }
|
|
long LastDataUpdateID { get; }
|
|
long LastNotificationUpdateID { get; }
|
|
|
|
string UpdatedVersion { get; }
|
|
UpdatePollerStates UpdaterState { get; }
|
|
bool UpdateReady { get; }
|
|
double UpdateDownloadProgress { get; }
|
|
|
|
}
|
|
}
|