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 // WDR: class declarations
00028 
00029 //----------------------------------------------------------------------------
00030 // CPKIFCRLDetailsPanel
00031 //----------------------------------------------------------------------------
00038 class PKIFRESOURCES_API CPKIFCRLDetailsPanel: public wxPanel
00039 {
00040 public:
00041     // constructors and destructors
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     // WDR: method declarations for CPKIFCRLDetailsPanel
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     // WDR: member variable declarations for CPKIFCRLDetailsPanel
00061     
00062 private:
00063     // WDR: handler declarations for CPKIFCRLDetailsPanel
00064     void OnSelectItem(wxListEvent& event);
00065     void OnSelectEntryItem(wxListEvent& event);
00066 private:
00067     DECLARE_EVENT_TABLE()
00068 };
00069 
00070 
00071 
00072 
00073 #endif

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