2021-09-07 11:32:24 +00:00
|
|
|
|
using RyzStudio.Windows.Forms;
|
2021-09-29 15:20:46 +00:00
|
|
|
|
using System.Collections.Generic;
|
2021-09-07 11:32:24 +00:00
|
|
|
|
|
|
|
|
|
namespace BookmarkManager
|
|
|
|
|
{
|
|
|
|
|
public interface ISupportedFile
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool IsEncryptionSupported { get; set; }
|
|
|
|
|
|
2021-09-29 15:20:46 +00:00
|
|
|
|
List<string> SupportedExtensions { get; }
|
2021-09-07 11:32:24 +00:00
|
|
|
|
|
|
|
|
|
bool IsSupported(string filename);
|
|
|
|
|
|
|
|
|
|
bool IsEncrypted(string filename);
|
|
|
|
|
|
|
|
|
|
Result Load(BookmarkTreeView treeview, string filename, string password);
|
|
|
|
|
|
|
|
|
|
Result Save(BookmarkTreeView treeview, string filename, string password);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|