Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

limits_wizardpage.h

Go to the documentation of this file.
      00001 //----------------------------------------------------------------------------------------
      00011 // RCS-ID:      $Id: limits_wizardpage.h,v 1.3 2002/09/10 18:07:56 robertoconnor Exp $
      00012 //----------------------------------------------------------------------------------------
      00013 
      00014 //----------------------------------------------------------------------------------------
      00015 // Begin single inclusion of this .h file condition
      00016 //----------------------------------------------------------------------------------------
      00017 
      00018 #ifndef _LIMITS_WIZARDPAGE_H_
      00019 #define _LIMITS_WIZARDPAGE_H_
      00020 
      00021 //----------------------------------------------------------------------------------------
      00022 // GCC interface
      00023 //----------------------------------------------------------------------------------------
      00024 
      00025 #if defined(__GNUG__) && ! defined(__APPLE__)
      00026     #pragma interface "limits_wizardpage.h"
      00027 #endif
      00028 
      00029 //----------------------------------------------------------------------------------------
      00030 // Shared defines
      00031 //----------------------------------------------------------------------------------------
      00032 
      00033 #include "plucker_defines.h"        // Also for plkrNEW_CHANNEL_TEMPLATE_SECTION
      00034 
      00035 //----------------------------------------------------------------------------------------
      00036 // Begin feature removal condition
      00037 //----------------------------------------------------------------------------------------
      00038 
      00039 #if ( setupUSE_WIZARDS )
      00040 
      00041 //----------------------------------------------------------------------------------------
      00042 // Headers
      00043 //----------------------------------------------------------------------------------------
      00044 
      00045 #include "wx/wizard.h"
      00046 #include "wx/spinctrl.h"
      00047 
      00048 //----------------------------------------------------------------------------------------
      00049 // Class definition: limits_wizardpage
      00050 //----------------------------------------------------------------------------------------
      00051 
      00053 
      00056 class limits_wizardpage : public wxWizardPageSimple
00057 {
00058 
00059 public:     
00060  
00062 
00069     limits_wizardpage( wxWizard *parent, 
00070                        const wxString& channel_section = plkrNEW_CHANNEL_TEMPLATE_SECTION,
00071                        wxBitmap bitmap = wxNullBitmap
00072                      );
00073     
00075     ~limits_wizardpage();
00076     
00078 
00081     int get_maxdepth_value();
00082     
00084 
00087     bool get_stayondomain_value();
00088     
00090 
00093     bool get_stayonhost_value();
00094 
00095 private:
00096 
00097     void on_update_ui_stayonhost_stayondomain_checkbox( wxUpdateUIEvent& event );
00098     void read_configuration( const wxString& channel_section );
00099 
00100     wxSpinCtrl*         m_maxdepth_spinctrl;
00101     wxCheckBox*         m_stayonhost_stayondomain_checkbox;
00102     wxRadioButton*      m_stayonhost_radiobutton;
00103     wxRadioButton*      m_stayondomain_radiobutton;
00104     
00105     DECLARE_EVENT_TABLE()
00106     
00107 };
00108 
00109 //----------------------------------------------------------------------------------------
00110 // End feature removal condition
00111 //----------------------------------------------------------------------------------------
00112 
00113 #endif  // setupUSE_WIZARDS
00114 
00115 //----------------------------------------------------------------------------------------
00116 // End single inclusion of this .h file condition
00117 //----------------------------------------------------------------------------------------
00118 
00119 #endif  //_LIMITS_WIZARDPAGE_H_