00001 // EIKHGDLG.H 00002 // 00003 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved. 00004 // 00005 00006 #if !defined(__EIKHGDLG_H__) 00007 #define __EIKHGDLG_H__ 00008 00009 #if !defined(__EIKDIALG_H__) 00010 #include <eikdialg.h> 00011 #endif 00012 00013 #if !defined(__COECNTRL_H__) 00014 #include <coecntrl.h> 00015 #endif 00016 00017 #if !defined(__EIKENV_H__) 00018 #include <eikenv.h> 00019 #endif 00020 00021 00022 class CCoeRedrawer; 00023 class CSchedulerShaker; 00024 00025 class TEikHeapFailModel 00026 { 00027 public: 00028 TInt iHeapFailRate; 00029 TInt iHeapFailType; 00030 TInt iWservFailRate; 00031 TInt iWservFailType; 00032 TInt iFileFailRate; 00033 TInt iFileFailType; 00034 }; 00035 00036 00037 // 00038 // class CEikDebugKeys 00039 // 00040 00041 class CEikDebugKeys : public CCoeControl, public MEikDebugKeys 00042 { 00043 public: 00044 // From CCoeControl 00045 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent); 00046 private: // from MEikDebugKeys 00047 void ConstructL(); 00048 void Release(); 00049 private: // framework 00050 virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); 00051 void InfoNote(const TDesC& aDes); 00052 private: 00053 friend class CEikonEnv; 00054 // friend class CDebugKeysDlg; 00055 // friend class CDebugKeysAppUi; 00056 TEikHeapFailModel iModel; 00057 TBool iVerbose; 00058 CCoeRedrawer* iPhantomBorderDrawer; 00059 CSchedulerShaker* iSchedulerShaker; 00060 }; 00061 00062 00063 // 00064 // class CEikDebugWin 00065 // 00066 00067 class CEikDebugWin : public CCoeControl 00068 { 00069 public: 00070 void ConstructL(); 00071 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent); 00072 private: 00073 void Draw(const TRect& aRect) const; 00074 }; 00075 00076 00077 #endif