From 6915ad81c37083c09cb124ad1d9110ac95d62884 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Sun, 8 Oct 2023 04:14:34 -0500 Subject: [PATCH] Add isOverlayFlagged to IPluginList --- src/ipluginlist.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ipluginlist.h b/src/ipluginlist.h index 41c8dbdc..b6a770e2 100644 --- a/src/ipluginlist.h +++ b/src/ipluginlist.h @@ -202,6 +202,16 @@ class IPluginList * @note in gamebryo games, a light file will usually have a .esl file */ virtual bool isLightFlagged(const QString& name) const = 0; + + /** + * @brief determine if a plugin is flagged as an overlay + * @param name filename of the plugin (without path but with file extension) + * @return true if the file is flagged as overlay, false if it isn't OR if the file + * doesn't exist. + * @note this plugin flag was added in Starfield and signifies plugin records that + * update existing records + */ + virtual bool isOverlayFlagged(const QString& name) const = 0; }; } // namespace MOBase