35 namespace DragonAge2 {
73 if (rootFiles.
contains(
"/dragonage2launcher.exe",
true))
84 if (
Common::FileList(directory +
"/bin_ship").contains(
"/dragonage2.exe",
true))
Engines::Engine * createEngine() const
Create the respective engine for the GameID.
A class holding an UTF-8 string.
static const Common::UString kGameName
Engine class handling Dragon Age II.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
A probe that checks if an engine can handle game data found in a specific directory and creates an in...
Probing for an installation of Dragon Age II.
const Common::UString & getGameName() const
Return a string of the full game name.
void createEngineProbes(std::list< const ::Engines::EngineProbe *> &probes)
The base class for an engine within BioWare's Aurora family.
A probe able to detect one specific game.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
bool probe(Common::SeekableReadStream &stream) const
Check for the game in that file.
Aurora::GameID getGameID() const
Get the GameID that the probe is able to detect.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
Interface for a seekable & readable data stream.
bool contains(const UString &str, bool caseInsensitive) const
Does the list contain at least one file ending with the given string?