Implemented async saving and loading
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
namespace Filtration.Interface
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Filtration.Interface
|
||||
{
|
||||
public interface IDocument
|
||||
{
|
||||
bool IsScript { get; }
|
||||
bool IsTheme { get; }
|
||||
void Close();
|
||||
Task Close();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
namespace Filtration.Interface
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Filtration.Interface
|
||||
{
|
||||
public interface IEditableDocument : IDocument
|
||||
{
|
||||
bool IsDirty { get; }
|
||||
void Save();
|
||||
void SaveAs();
|
||||
Task SaveAsync();
|
||||
Task SaveAsAsync();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user