xoreos  0.0.5
Public Member Functions | List of all members
Engines::EngineProbe Class Referenceabstract

A probe able to detect one specific game. More...

#include <engineprobe.h>

Inheritance diagram for Engines::EngineProbe:
Inheritance graph
[legend]
Collaboration diagram for Engines::EngineProbe:
Collaboration graph
[legend]

Public Member Functions

virtual ~EngineProbe ()
 
virtual Aurora::GameID getGameID () const =0
 Get the GameID that the probe is able to detect. More...
 
virtual Aurora::Platform getPlatform () const =0
 Get the Platform that the probe is able to detect. More...
 
virtual const Common::UStringgetGameName () const =0
 Return a string of the full game name. 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...
 
virtual bool probe (Common::SeekableReadStream &stream) const =0
 Check for the game in that file. More...
 
virtual EnginecreateEngine () const =0
 Create the respective engine for the GameID. More...
 

Detailed Description

A probe able to detect one specific game.

Definition at line 44 of file engineprobe.h.

Constructor & Destructor Documentation

◆ ~EngineProbe()

virtual Engines::EngineProbe::~EngineProbe ( )
inlinevirtual

Member Function Documentation

◆ createEngine()

virtual Engine* Engines::EngineProbe::createEngine ( ) const
pure virtual

◆ getGameID()

virtual Aurora::GameID Engines::EngineProbe::getGameID ( ) const
pure virtual

◆ getGameName()

virtual const Common::UString& Engines::EngineProbe::getGameName ( ) const
pure virtual

◆ getPlatform()

virtual Aurora::Platform Engines::EngineProbe::getPlatform ( ) const
pure virtual

◆ probe() [1/2]

virtual bool Engines::EngineProbe::probe ( const Common::UString directory,
const Common::FileList rootFiles 
) const
pure virtual

◆ probe() [2/2]

virtual bool Engines::EngineProbe::probe ( Common::SeekableReadStream stream) const
pure virtual

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