OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4FileSel_CBEx< CB > Class Template Reference

#include <C4FileSelDlg.h>

Inheritance diagram for C4FileSel_CBEx< CB >:
[legend]
Collaboration diagram for C4FileSel_CBEx< CB >:
[legend]

Public Types

typedef void(CB::* FileSelFunc )(const char *szFilename, int32_t idToken)
 

Public Member Functions

void OnFileSelected (const char *szFilename) override
 
 C4FileSel_CBEx (CB *pCBClass, FileSelFunc SelFunc, int32_t idToken)
 

Detailed Description

template<class CB>
class C4FileSel_CBEx< CB >

Definition at line 35 of file C4FileSelDlg.h.

Member Typedef Documentation

template<class CB >
typedef void(CB::* C4FileSel_CBEx< CB >::FileSelFunc)(const char *szFilename, int32_t idToken)

Definition at line 38 of file C4FileSelDlg.h.

Constructor & Destructor Documentation

template<class CB >
C4FileSel_CBEx< CB >::C4FileSel_CBEx ( CB *  pCBClass,
FileSelFunc  SelFunc,
int32_t  idToken 
)
inline

Definition at line 49 of file C4FileSelDlg.h.

49 : pCBClass(pCBClass), SelFunc(SelFunc), idToken(idToken) { }

Member Function Documentation

template<class CB >
void C4FileSel_CBEx< CB >::OnFileSelected ( const char *  szFilename)
inlineoverridevirtual

Implements C4FileSel_BaseCB.

Definition at line 45 of file C4FileSelDlg.h.

46  { if (pCBClass && SelFunc) (pCBClass->*SelFunc)(szFilename, idToken); }

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