00001 00011 #ifndef __SRColleaguesPanel_H__ 00012 #define __SRColleaguesPanel_H__ 00013 00014 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA) 00015 #pragma interface "SRColleaguesPanel.cpp" 00016 #endif 00017 00018 #ifndef WX_PRECOMP 00019 #include "wx/wx.h" 00020 #endif 00021 00022 #include "PKIFResources_wdr.h" 00023 #include "PKIFResources.h" 00024 #include "pkif.h" 00025 #include "ClickableStaticText.h" 00026 #include "ColleagueSelectionPanel.h" 00027 00028 // WDR: class declarations 00029 00030 //---------------------------------------------------------------------------- 00031 // CPKIFSRColleagueSelectionPanel 00032 //---------------------------------------------------------------------------- 00039 class CPKIFSRColleagueSelectionPanel: public wxPanel 00040 { 00041 public: 00042 // constructors and destructors 00043 CPKIFSRColleagueSelectionPanel( wxWindow *parent, wxWindowID id = -1, 00044 const wxPoint& pos = wxDefaultPosition, 00045 const wxSize& size = wxDefaultSize, 00046 long style = wxTAB_TRAVERSAL | wxNO_BORDER ); 00047 ~CPKIFSRColleagueSelectionPanel(); 00048 00049 // WDR: method declarations for CPKIFSRColleagueSelectionPanel 00050 wxCheckBox* GetCheckSiaAiaCrldpCache() { return (wxCheckBox*) FindWindow( ID_CHECK_URI_CACHE ); } 00051 wxCheckBox* GetCheckCapiCertcrlHkcu() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_CERTCRL_HKCU ); } 00052 wxCheckBox* GetCheckCapiCertcrlHklm() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_CERTCRL_HKLM ); } 00053 wxCheckBox* GetCheckNssCertcrl() { return (wxCheckBox*) FindWindow( ID_CHECK_NSS_CERTCRL ); } 00054 wxCheckBox* GetCheckSimpleCert() { return (wxCheckBox*) FindWindow( ID_CHECK_SIMPLE_CERT ); } 00055 wxCheckBox* GetCheckSimpleCrl() { return (wxCheckBox*) FindWindow( ID_CHECK_SIMPLE_CRL ); } 00056 wxCheckBox* GetCheckNssTrustAnchors() { return (wxCheckBox*) FindWindow( ID_CHECK_NSS_TRUST_ANCHORS ); } 00057 wxCheckBox* GetCheckTrustAnchors() { return (wxCheckBox*) FindWindow( ID_CHECK_TRUST_ANCHORS ); } 00058 wxCheckBox* GetCheckCapiTrustAnchorHklm() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_TRUST_ANCHOR_HKLM ); } 00059 wxCheckBox* GetCheckCapiTrustAnchorHkcu() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_TRUST_ANCHOR_HKCU ); } 00060 ClickableStaticText* GetStaticCapiHkcu() { return (ClickableStaticText*) FindWindow( ID_TEXT_CAPI_HKCU ); } 00061 ClickableStaticText* GetStaticCapiHklm() { return (ClickableStaticText*) FindWindow( ID_TEXT_CAPI_HKLM ); } 00062 ClickableStaticText* GetStaticNssSr() { return (ClickableStaticText*) FindWindow( ID_TEXT_NSS_SR ); } 00063 00064 void SetInitialMediator(IPKIFMediatorPtr& m); 00065 void SetCryptoColleaguePanel(CPKIFColleagueSelectionPanel* cryptoColPanel); 00066 void OnInitDialog(wxInitDialogEvent& event); 00067 00068 private: 00069 // WDR: member variable declarations for CPKIFSRColleagueSelectionPanel 00070 IPKIFMediatorPtr m_m; 00071 CPKIFColleagueSelectionPanel* m_cryptoColPanel; 00072 00073 private: 00074 // WDR: handler declarations for CPKIFSRColleagueSelectionPanel 00075 void LoadStorageAndRetrievalSettings(); 00076 00077 private: 00078 DECLARE_EVENT_TABLE() 00079 }; 00080 00081 #endif 00082