PathDumpDialog.h
Go to the documentation of this file.00001
00009 #ifndef __PathDumpDialog_H__
00010 #define __PathDumpDialog_H__
00011
00012 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00013 #pragma interface "PathDumpDialog.cpp"
00014 #endif
00015
00016 #ifndef WX_PRECOMP
00017 #include "wx/wx.h"
00018 #endif
00019
00020 #include "PKIFResources_wdr.h"
00021 #include "PKIFResources.h"
00022 #include "pkif.h"
00023
00024
00025
00026
00027
00028
00035 class PKIFRESOURCES_API PathDumpDialog: public wxDialog
00036 {
00037 public:
00038
00039 PathDumpDialog( wxWindow *parent, wxWindowID id, const wxString &title,
00040 const wxPoint& pos = wxDefaultPosition,
00041 const wxSize& size = wxDefaultSize,
00042 long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER );
00043
00044
00045 wxButton* GetDumpSaveCerts() { return (wxButton*) FindWindow( PKIFR_ID_DUMP_SAVE_CERTS ); }
00046 wxTextCtrl* GetPathDumpDetails() { return (wxTextCtrl*) FindWindow( PKIFR_ID_PATH_DUMP_DETAILS ); }
00047
00048 int DumpPath(CPKIFCertificatePathPtr, const char* appInfo = NULL, bool bPrepareOnly = false);
00049 int DumpResults(CPKIFCertificatePathPtr,CPKIFPathValidationResultsPtr, const char* appInfo = NULL, bool bPrepareOnly = false);
00050 void SavePathToDisk(void);
00051 void SaveRIToDisk(void);
00052 void SaveLogToDisk(void);
00053
00054 private:
00055
00056 CPKIFCertificatePathPtr m_path;
00057 CPKIFPathValidationResultsPtr m_pvr;
00058
00059 private:
00060
00061 void OnDumpRevInfo( wxCommandEvent &event );
00062 void OnSaveCerts( wxCommandEvent &event );
00063 void OnSaveLog( wxCommandEvent &event );
00064 void OnDumpAll( wxCommandEvent &event );
00065
00066 private:
00067 DECLARE_EVENT_TABLE()
00068 };
00069
00070
00071
00072
00073 #endif