DDraceNetwork Docs
IConfigManager Class Referenceabstract

#include <config.h>

Inheritance diagram for IConfigManager:
[legend]
Collaboration diagram for IConfigManager:
[legend]

Public Types

typedef void(* SAVECALLBACKFUNC) (IConfigManager *pConfig, void *pUserData)
 
typedef void(* POSSIBLECFGFUNC) (const struct SConfigVariable *, void *pUserData)
 

Public Member Functions

virtual void Init ()=0
 
virtual void Reset (const char *pScriptName)=0
 
virtual void ResetGameSettings ()=0
 
virtual void SetReadOnly (const char *pScriptName, bool ReadOnly)=0
 
virtual bool Save ()=0
 
virtual class CConfigValues ()=0
 
virtual void RegisterCallback (SAVECALLBACKFUNC pfnFunc, void *pUserData)=0
 
virtual void WriteLine (const char *pLine)=0
 
virtual void StoreUnknownCommand (const char *pCommand)=0
 
virtual void PossibleConfigVariables (const char *pStr, int FlagMask, POSSIBLECFGFUNC pfnCallback, void *pUserData)=0
 
- Public Member Functions inherited from IInterface
 IInterface ()
 
virtual void Shutdown ()
 
virtual ~IInterface ()
 

Static Public Member Functions

static const char * InterfaceName ()
 

Additional Inherited Members

- Protected Member Functions inherited from IInterface
IKernelKernel ()
 

Member Typedef Documentation

◆ POSSIBLECFGFUNC

typedef void(* IConfigManager::POSSIBLECFGFUNC) (const struct SConfigVariable *, void *pUserData)

◆ SAVECALLBACKFUNC

typedef void(* IConfigManager::SAVECALLBACKFUNC) (IConfigManager *pConfig, void *pUserData)

Member Function Documentation

◆ Init()

virtual void IConfigManager::Init ( )
pure virtual

Implemented in CConfigManager.

◆ InterfaceName()

static const char * IConfigManager::InterfaceName ( )
inlinestatic

◆ PossibleConfigVariables()

virtual void IConfigManager::PossibleConfigVariables ( const char *  pStr,
int  FlagMask,
POSSIBLECFGFUNC  pfnCallback,
void *  pUserData 
)
pure virtual

Implemented in CConfigManager.

◆ RegisterCallback()

virtual void IConfigManager::RegisterCallback ( SAVECALLBACKFUNC  pfnFunc,
void *  pUserData 
)
pure virtual

Implemented in CConfigManager.

◆ Reset()

virtual void IConfigManager::Reset ( const char *  pScriptName)
pure virtual

Implemented in CConfigManager.

◆ ResetGameSettings()

virtual void IConfigManager::ResetGameSettings ( )
pure virtual

Implemented in CConfigManager.

◆ Save()

virtual bool IConfigManager::Save ( )
pure virtual

Implemented in CConfigManager.

◆ SetReadOnly()

virtual void IConfigManager::SetReadOnly ( const char *  pScriptName,
bool  ReadOnly 
)
pure virtual

Implemented in CConfigManager.

◆ StoreUnknownCommand()

virtual void IConfigManager::StoreUnknownCommand ( const char *  pCommand)
pure virtual

Implemented in CConfigManager.

◆ Values()

virtual class CConfig * IConfigManager::Values ( )
pure virtual

Implemented in CConfigManager.

◆ WriteLine()

virtual void IConfigManager::WriteLine ( const char *  pLine)
pure virtual

Implemented in CConfigManager.


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