Files
mmd-pdf/Features/IShellServices.cs
T
kua-agent 6610acfa44 feat: rebrand to MMD PDF, single corporate theme, and remove original text under an edit
- Services/PdfRedactText.cs: strip text whose origin falls inside a CoverAnnotation
  from the page content stream at save time, hooked into PdfBurn.DrawAnnotationsIntoDoc.
  Fixes edited values staying recoverable by text extraction.
- Themes/MMD.xaml replaces all thirteen themes; picker and accent strip removed; no dark mode.
- Rename KillerPDF -> MMD PDF across code, resources, packaging and locale strings; new icon.
- Remove the upstream author credit and the in-app install button.
2026-08-27 07:37:09 +02:00

24 lines
762 B
C#

using System.Windows;
namespace MmdPdf.Features
{
/// <summary>
/// The three things every feature needs from the window: an owner for modal dialogs, string
/// lookup, and the status line. Each feature's own interface extends this, so the shell
/// implements these once rather than once per feature.
///
/// Ported from Killendar, which is the reference implementation for this pattern.
/// </summary>
internal interface IShellServices
{
/// <summary>Owner for modal dialogs.</summary>
Window Window { get; }
/// <summary>Localized string for a Str_ key.</summary>
string Loc(string key);
/// <summary>Writes the status line.</summary>
void SetStatus(string text);
}
}