GeneralCRLDetailsPanel.h
Go to the documentation of this file.00001
00010 #ifndef __GeneralCRLDetailsPanel_H__
00011 #define __GeneralCRLDetailsPanel_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "GeneralCRLDetailsPanel.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 CPKIFGeneralCRLDetailsPanel: public wxPanel
00039 {
00040 public:
00041
00042 CPKIFGeneralCRLDetailsPanel( 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* GetListboxGeneralInfo() { return (wxListCtrl*) FindWindow( PKIFR_ID_CRL_DETAILS_LIST ); }
00049 wxTextCtrl* GetFieldInfo() { return (wxTextCtrl*) FindWindow( PKIFR_ID_CRL_FIELD_DETAILS ); }
00050
00051 void SetCRL(CPKIFCRLPtr& cert);
00052 void OnInitDialog(wxInitDialogEvent& event);
00053 void PopulateList();
00054 void PopulateListExtensions();
00055
00056 private:
00057 CPKIFCRLPtr m_crl;
00058 wxSizer *m_sizer;
00059 int m_fieldCount;
00060
00061
00062 private:
00063
00064 void OnSelectItem(wxListEvent& event);
00065 void OnSaveCRL(wxCommandEvent& event);
00066
00067 private:
00068 DECLARE_EVENT_TABLE()
00069 };
00070
00071
00072
00073
00074 #endif