diff --git a/src/iplugingame.h b/src/iplugingame.h index 51dac4a8..df5de5b4 100644 --- a/src/iplugingame.h +++ b/src/iplugingame.h @@ -81,6 +81,18 @@ class IPluginGame : public QObject, public IPlugin */ virtual QString gameName() const = 0; + /** + * used to override display-specific text in place of the gameName + * for example the text for the main window or the initial instance creation game + * plugin selection/list + * + * added for future translation purposes or to make plugins visually more accurate in + * the ui + * + * @return display-specific name of the game + */ + virtual QString displayGameName() const { return gameName(); } + template T* feature() const { @@ -257,6 +269,14 @@ class IPluginGame : public QObject, public IPlugin */ virtual QString gameShortName() const = 0; + /** + * @brief game name that's passed to the LOOT cli --game argument + * + * only applicable for games using LOOT based sorting + * defaults to gameShortName() + */ + virtual QString lootGameName() const { return gameShortName(); } + /** * @brief Get any primary alternative 'short' name for the game *