00001 00014 #ifndef _cPreferenceGui_h 00015 #define _cPreferenceGui_h 00016 00017 #include "cPreference.h" 00018 00019 const Int POSTER_PATH = 0; 00020 const Int NETCAT = 1; 00021 00022 const Int NUM_OF_PREF = 2; 00023 00024 class cPreferenceGui: public wxDialog 00025 { 00026 public: 00027 cPreferenceGui(wxWindow *Parent); 00028 00029 protected: 00030 cPreference *m_pPreference; 00031 00032 wxTextCtrl *m_pPrefEntries[NUM_OF_PREF]; 00033 wxRadioBox *m_pRadioBox; 00034 00035 enum { PREF_BROWSE_ID, RADIO_BOX_ID }; 00036 00037 void DrawAll(void); 00038 00039 private: 00040 00041 void Init(void); 00042 }; 00043 #endif // _cPreferenceGui_h