23 lines
562 B
C#
23 lines
562 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Cryville.Crtr.Browsing {
|
|
public interface IResourceManager<T> : IReadOnlyList<T> {
|
|
Uri GetItemUri(int id);
|
|
|
|
bool ImportItemFrom(Uri uri);
|
|
[Obsolete]
|
|
string[] GetSupportedFormats();
|
|
[Obsolete]
|
|
IReadOnlyDictionary<string, string> GetPresetPaths();
|
|
|
|
event Action ItemChanged;
|
|
}
|
|
public interface IPathedResourceManager<T> : IResourceManager<T> {
|
|
string[] CurrentDirectory { get; }
|
|
void ChangeDirectory(string[] dir);
|
|
void OpenDirectory(int id);
|
|
void ReturnToDirectory(int id);
|
|
}
|
|
}
|