C4FileSel_CBEx< CB > Class Template Reference

#include <C4FileSelDlg.h>

Inheritance diagram for C4FileSel_CBEx< CB >:
Collaboration diagram for C4FileSel_CBEx< CB >:

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

◆ FileSelFunc

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

◆ C4FileSel_CBEx()

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

Definition at line 49 of file C4FileSelDlg.h.

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

Member Function Documentation

◆ OnFileSelected()

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

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: