OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GUI::InputCallback< T > Class Template Reference

#include <C4Gui.h>

Inheritance diagram for C4GUI::InputCallback< T >:
[legend]
Collaboration diagram for C4GUI::InputCallback< T >:
[legend]

Public Types

typedef void(T::* CBFunc )(const StdStrBuf &)
 

Public Member Functions

 InputCallback (T *pTarget, CBFunc pCBFunc)
 
virtual void OnOK (const StdStrBuf &sText)
 

Detailed Description

template<class T>
class C4GUI::InputCallback< T >

Definition at line 2389 of file C4Gui.h.

Member Typedef Documentation

template<class T >
typedef void(T::* C4GUI::InputCallback< T >::CBFunc)(const StdStrBuf &)

Definition at line 2392 of file C4Gui.h.

Constructor & Destructor Documentation

template<class T >
C4GUI::InputCallback< T >::InputCallback ( T *  pTarget,
CBFunc  pCBFunc 
)
inline

Definition at line 2397 of file C4Gui.h.

2397 : pTarget(pTarget), pCBFunc(pCBFunc) {}

Member Function Documentation

template<class T >
virtual void C4GUI::InputCallback< T >::OnOK ( const StdStrBuf sText)
inlinevirtual

Implements C4GUI::BaseInputCallback.

Definition at line 2399 of file C4Gui.h.

2399 { (pTarget->*pCBFunc)(sText); }

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