00001 // PREFSDIALOG.H 00002 // 00003 // Copyright PanSoftware Ltd 2000 00004 // 00005 00006 #ifndef __PREFSDIALOG_H__ 00007 #define __PREFSDIALOG_H__ 00008 00009 #include <eikdialg.h> 00010 00011 #include "sysdeps.h" 00012 #include "Prefs.h" 00013 #include "C64.h" 00014 00015 00019 class CPrefsDialog : public CEikDialog 00020 { 00021 public: 00022 CPrefsDialog(C64* aC64); 00023 ~CPrefsDialog(); 00024 private: // framework 00025 void PreLayoutDynInitL(); 00026 TBool OkToExitL(TInt aButtonId); 00027 void SetInitialCurrentLine(); 00028 void PageChangedL(TInt aControlId); 00029 #if defined(__ER6__) 00030 void LineChangedL(TInt aControlId); 00031 #endif 00032 00033 private: 00034 C64* iC64; 00035 Prefs* iPrefs; 00036 Prefs* iOrigPrefs; 00037 }; 00038 00039 #endif // __PREFSDIALOG_H__