ScummVM API documentation
Bagel::CBofDebugOptions Class Reference

#include <debug.h>

Inheritance diagram for Bagel::CBofDebugOptions:
Bagel::CBofOptions Bagel::CBofObject

Public Member Functions

 CBofDebugOptions (const char *pszFileName)
 
- Public Member Functions inherited from Bagel::CBofOptions
 CBofOptions (const char *pszOptionsFile=nullptr)
 Loads specified .INI file which contains user options. More...
 
virtual ~CBofOptions ()
 
ErrorCode commit ()
 
ErrorCode loadOptionFile (const char *pszFile)
 Loads and builds Option list. More...
 
const char * getFileName () const
 
ErrorCode writeSetting (const char *pszSection, const char *pszOption, const char *pszValue)
 
ErrorCode writeSetting (const char *pszSection, const char *pszOption, int nValue)
 
ErrorCode readSetting (const char *section, const char *option, char *stringValue, const char *defaultValue, uint32 nSize)
 
ErrorCode readSetting (const char *section, const char *option, int *nValue, int defaultValue)
 
ErrorCode readSetting (const char *section, const char *option, bool *boolValue, bool defaultValue)
 
ErrorCode load ()
 
void release ()
 

Public Attributes

int _nDebugLevel
 
bool _bAbortsOn
 
bool _bMessageBoxOn
 
bool _bRandomOn
 
bool _bShowIO
 
bool _bShowMessages
 

Additional Inherited Members

- Static Public Member Functions inherited from Bagel::CBofObject
static bool isValidObject (const CBofObject *pObject)
 
- Protected Attributes inherited from Bagel::CBofOptions
char _szFileName [MAX_FNAME]
 
COption_pOptionList
 
bool _bDirty
 

Detailed Description

Declare a debug-options (.INI) file

Constructor & Destructor Documentation

◆ CBofDebugOptions()

Bagel::CBofDebugOptions::CBofDebugOptions ( const char *  pszFileName)

Constructor

Parameters
pszFileNameName of debug options file

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