diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2026-01-31 16:49:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-31 16:49:46 +0100 |
| commit | a394f02e97ad0bf328fa735cbdbfbe026c03655d (patch) | |
| tree | 4fbac2fa4fe6d77f77ee65761f6e8147ae577a4b /src/executableslist.h | |
| parent | aa44561e86b6520ee0ab10a58db52b6fdd77d991 (diff) | |
Add executables list to plugin API (#2327)
Diffstat (limited to 'src/executableslist.h')
| -rw-r--r-- | src/executableslist.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/executableslist.h b/src/executableslist.h index d3d31f92..d90320b9 100644 --- a/src/executableslist.h +++ b/src/executableslist.h @@ -28,6 +28,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QFileInfo> #include <QMetaType> +#include <uibase/iexecutable.h> + namespace MOBase { class IPluginGame; @@ -38,7 +40,7 @@ class Settings; /*! * @brief Information about an executable **/ -class Executable +class Executable : public MOBase::IExecutable { public: enum Flag @@ -58,11 +60,11 @@ public: */ Executable(const MOBase::ExecutableInfo& info, Flags flags); - const QString& title() const; - const QFileInfo& binaryInfo() const; - const QString& arguments() const; - const QString& steamAppID() const; - const QString& workingDirectory() const; + const QString& title() const override; + const QFileInfo& binaryInfo() const override; + const QString& arguments() const override; + const QString& steamAppID() const override; + const QString& workingDirectory() const override; Flags flags() const; Executable& title(const QString& s); |
