00001 00011 #if !defined(__PKIFSIMPLEPASSWORDCALLBACK_H__) 00012 #define __PKIFSIMPLEPASSWORDCALLBACK_H__ 00013 #include "PKIFResources.h" 00014 #include "pkif.h" 00015 #include "IPKIFPasswordCallback.h" 00016 00017 #ifndef WX_PRECOMP 00018 #include "wx/wx.h" 00019 #endif 00020 00025 class PKIFRESOURCES_API CPKIFSimplePasswordCallback : public IPKIFPasswordCallback 00026 { 00027 public: 00028 CPKIFSimplePasswordCallback(); 00029 virtual ~CPKIFSimplePasswordCallback(); 00030 00031 virtual char * operator()( const char * tokenName, bool retrying); 00032 void SetParent(wxWindow * parent); 00033 private: 00035 CPKIFSimplePasswordCallback(const CPKIFSimplePasswordCallback & copy); 00037 CPKIFSimplePasswordCallback & operator=(const CPKIFSimplePasswordCallback & rhs); 00038 00039 wxWindow * m_parentWin; 00040 00041 }; 00042 00043 00044 00045 #endif