PkiEnvironmentDefinitionNotebook.h

Go to the documentation of this file.
00001 
00010 #ifndef __PkiEnvironmentDefinitionNotebook_H__
00011 #define __PkiEnvironmentDefinitionNotebook_H__
00012 
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014     #pragma interface "PkiEnvironmentDefinitionNotebook.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 "pkif.h"
00024 
00025 #include "ColleagueSelectionPanel.h"
00026 #include "LdapAndOcspPanel.h"
00027 #include "SimpleCertAndCrlPanel.h"
00028 #include "SRColleaguesPanel.h"
00029 #include "PathProcessingAndRevCheckingPanel.h"
00030 
00031 FD_SMART_PTR(CPRColleagueInfo);
00032 
00033 // WDR: class declarations
00034 
00035 //----------------------------------------------------------------------------
00036 // CPKIFPkiEnvironmentDefinitionNotebook
00037 //----------------------------------------------------------------------------
00044 class PKIFRESOURCES_API CPKIFPkiEnvironmentDefinitionNotebook: public wxDialog
00045 {
00046 public:
00047     // constructors and destructors
00048     CPKIFPkiEnvironmentDefinitionNotebook( wxWindow *parent, wxWindowID id, const wxString &title,
00049         const wxPoint& pos = wxDefaultPosition,
00050         const wxSize& size = wxDefaultSize,
00051         long style = wxDEFAULT_DIALOG_STYLE,
00052         bool enableBlacklists = true);
00053     
00054     ~CPKIFPkiEnvironmentDefinitionNotebook();
00055 
00056     IPKIFMediatorPtr GetMediator();
00057     //static void FreeMediator(IPKIFMediator* m);
00058 
00059     void OnInitDialog(wxInitDialogEvent& event);
00060 
00061     // WDR: method declarations for CPKIFPkiEnvironmentDefinitionNotebook
00062 
00063     void SetInitialMediator(IPKIFMediatorPtr& m);
00064     void OnSelChange(wxNotebookEvent& event);
00065 
00066 private:
00067     IPKIFMediatorPtr m_m;
00068 
00069     std::vector<CPRColleagueInfoPtr> m_unrecognizedCrypto;
00070     std::vector<CPRColleagueInfoPtr> m_unrecognizedSR;
00071     std::vector<CPRColleagueInfoPtr> m_unrecognizedRevStatus;
00072     std::vector<CPRColleagueInfoPtr> m_unrecognizedPathProc;
00073 
00074     // WDR: member variable declarations for CPKIFPkiEnvironmentDefinitionNotebook
00075     
00076 private:
00077     // WDR: handler declarations for CPKIFPkiEnvironmentDefinitionNotebook
00078     void OnCancel( wxCommandEvent &event );
00079     void OnOK( wxCommandEvent &event );
00080     CPKIFColleagueSelectionPanel* m_pColleaguePanel;
00081     CPKIFLdapAndOcspPanel* m_pLdapAndOcspPanel;
00082     CPKIFSimpleCertAndCrlPanel* m_pSimplePanel;
00083     CPKIFPathAndRevColleagueSelectionPanel* m_pPathAndRevPanel;
00084     CPKIFSRColleagueSelectionPanel* m_pSRPanel;
00085 
00086     //mediator assembly functions
00087     void AssembleCrypto(CPKIFCryptoMediator2Ptr&) const;
00088     void AssembleStorageAndRetrieval(CPKIFCacheMediator2Ptr&) const;
00089     void AssemblePathProcessing(CPKIFPathProcessingMediator2Ptr&) const;
00090     void AssembleRevocationStatus(CPKIFRevocationStatusMediator2Ptr&) const;
00091 
00092 private:
00093     DECLARE_EVENT_TABLE()
00094 };
00095 
00096 
00097 
00098 
00099 #endif

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