summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2026-05-03 03:04:49 -0500
committerGitHub <noreply@github.com>2026-05-03 03:04:49 -0500
commitef7499aade74a148416b5fde7e8c03a75ea381c3 (patch)
tree28b596b09fd5849392d963684e38303ed6ab9b0f /src/settings.h
parent2e393aa3cc9adba5a5e82ecc0006b11bf024d3e0 (diff)
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
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h14
1 files changed, 14 insertions, 0 deletions
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;