CertificateDisplayNotebook.h
Go to the documentation of this file.00001
00010 #ifndef __CertificateDisplay_H__
00011 #define __CertificateDisplay_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "CertificateDisplayNotebook.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 "GeneralCertificateDetailsPanel.h"
00024 #include "CertificateDetailsPanel.h"
00025
00026
00027 #define PKIFRESOURCES_CERT_DISPLAY_NOTEBOOK TOOLKIT_APP + 3
00028
00029
00030
00031
00032
00033
00040 class PKIFRESOURCES_API CPKIFCertificateDisplayNotebook: public wxDialog
00041 {
00042 public:
00043
00044 CPKIFCertificateDisplayNotebook( wxWindow *parent, wxWindowID id, const wxString &title,
00045 const wxPoint& pos = wxDefaultPosition,
00046 const wxSize& size = wxDefaultSize,
00047 long style = wxDEFAULT_DIALOG_STYLE );
00048
00049 ~CPKIFCertificateDisplayNotebook();
00050
00051 void SetCertificate(CPKIFCertificatePtr& cert);
00052 void OnInitDialog(wxInitDialogEvent& event);
00053
00054
00055 private:
00056
00057 CPKIFGeneralCertificateDetailsPanel* m_pGeneralDetailsPanel;
00058 CPKIFCertificateDetailsPanel* m_pDetailsPanel;
00059 CPKIFCertificatePtr m_cert;
00060
00061
00062 private:
00063
00064 void OnCancel( wxCommandEvent &event );
00065 void OnOK( wxCommandEvent &event );
00066
00067 private:
00068 DECLARE_EVENT_TABLE()
00069 };
00070
00071 #endif