2023-06-29 13:17:32 +02:00
|
|
|
using System;
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
namespace Quik.Media
|
|
|
|
{
|
|
|
|
public enum MediaHint
|
|
|
|
{
|
|
|
|
None,
|
|
|
|
Image,
|
|
|
|
Font
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface MediaLoader
|
|
|
|
{
|
|
|
|
IDisposable GetMedia(object key, MediaHint hint);
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface MediaLoader<T> : MediaLoader
|
|
|
|
{
|
2023-07-02 09:38:46 +02:00
|
|
|
IDisposable GetMedia(T key, MediaHint hint);
|
2023-06-29 13:17:32 +02:00
|
|
|
}
|
|
|
|
}
|