ColleagueSelectionPanel.h
Go to the documentation of this file.00001
00011 #ifndef __ColleagueSelectionPanel_H__
00012 #define __ColleagueSelectionPanel_H__
00013
00014
00015 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00016 #pragma interface "ColleagueSelectionPanel.cpp"
00017 #endif
00018
00019 #ifndef WX_PRECOMP
00020 #include "wx/wx.h"
00021 #endif
00022
00023 #include "PKIFResources_wdr.h"
00024 #include "PKIFResources.h"
00025 #include "pkif.h"
00026 #include "ClickableStaticText.h"
00027
00028
00029
00030
00031
00032
00039 class PKIFRESOURCES_API CPKIFColleagueSelectionPanel: public wxPanel
00040 {
00041 public:
00042
00043 CPKIFColleagueSelectionPanel( wxWindow *parent, wxWindowID id = -1,
00044 const wxPoint& pos = wxDefaultPosition,
00045 const wxSize& size = wxDefaultSize,
00046 long style = wxTAB_TRAVERSAL | wxNO_BORDER );
00047
00048
00049 wxBitmapButton* GetDirLookUpButton() { return (wxBitmapButton*) FindWindow( ID_BUTTON_NSSDB_BROWSE ); }
00050 wxTextCtrl* GetTextNssDbdir() { return (wxTextCtrl*) FindWindow( ID_TEXT_NSS_DBDIR ); }
00051
00052
00053
00054 wxCheckBox* GetCheckNssStored() { return (wxCheckBox*) FindWindow( ID_CHECK_NSS_STORED ); }
00055 wxCheckBox* GetCheckNssRawmisc() { return (wxCheckBox*) FindWindow( ID_CHECK_NSS_RAWMISC ); }
00056 wxCheckBox* GetCheckCapiHkcuStored() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_STORED_HKCU ); }
00057 wxCheckBox* GetCheckCapiHklmStored() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_STORED_HKLM ); }
00058 wxCheckBox* GetCheckCapiRawmisc() { return (wxCheckBox*) FindWindow( ID_CHECK_CAPI_RAWMISC ); }
00059
00060 ClickableStaticText* GetStaticCapiRaw() { return (ClickableStaticText*) FindWindow( ID_TEXT_CAPI_RAW ); }
00061 ClickableStaticText* GetStaticCapiHkcuStored() { return (ClickableStaticText*) FindWindow( ID_TEXT_CAPI_STORED_HKCU ); }
00062 ClickableStaticText* GetStaticCapiHklmStored() { return (ClickableStaticText*) FindWindow( ID_TEXT_CAPI_STORED_HKLM ); }
00063 ClickableStaticText* GetStaticNssRaw() { return (ClickableStaticText*) FindWindow( ID_TEXT_NSS_RAW ); }
00064 ClickableStaticText* GetStaticNssStored() { return (ClickableStaticText*) FindWindow( ID_TEXT_NSS_STORED ); }
00065 ClickableStaticText* GetStaticCppRaw() { return (ClickableStaticText*) FindWindow( ID_TEXT_CPP_RAW ); }
00066 ClickableStaticText* GetStaticCppStored() { return (ClickableStaticText*) FindWindow( ID_TEXT_CPP_STORED ); }
00067 virtual bool Validate();
00068
00069
00070
00071 wxCheckBox* GetCheckCppRaw() { return (wxCheckBox*) FindWindow( ID_CHECK_CPP_RAWMISC ); }
00072 wxCheckBox* GetCheckCppStored() { return (wxCheckBox*) FindWindow( ID_CHECK_CPP_STORED ); }
00073
00074 void SetInitialMediator(IPKIFMediatorPtr& m);
00075 void OnInitDialog(wxInitDialogEvent& event);
00076
00077 private:
00078 IPKIFMediatorPtr m_m;
00079
00080
00081
00082 private:
00083
00084 void OnBrowseToNssDB( wxCommandEvent &event );
00085 void LoadCryptoSettings();
00086
00087
00088
00089
00090 private:
00091 DECLARE_EVENT_TABLE()
00092 };
00093
00094
00095
00096
00097 #endif