EvidenceRecordVerifierDlg.h

Go to the documentation of this file.
00001 
00009 #ifndef __EvidenceRecordVerifierDlg_H__
00010 #define __EvidenceRecordVerifierDlg_H__
00011 
00012 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00013     #pragma interface "EvidenceRecordVerifier.cpp"
00014 #endif
00015 
00016 #ifndef WX_PRECOMP
00017     #include "wx/wx.h"
00018 #endif
00019 
00020 #include "PKIFResources_wdr.h"
00021 #include "PKIFdll.h"
00022 
00023 
00024 #include "pkif.h"
00025 
00026 #ifdef __INCLUDE_SCVP_SUPPORT__
00027 #include "EvidenceRecordVerifier.h"
00028 #endif
00029 
00030 
00031 FD_SMART_PTR(CPKIFEvidenceRecordVerifier);
00032 
00033 // WDR: class declarations
00034 
00035 //----------------------------------------------------------------------------
00036 // CEvidenceRecordVerifierDlg
00037 //----------------------------------------------------------------------------
00044 class CEvidenceRecordVerifierDlg: public wxDialog
00045 {
00046 public:
00047     // constructors and destructors
00048     CEvidenceRecordVerifierDlg( wxWindow *parent, wxWindowID id, const wxString &title,
00049         const wxPoint& pos = wxDefaultPosition,
00050         const wxSize& size = wxDefaultSize,
00051         long style = wxDEFAULT_DIALOG_STYLE );
00052     virtual ~CEvidenceRecordVerifierDlg();
00053     
00054     // WDR: method declarations for CEvidenceRecordVerifierDlg
00055 
00056     //Current settings group box
00057     //No getzensetz required
00058 
00059     //Archival PKI environment settings group box
00060     wxButton* GetButtonArchMedRemove()  { return (wxButton*) FindWindow( ID_BUTTON_ARCH_MED_REMOVE ); }
00061     wxButton* GetButtonArchMedEdit()  { return (wxButton*) FindWindow( ID_BUTTON_ARCH_MED_EDIT ); }
00062     wxListBox* GetListboxArchMeds()  { return (wxListBox*) FindWindow( ID_LISTBOX_ARCH_MEDS ); }
00063 
00064     //Archival path processing settings group box
00065     wxButton* GetButtonArchPpRemove()  { return (wxButton*) FindWindow( ID_BUTTON_ARCH_PP_REMOVE ); }
00066     wxButton* GetButtonArchPpEdit()  { return (wxButton*) FindWindow( ID_BUTTON_ARCH_PP_EDIT ); }
00067     wxListBox* GetListboxArchPp()  { return (wxListBox*) FindWindow( ID_LISTBOX_ARCH_PP ); }
00068 
00069     //basic events
00070     virtual bool Validate();
00071     virtual bool TransferDataToWindow();
00072     virtual bool TransferDataFromWindow();
00073 
00074     #ifdef __INCLUDE_SCVP_SUPPORT__
00075     //**********************************************************************************************
00076     // Pre-display prep
00077     //**********************************************************************************************
00078     void SetInitialEvidenceRecordVerifier(CPKIFEvidenceRecordVerifierPtr& erv);
00079 
00080     //**********************************************************************************************
00081     // Post-display collection
00082     //**********************************************************************************************
00083     CPKIFEvidenceRecordVerifierPtr GetEvidenceRecordVerifier();
00084     #endif
00085 private:
00086     // WDR: member variable declarations for CEvidenceRecordVerifierDlg
00087     
00088 private:
00089     // WDR: handler declarations for CEvidenceRecordVerifierDlg
00090 
00091     //Current settings group box
00092     void OnClickCurPathProcessing( wxCommandEvent &event );
00093     void OnClickCurMeds( wxCommandEvent &event );
00094 
00095     //Archival PKI environment settings group box
00096     void OnClickRemoveArchMeds( wxCommandEvent &event );
00097     void OnClickEditArchMeds( wxCommandEvent &event );
00098     void OnClickAddArchMeds( wxCommandEvent &event );
00099 
00100     //Archival path processing settings group box
00101     void OnClickRemoveArchPathProcessing( wxCommandEvent &event );
00102     void OnClickEditArchPathProcessing( wxCommandEvent &event );
00103     void OnClickAddArchPathProcessing( wxCommandEvent &event );
00104 
00105     void OnOk( wxCommandEvent &event );
00106     void OnCancel( wxCommandEvent &event );
00107 
00108     #ifdef __INCLUDE_SCVP_SUPPORT__
00109     void AddToPathSettingsListbox(CPKIFExPathSettingsPtr& ps);
00110     void AddToMediatorListbox(CPKIFExMediatorPtr& m);
00111 
00112     
00113     CPKIFEvidenceRecordVerifierPtr m_erv;
00114     #endif
00115     IPKIFMediatorPtr m_curMed;
00116     CPKIFPathSettingsPtr m_curPS;
00117 
00118 private:
00119     DECLARE_EVENT_TABLE()
00120 };
00121 
00122 #endif

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