xoreos  0.0.5
Public Member Functions | Static Private Attributes | List of all members
Engines::DragonAge2::EngineProbe Class Reference
Inheritance diagram for Engines::DragonAge2::EngineProbe:
Inheritance graph
[legend]
Collaboration diagram for Engines::DragonAge2::EngineProbe:
Collaboration graph
[legend]

Public Member Functions

 EngineProbe ()
 
 ~EngineProbe ()
 
Aurora::GameID getGameID () const
 Get the GameID that the probe is able to detect. More...
 
const Common::UStringgetGameName () const
 Return a string of the full game name. More...
 
Engines::EnginecreateEngine () const
 Create the respective engine for the GameID. More...
 
bool probe (Common::SeekableReadStream &stream) const
 Check for the game in that file. More...
 
- Public Member Functions inherited from Engines::EngineProbe
virtual Aurora::Platform getPlatform () const =0
 Get the Platform that the probe is able to detect. More...
 
virtual bool probe (const Common::UString &directory, const Common::FileList &rootFiles) const =0
 Check for the game in that directory, containing these files. More...
 

Static Private Attributes

static const Common::UString kGameName = "Dragon Age II"
 

Detailed Description

Definition at line 37 of file probes.cpp.

Constructor & Destructor Documentation

◆ EngineProbe()

Engines::DragonAge2::EngineProbe::EngineProbe ( )
inline

Definition at line 42 of file probes.cpp.

◆ ~EngineProbe()

Engines::DragonAge2::EngineProbe::~EngineProbe ( )
inlinevirtual

Reimplemented from Engines::EngineProbe.

Definition at line 43 of file probes.cpp.

Member Function Documentation

◆ createEngine()

Engines::Engine* Engines::DragonAge2::EngineProbe::createEngine ( ) const
inlinevirtual

Create the respective engine for the GameID.

Implements Engines::EngineProbe.

Definition at line 53 of file probes.cpp.

◆ getGameID()

Aurora::GameID Engines::DragonAge2::EngineProbe::getGameID ( ) const
inlinevirtual

Get the GameID that the probe is able to detect.

Implements Engines::EngineProbe.

Definition at line 45 of file probes.cpp.

References Aurora::kGameIDDragonAge2.

◆ getGameName()

const Common::UString& Engines::DragonAge2::EngineProbe::getGameName ( ) const
inlinevirtual

Return a string of the full game name.

Implements Engines::EngineProbe.

Definition at line 49 of file probes.cpp.

References kGameName.

◆ probe()

bool Engines::DragonAge2::EngineProbe::probe ( Common::SeekableReadStream stream) const
inlinevirtual

Check for the game in that file.

Implements Engines::EngineProbe.

Definition at line 57 of file probes.cpp.

Member Data Documentation

◆ kGameName

const Common::UString Engines::DragonAge2::EngineProbe::kGameName = "Dragon Age II"
staticprivate

Definition at line 39 of file probes.cpp.

Referenced by getGameName().


The documentation for this class was generated from the following file: