Move Common functionality to Core project & rendering and Model support as well

This commit is contained in:
miku-666
2025-09-01 23:03:39 +02:00
parent 698056a0a0
commit 9656c8b48d
177 changed files with 5979 additions and 1279 deletions

View File

@@ -0,0 +1,22 @@
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);
}
}