Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

look::DbUserInterface Class Reference

User interface class. More...

#include <dbuserinterface.h>

List of all members.

Public Types

typedef void (* NotifyFunction )(void)

Static Public Methods

void SetWait (void)
 'We are going to do something that may take a while'.

void ClearWait (void)
 'We have now finished doing our long thing'.

NotifyFunction SetSetWaitFunction (NotifyFunction theNewFunction)
 Set the wait function. More...

NotifyFunction SetClearWaitFunction (NotifyFunction theNewFunction)
 Set the clear wait function. More...


Static Protected Attributes

NotifyFunction itsSetWaitFunction
NotifyFunction itsClearWaitFunction


Detailed Description

User interface class.

This is the beginnings of a class to handle user interface things.

Eg under a GUI, you may want to show an hourglass when doing a lot of database activity. DbQuery knows about DbUserInterface and calls SetWait() and ClearWait(), so if you register some functions that create and destroy an hourglass you will get them at sensible times.


Member Function Documentation

NotifyFunction look::DbUserInterface::SetClearWaitFunction ( NotifyFunction theNewFunction ) [static]
 

Set the clear wait function.

Parameters:
theNewFunction   Clear wait function pointer
Returns:
The old one (so you can chain if necessary)

NotifyFunction look::DbUserInterface::SetSetWaitFunction ( NotifyFunction theNewFunction ) [static]
 

Set the wait function.

Parameters:
theNewFunction   Wait function pointer
Returns:
The old one (so you can chain if necessary)


The documentation for this class was generated from the following files:
Generated at Thu Jan 17 12:53:08 2002 for liblookdb by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001