aboutsummaryrefslogtreecommitdiff
path: root/libs/game_features/src/scriptextender.h
blob: 1f91df62d30d73bfedbf1d962144bff498990544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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