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 // WDR: class declarations
00025 
00026 //----------------------------------------------------------------------------
00027 // PathDumpDialog
00028 //----------------------------------------------------------------------------
00035 class PKIFRESOURCES_API PathDumpDialog: public wxDialog
00036 {
00037 public:
00038     // constructors and destructors
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     // WDR: method declarations for PathDumpDialog
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     // WDR: member variable declarations for PathDumpDialog
00056     CPKIFCertificatePathPtr m_path;
00057     CPKIFPathValidationResultsPtr m_pvr;
00058     
00059 private:
00060     // WDR: handler declarations for PathDumpDialog
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

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