Tab restore
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace FileTime.App.Core.Models;
|
||||
|
||||
public interface IApplicationSettings
|
||||
{
|
||||
string AppDataRoot { get; }
|
||||
string EnvironmentName { get; }
|
||||
}
|
||||
@@ -2,4 +2,5 @@ namespace FileTime.App.Core.Services;
|
||||
|
||||
public interface IStartupHandler
|
||||
{
|
||||
Task InitAsync();
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace FileTime.App.Core.Services.Persistence;
|
||||
|
||||
public interface ITabPersistenceService : IStartupHandler, IExitHandler
|
||||
{
|
||||
void SaveStates();
|
||||
}
|
||||
@@ -24,6 +24,8 @@ public interface ITabViewModel : IInitable<ITab, int>, IDisposable
|
||||
IObservable<IReadOnlyCollection<IItemViewModel>?> CurrentItemsCollectionObservable { get; }
|
||||
IObservable<IReadOnlyCollection<IItemViewModel>?> ParentsChildrenCollectionObservable { get; }
|
||||
IObservable<IReadOnlyCollection<IItemViewModel>?> SelectedsChildrenCollectionObservable { get; }
|
||||
IContainer? CachedCurrentLocation { get; }
|
||||
|
||||
void ClearMarkedItems();
|
||||
void RemoveMarkedItem(FullName fullName);
|
||||
void AddMarkedItem(FullName fullName);
|
||||
|
||||
Reference in New Issue
Block a user