diff options
Diffstat (limited to 'libs/uibase/include')
| -rw-r--r-- | libs/uibase/include/uibase/iplugingame.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/uibase/include/uibase/iplugingame.h b/libs/uibase/include/uibase/iplugingame.h index 0fa2508..93ee09f 100644 --- a/libs/uibase/include/uibase/iplugingame.h +++ b/libs/uibase/include/uibase/iplugingame.h @@ -145,6 +145,15 @@ public: /** * this function may be called before init() * + * @return true if the discovered installation is a native Linux build that + * should be launched directly without Proton/Wine. Default false: + * Linux ports of MO2 historically run every game under Proton. + */ + virtual bool isNativeLinux() const { return false; } + + /** + * this function may be called before init() + * * @return an icon for this game */ virtual QIcon gameIcon() const = 0; |
