DDraceNetwork Docs
IUpdater Class Referenceabstract

#include <updater.h>

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

Public Types

enum  EUpdaterState {
  CLEAN , GETTING_MANIFEST , GOT_MANIFEST , PARSING_UPDATE ,
  DOWNLOADING , MOVE_FILES , NEED_RESTART , FAIL
}
 

Public Member Functions

virtual void Update ()=0
 
virtual void InitiateUpdate ()=0
 
virtual EUpdaterState GetCurrentState ()=0
 
virtual void GetCurrentFile (char *pBuf, int BufSize)=0
 
virtual int GetCurrentPercent ()=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 Enumeration Documentation

◆ EUpdaterState

Enumerator
CLEAN 
GETTING_MANIFEST 
GOT_MANIFEST 
PARSING_UPDATE 
DOWNLOADING 
MOVE_FILES 
NEED_RESTART 
FAIL 

Member Function Documentation

◆ GetCurrentFile()

virtual void IUpdater::GetCurrentFile ( char *  pBuf,
int  BufSize 
)
pure virtual

Implemented in CUpdater.

◆ GetCurrentPercent()

virtual int IUpdater::GetCurrentPercent ( )
pure virtual

Implemented in CUpdater.

◆ GetCurrentState()

virtual EUpdaterState IUpdater::GetCurrentState ( )
pure virtual

Implemented in CUpdater.

◆ InitiateUpdate()

virtual void IUpdater::InitiateUpdate ( )
pure virtual

Implemented in CUpdater.

◆ InterfaceName()

static const char * IUpdater::InterfaceName ( )
inlinestatic

◆ Update()

virtual void IUpdater::Update ( )
pure virtual

Implemented in CUpdater.


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