class GGZCoreModule

More...

Definition#include <GGZCoreModule.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

A certain game module and its actual configuration can be handled by GGZCoreModule. This class should be used for launching games.

 GGZCoreModule ()

GGZCoreModule

Constructor

 ~GGZCoreModule ()

~GGZCoreModule

Destructor

unsigned int  countAll ()

countAll

Return all available games.

unsigned int  count ()

count

Return all games which match the given type.

int  add (const char* game, const char* version, const char* protocol, const char *engine, const char* author, const char* frontend, const char* url, const char* exe_path, const char* icon_path, const char* help_path)

add

Add a game.

int  launch ()

launch

Launch this module.

char*  game ()

game

Return the name of this game module.

char*  version ()

version

Return the version of this game module.

char*  protocolVersion ()

protocolVersion

Return the protocol version of this game module.

char * protocolEngine ()

protocolEngine

Return the associated protocol engine.

char*  author ()

author

Return the author of this game module.

char*  frontend ()

frontend

Return the frontend type of this game module.

char*  url ()

url

Return the homepage of this game module.

char**  argv ()

argv

Return the execution path of this game module, including command line options.

char*  pathIcon ()

pathIcon

Return the icon path of this game module.

char*  pathHelp ()

pathHelp

Return the help path of this game module.

void  init (const char* game, const char* protocol, const char *engine)

init

Initialize this module to find out compatible ones.

void  setActive (const unsigned int number)

setActive

Select a module as the active one.

GGZModule * module ()

module

Retreive the internal ggzcore module object.


Generated by: josef on athlon500 on Tue Mar 19 23:18:22 2002, using kdoc 2.0a53.