Files
ChanSort/source/ChanSort.Api/View/View.cs
hbeham 6776b21454 - update to DX 17.1.7
- added a "DllName" property to all loaders (set automatically in the main app) for improved error output
- added a "View" class that lets loaders show a dialog prompt without adding direct references to DX assemblies
- Samsung SCM loader now prompts for TV series if it can't be auto-detected uniquely
- added fixes for Samsung .zip format from 288adf7bd2
- added popup to open download page for VC2010 x86 redist if not installed (needed to open SQLite files)
- added hack to work around a problem in the SharpZipLib when Windows returns an invalid code page
2017-10-28 13:20:39 +02:00

21 lines
385 B
C#

using System;
namespace ChanSort.View
{
public interface IActionBoxDialog : IDisposable
{
string Message { get; set; }
void AddAction(string text, int result);
int SelectedAction { get; }
void ShowDialog();
}
public class View
{
public static View Default { get; set; }
public Func<string, IActionBoxDialog> CreateActionBox { get; set; }
}
}