mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-01-14 11:22:03 +01:00
- 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
21 lines
385 B
C#
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; }
|
|
}
|
|
}
|