mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-22 08:36:08 +00:00
23 lines
537 B
C#
23 lines
537 B
C#
using System;
|
|
using System.IO;
|
|
using PckStudio.Core;
|
|
|
|
namespace PckStudio.Interfaces
|
|
{
|
|
public interface IModelImportProvider<T> where T : class
|
|
{
|
|
public string Name { get; }
|
|
|
|
public FileDialogFilter DialogFilter { get; }
|
|
|
|
public bool SupportImport { get; }
|
|
public bool SupportExport { get; }
|
|
|
|
public T Import(string filename);
|
|
public T Import(Stream stream);
|
|
|
|
public void Export(string filename, T model);
|
|
public void Export(ref Stream stream, T model);
|
|
}
|
|
}
|