UserPolicySetPanel.h
Go to the documentation of this file.00001
00010 #ifndef __UserPolicySetPanel_H__
00011 #define __UserPolicySetPanel_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "UserPolicySetPanel.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 "PolicyInformation.h"
00024 #include "PKIFPathSettings.h"
00025
00026
00027
00028
00029
00030
00037 class PKIFRESOURCES_API CPKIFUserPolicySetPanel: public wxPanel
00038 {
00039 public:
00040
00041 CPKIFUserPolicySetPanel( wxWindow *parent, wxWindowID id = -1,
00042 const wxPoint& pos = wxDefaultPosition,
00043 const wxSize& size = wxDefaultSize,
00044 long style = wxTAB_TRAVERSAL | wxNO_BORDER );
00045
00046
00047 wxListBox* GetListboxUserPolicies() { return (wxListBox*) FindWindow( ID_LISTBOX_USER_POLICIES ); }
00048 CPKIFPolicyInformationListPtr GetPolicies();
00049
00050 void SetInitialPathSettings(CPKIFPathSettingsPtr& ps);
00051 void OnInitDialog(wxInitDialogEvent& event);
00052
00053 private:
00054 CPKIFPathSettingsPtr m_initialPathSettings;
00055
00056
00057 private:
00058
00059 void OnRemovePolicy( wxCommandEvent &event );
00060 void OnEditPolicy( wxCommandEvent &event );
00061 void OnAddPolicy( wxCommandEvent &event );
00062
00063 private:
00064 DECLARE_EVENT_TABLE()
00065 };
00066
00067
00068
00069
00070 #endif