CRLDetailsPanel.h
Go to the documentation of this file.00001
00010 #ifndef __CRLDetailsPanel_H__
00011 #define __CRLDetailsPanel_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "CRLDetailsPanel.cpp"
00015 #endif
00016
00017 #ifndef WX_PRECOMP
00018 #include "wx/wx.h"
00019 #endif
00020
00021 #include "PKIFResources_wdr.h"
00022 #include "PKIFResources.h"
00023 #include "PolicyInformation.h"
00024 #include "PKIFPathSettings.h"
00025 #include "CRL.h"
00026
00027
00028
00029
00030
00031
00038 class PKIFRESOURCES_API CPKIFCRLDetailsPanel: public wxPanel
00039 {
00040 public:
00041
00042 CPKIFCRLDetailsPanel( wxWindow *parent, wxWindowID id = -1,
00043 const wxPoint& pos = wxDefaultPosition,
00044 const wxSize& size = wxDefaultSize,
00045 long style = wxTAB_TRAVERSAL | wxNO_BORDER );
00046
00047
00048 wxListCtrl* GetCRLEntryList() { return (wxListCtrl*) FindWindow( PKIFR_ID_CRL_ENTRY_LIST ); }
00049 wxTextCtrl* GetCRLEntryFieldDetails() { return (wxTextCtrl*) FindWindow( PKIFR_ID_CRL_FIELD_DETAILS ); }
00050 wxListCtrl* GetCRLEntryDetailsList() { return (wxListCtrl*) FindWindow( PKIFR_ID_CRL_ENTRY_DETAILS_LIST ); }
00051
00052 void SetCRL(CPKIFCRLPtr& cert);
00053 void OnInitDialog(wxInitDialogEvent& event);
00054
00055 private:
00056 CPKIFCRLPtr m_crl;
00057 int m_fieldCount;
00058 void PopulateList();
00059 int PopulateListExtensions(CPKIFCRLEntryPtr& ce,int count);
00060
00061
00062 private:
00063
00064 void OnSelectItem(wxListEvent& event);
00065 void OnSelectEntryItem(wxListEvent& event);
00066 private:
00067 DECLARE_EVENT_TABLE()
00068 };
00069
00070
00071
00072
00073 #endif