From ef7499aade74a148416b5fde7e8c03a75ea381c3 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sun, 3 May 2026 03:04:49 -0500 Subject: Extended MODL / direct download handling (#2384) * Extended MODL / direct download handling - name, modname, version, and source options added to download command - nxmhandler init adds schemas and MODL entry with default launch args - Add MODL register button to general tab - On window display, call meta function to trigger both registrations --- src/settings.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/settings.h') diff --git a/src/settings.h b/src/settings.h index edc1d644..b4185e86 100644 --- a/src/settings.h +++ b/src/settings.h @@ -809,6 +809,20 @@ public: unsigned int motdHash() const; void setMotdHash(unsigned int hash); + // registers MO as the handler for download links + // + // if 'force' is true, the registration dialog will be shown even if the user + // said earlier not to + // + void registerDownloadHandlers(bool force); + + // registers MO as the handler for modl links + // + // if 'force' is true, the registration dialog will be shown even if the user + // said earlier not to + // + void registerAsMODLHandler(bool force); + // whether archives should be parsed to show conflicts and contents // bool archiveParsing() const; -- cgit v1.3.1