QBProgressCallback Class Reference

#include <qbwcb_progress.h>

Inheritance diagram for QBProgressCallback:

QBWaitCallback QBFastCallback QBSimpleCallback

Detailed Description

Definition at line 23 of file qbwcb_progress.h.

Public Member Functions

 QBProgressCallback (const char *id, QBProgress::ProgressType pt)
virtual ~QBProgressCallback ()
virtual QBWaitCallbackinstantiate ()
virtual GWEN_WAITCALLBACK_RESULT checkAbort (unsigned int level)
virtual void log (unsigned int level, GWEN_LOGGER_LEVEL loglevel, const char *s)


Constructor & Destructor Documentation

QBProgressCallback::QBProgressCallback ( const char *  id,
QBProgress::ProgressType  pt 
)

virtual QBProgressCallback::~QBProgressCallback (  )  [virtual]


Member Function Documentation

virtual QBWaitCallback* QBProgressCallback::instantiate (  )  [virtual]

Uses this callback as a template to instantiate a new one. For GUI callbacks this function can be used to open a window (such as progress dialogs etc).

Reimplemented from QBWaitCallback.

Reimplemented in QBFastCallback, and QBSimpleCallback.

virtual GWEN_WAITCALLBACK_RESULT QBProgressCallback::checkAbort ( unsigned int  level  )  [virtual]

Checks whether the user wants to abort the current action. This function is optional.

Parameters:
level If the context given to GWEN_WaitCallback_Enter did not exist then a new default context has been created which uses the functions (like this one) of the at that time active context. For such an artificially derived context the level represents the current level below the context given as parameter ctx. So if the level is 0 then the given context actually is the currently active one.

Reimplemented from QBWaitCallback.

virtual void QBProgressCallback::log ( unsigned int  level,
GWEN_LOGGER_LEVEL  loglevel,
const char *  s 
) [virtual]

Logs a message to this callback. A GUI program could use this function to write the given string to an open window. This function is optional.

Parameters:
level see GWEN_WAITCALLBACK_CHECKABORTFN
loglevel a higher level results in a more detailed output. Loglevels are defined from 0 (the most important level) and 10 (the least important level).
s log string

Reimplemented from QBWaitCallback.


The documentation for this class was generated from the following file:
Generated on Sun Apr 29 17:23:06 2007 for aqbanking by  doxygen 1.5.1