PathProcessingAndRevCheckingPanel.h

Go to the documentation of this file.
00001 
00011 #ifndef __PATHPROCESSINGANDREVCHECKINGPANEL_H__
00012 #define __PATHPROCESSINGANDREVCHECKINGPANEL_H__
00013 
00014 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00015     #pragma interface "PathProcessingAndRevCheckingPanel.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 FD_SMART_PTR(IPKIFScvpClient);
00026 
00027 // WDR: class declarations
00028 
00029 //----------------------------------------------------------------------------
00030 // CPKIFPathAndRevColleagueSelectionPanel
00031 //----------------------------------------------------------------------------
00038 class CPKIFPathAndRevColleagueSelectionPanel: public wxPanel
00039 {
00040 public:
00041     // constructors and destructors
00042     CPKIFPathAndRevColleagueSelectionPanel( wxWindow *parent, wxWindowID id = -1,
00043         const wxPoint& pos = wxDefaultPosition,
00044         const wxSize& size = wxDefaultSize,
00045         long style = wxTAB_TRAVERSAL | wxNO_BORDER );
00046     ~CPKIFPathAndRevColleagueSelectionPanel();
00047     
00048     // WDR: method declarations for CPKIFPathAndRevColleagueSelectionPanel
00049     wxCheckBox* GetCheckGenerateNonceOcspAia()  { return (wxCheckBox*) FindWindow( ID_CHECK_GENERATE_NONCE_OCSP_AIA ); }
00050     wxCheckBox* GetCheckRequireNonceMatchOcspAia()  { return (wxCheckBox*) FindWindow( ID_CHECK_REQUIRE_NONCE_MATCH_OCSP_AIA ); }
00051     wxCheckBox* GetCheckCacheOcspAia()  { return (wxCheckBox*) FindWindow( ID_CHECK_CACHE_OCSP_AIA ); }
00052     wxCheckBox* GetCheckRetrieveSiaAia()  { return (wxCheckBox*) FindWindow( ID_CHECK_RETRIEVE_SIA_AIA_CRLDP ); }
00053     wxCheckBox* GetCheckCacheRevStatus()  { return (wxCheckBox*) FindWindow( ID_CHECK_REV_STATUS_CACHE ); }
00054     wxCheckBox* GetCheckProcessCRLs()  { return (wxCheckBox*) FindWindow( ID_CHECK_PROCESS_CRLS ); }
00055     wxCheckBox* GetCheckOcspAia()  { return (wxCheckBox*) FindWindow( ID_CHECK_OCSP_AIA ); }
00056     wxCheckBox* GetCheckForward2()  { return (wxCheckBox*) FindWindow( ID_CHECKBOX_FORWARD2 ); } 
00057     wxCheckBox* GetCheckForward()  { return (wxCheckBox*) FindWindow( ID_CHECKBOX_FORWARD ); } 
00058     wxCheckBox* GetCheckReverse()  { return (wxCheckBox*) FindWindow( ID_CHECKBOX_REVERSE ); } 
00059     wxCheckBox* GetCheckLocalValidation()  { return (wxCheckBox*) FindWindow( ID_CHECKBOX_LOCAL_VALIDATION ); } 
00060     wxCheckBox* GetCheckLocalBuildAndValidate()  { return (wxCheckBox*) FindWindow( ID_CHECKBOX_LOCAL_BUILD_AND_VALIDATE ); } 
00061     wxCheckBox* GetCheckRetrieveFromCrldp()  { return (wxCheckBox*) FindWindow( ID_CHECK_RETRIEVE_FROM_CRLDP ); }
00062     wxListBox* GetListboxScvp()  { return (wxListBox*) FindWindow( ID_LISTBOX_SCVP ); }
00063 
00064     void SetInitialMediator(IPKIFMediatorPtr& m);
00065     void OnInitDialog(wxInitDialogEvent& event);
00066 
00067     void GetResponders(std::vector<IPKIFScvpClientPtr>& r) const;
00068     
00069 private:
00070     // WDR: member variable declarations for CPKIFPathAndRevColleagueSelectionPanel
00071     IPKIFMediatorPtr m_m;
00072     
00073 private:
00074     // WDR: handler declarations for CPKIFPathAndRevColleagueSelectionPanel
00075     void OnRemoveScvpResponder( wxCommandEvent &event );
00076     void OnEditScvpResponder( wxCommandEvent &event );
00077     void OnAddScvpResponder( wxCommandEvent &event );
00078     void LoadPathProcessingSettings();
00079     void LoadRevocationStatusSettings();
00080     void UpdateScvp();
00081 
00082     std::vector<IPKIFScvpClientPtr> m_vScvp;
00083 
00084 private:
00085     DECLARE_EVENT_TABLE()
00086 };
00087 
00088 #endif //__PATHPROCESSINGANDREVCHECKINGPANEL_H__

Generated on Mon Nov 15 11:15:52 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6