"Fossies" - the Fresh Open Source Software Archive

Member "ldapexplorertool-2.0.1/src/newentrydlg.h" (25 Aug 2006, 1432 Bytes) of package /linux/privat/old/ldapexplorertool-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "newentrydlg.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef __LET_NewEntryDlg_H
    2 #define __LET_NewEntryDlg_H
    3 
    4 
    5 //#include "../main_frame.h"
    6 #include "ldapclass.h"
    7 #include "schema.h"
    8 
    9 class NewEntryDlg : public wxDialog
   10 {
   11     public:
   12         NewEntryDlg( wxWindow* p_Parent );
   13         NewEntryDlg( wxWindow* p_Parent, const wxString& p_ParentDn, SchemaUtil& p_Ldap );
   14         wxString m_NewRdn ;
   15         wxString m_NewDn ;
   16     protected :
   17         SchemaUtil *m_Ldap;
   18 
   19         void OnMustAdd( wxCommandEvent& p_Event );
   20         void OnMayAdd( wxCommandEvent& p_Event );
   21         void OnObjectClassChanged( wxCommandEvent& p_Event );
   22         void OnRdnChanged( wxCommandEvent& p_Event );
   23         void OnTreeRightClick( wxTreeEvent& p_Event );
   24         void OnAddValue( wxCommandEvent& WXUNUSED( p_Event ) );
   25         void OnDelValue( wxCommandEvent& WXUNUSED( p_Event ) );
   26         void OnDeleteAttribute( wxCommandEvent& WXUNUSED( p_Event ) );
   27         void OnSave( wxCommandEvent& WXUNUSED( p_Event ) );
   28         void OnManualAdd( wxCommandEvent& p_Event );
   29         //void OnCancel( wxCommandEvent& WXUNUSED( p_Event ) );
   30         void SetManual( bool p_Manual );
   31     private:
   32         void InitControls();
   33         wxTextCtrl* parentdn_text_ctrl;
   34         wxTextCtrl* entryrdn_text_ctrl;
   35         wxComboBox* objectclass_combo_box;
   36         wxTextCtrl* objectclass_text_ctrl;
   37         wxTreeCtrl* attributes_tree_ctrl;
   38         wxListBox* mustattributes_list_box;
   39         wxListBox* mayattributes_list_box;
   40         wxTextCtrl* attribute_text_ctrl;
   41         wxButton* button_add;
   42         wxButton* button_save;
   43         wxButton* button_cancel;
   44 
   45         DECLARE_EVENT_TABLE()
   46 };
   47 
   48 #endif