WindowController_t Class Reference

Window controller base class. More...

#include <UTWindow.h>

Inheritance diagram for WindowController_t:
Task_t BTreeNode_t< Task_t, Task_t * >

List of all members.

Public Member Functions

 WindowController_t ()
virtual ~WindowController_t ()
virtual quit_response_t WindowCloseRequested (Window_t *window, bool app_quit_requested)=0
void DeferredCloseDenied (Window_t *window_which_was_not_closed)

Detailed Description

Non-core library: UTgui

Window controller base class. This can be the controller for more than one window. Any number of message receivers can be added by an application-defined subclass. The only mandatory role for this class is to handle window close requests.

Definition at line 301 of file UTWindow.h.


Constructor & Destructor Documentation

WindowController_t::WindowController_t (  ) 

Constructor.

virtual WindowController_t::~WindowController_t (  )  [virtual]

Destructor.


Member Function Documentation

virtual quit_response_t WindowController_t::WindowCloseRequested ( Window_t window,
bool  app_quit_requested 
) [pure virtual]

Handles a request to close the window. If this function returns eQUIT_allowed, the window must already have been closed. If this function returns eQUIT_deferred, it must later call either DeferredCloseDenied or delete the window.

void WindowController_t::DeferredCloseDenied ( Window_t window_which_was_not_closed  ) 

Indicates that a deferred close request has been resolved, and the window will not be closed. If a close all windows operation is in progress but stalled due to the deferral, it will be cancelled. This includes application quit requests.


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

Generated on Tue Dec 14 22:35:07 2010 for UT library by  doxygen 1.6.1