Implement resource searching and directory items.

This commit is contained in:
2023-11-29 22:22:57 +08:00
parent aebce25f3b
commit 8af5e772d6
3 changed files with 51 additions and 16 deletions

View File

@@ -15,6 +15,8 @@ namespace Cryville.Crtr.Browsing {
void Activate();
void Deactivate();
void ApplyFilter(string filter);
}
public interface IResourceManager<out T> : IResourceManager where T : IResourceMeta {
new T this[int index] { get; }
@@ -23,6 +25,7 @@ namespace Cryville.Crtr.Browsing {
event Action DirectoryChanged;
IList<string> CurrentDirectory { get; }
void ChangeDirectory(IEnumerable<string> dir);
bool IsDirectory(int index);
void OpenDirectory(int index);
void ReturnToDirectory(int index);
}