aboutsummaryrefslogtreecommitdiff
path: root/libs/game_features/src/scriptextender.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_features/src/scriptextender.h')
-rw-r--r--libs/game_features/src/scriptextender.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/libs/game_features/src/scriptextender.h b/libs/game_features/src/scriptextender.h
new file mode 100644
index 0000000..1f91df6
--- /dev/null
+++ b/libs/game_features/src/scriptextender.h
@@ -0,0 +1,41 @@
+#ifndef SCRIPTEXTENDER
+#define SCRIPTEXTENDER
+
+#include <windows.h>
+
+class QString;
+class QStringList;
+
+class ScriptExtender {
+
+public:
+
+ virtual ~ScriptExtender() {}
+
+ /** Get the name of the script extender binary */
+ virtual QString BinaryName() const = 0;
+
+ /** Get the script extender plugin path*/
+ virtual QString PluginPath() const = 0;
+
+ /** The loader to use to ensure the game runs with the script extender */
+ virtual QString loaderName() const = 0;
+
+ /** Full path of the loader */
+ virtual QString loaderPath() const = 0;
+
+ /** Extension of the script extender save game */
+ virtual QString savegameExtension() const = 0;
+
+ /** Returns true if the extender is installed */
+ virtual bool isInstalled() const = 0;
+
+ /** Get version of extender */
+ virtual QString getExtenderVersion() const = 0;
+
+ /** Get CPU platform of extender */
+ virtual WORD getArch() const = 0;
+};
+
+#endif // SCRIPTEXTENDER
+