OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GUI::BaseCallbackHandler Class Referenceabstract

#include <C4Gui.h>

Inheritance diagram for C4GUI::BaseCallbackHandler:
[legend]

Public Member Functions

 BaseCallbackHandler ()
 
virtual ~BaseCallbackHandler ()
 
void Ref ()
 
void DeRef ()
 
virtual void DoCall (class Element *pElement)=0
 

Detailed Description

Definition at line 248 of file C4Gui.h.

Constructor & Destructor Documentation

C4GUI::BaseCallbackHandler::BaseCallbackHandler ( )
inline

Definition at line 253 of file C4Gui.h.

253 : iRefs(0) {}
virtual C4GUI::BaseCallbackHandler::~BaseCallbackHandler ( )
inlinevirtual

Definition at line 254 of file C4Gui.h.

254 {}

Member Function Documentation

void C4GUI::BaseCallbackHandler::DeRef ( )
inline

Definition at line 257 of file C4Gui.h.

Referenced by C4GUI::ConfirmationDialog::OnClosed(), C4GUI::CheckBox::SetOnChecked(), C4GUI::ListBox::SetSelectionChangeCallbackFn(), C4GUI::ListBox::SetSelectionDblClickFn(), C4GUI::CheckBox::~CheckBox(), C4GUI::ConfirmationDialog::~ConfirmationDialog(), C4GUI::ListBox::~ListBox(), and C4GUI::ScrollBar::~ScrollBar().

257 { if (!--iRefs) delete this; }

Here is the caller graph for this function:

virtual void C4GUI::BaseCallbackHandler::DoCall ( class Element pElement)
pure virtual
void C4GUI::BaseCallbackHandler::Ref ( )
inline

Definition at line 256 of file C4Gui.h.

Referenced by C4GUI::ConfirmationDialog::ConfirmationDialog(), C4GUI::ConfirmationDialog::OnClosed(), C4GUI::ScrollBar::ScrollBar(), C4GUI::CheckBox::SetOnChecked(), C4GUI::ListBox::SetSelectionChangeCallbackFn(), and C4GUI::ListBox::SetSelectionDblClickFn().

256 { ++iRefs; }

Here is the caller graph for this function:


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