gcu::DialogOwner Class Reference
#include <gcu/dialog-owner.h>
List of all members.
Detailed Description
This class is the base class for objects owning dialogs. It is aimed at ensuring that each dialog is unique and that when the owner is destroyed, its dialogs are closed.
Definition at line 41 of file dialog-owner.h.
Member Function Documentation
Dialog* gcu::DialogOwner::GetDialog |
( |
std::string |
name |
) |
|
- Parameters:
-
| name | the name associated to the Dialog. |
- Returns:
- the Dialog instance associated with name or NULL if there is none.
void gcu::DialogOwner::ClearDialogs |
( |
|
) |
|
Destroys all dialogs associated with this instance.
The documentation for this class was generated from the following file: