Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

FuegoMainUtil Namespace Reference


Functions

void LoadBook (GoBook &book, const boost::filesystem::path &programDir)
 Try to load opening book from a set of known paths.
std::string Version ()
 Return Fuego version.


Function Documentation

void FuegoMainUtil::LoadBook ( GoBook book,
const boost::filesystem::path &  programDir 
)

Try to load opening book from a set of known paths.

The file name is "book.dat". The paths tried are (in this order):

Definition at line 51 of file FuegoMainUtil.cpp.

References LoadBookFile().

Referenced by MainLoop().

std::string FuegoMainUtil::Version (  ) 

Return Fuego version.

If the macro VERSION was defined by the build system during compile time, its value is used as the version, otherwise the version is "(__DATE__)". If SVNREV is defined, ( SVNREV ) is added. If compiled in debug mode, " (dbg)" is added.

Definition at line 68 of file FuegoMainUtil.cpp.

Referenced by FuegoMainEngine::CmdLicense(), FuegoMainEngine::CmdVersion(), and PrintStartupMessage().


17 Jun 2010 Doxygen 1.4.7