00001 // EIKINFO.H 00002 // 00003 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved. 00004 // 00005 00006 #if !defined(__EIKINFO_H__) 00007 #define __EIKINFO_H__ 00008 00009 #if !defined(__EIKENV_H__) 00010 #include <eikenv.h> 00011 #endif 00012 00013 #include <aknnotedialog.h> 00014 00018 class CEikInfoDialog : public CAknNoteDialog, public MEikInfoDialog 00019 { 00020 00021 public: 00027 enum TExitKeys 00028 { 00029 EAllowEnter, 00030 EIgnoreEnter 00031 }; 00032 public: 00036 IMPORT_C CEikInfoDialog(const TDesC& aTitle,const TDesC& aMsg,TExitKeys aExitKeys=EAllowEnter); 00037 00041 CEikInfoDialog(TExitKeys aExitKeys=EAllowEnter); 00042 00046 IMPORT_C static TBool RunDlgLD(const TDesC& aTitle,const TDesC& aMsg,TExitKeys aExitKeys=EAllowEnter); 00047 00051 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent); 00052 00053 private: // from MEikInfoDialog 00054 TBool RunDlgLD(TInt aResource, const TDesC& aTitle, const TDesC& aMsg); 00055 00056 private: 00057 void PreLayoutDynInitL(); 00058 00059 private: 00063 IMPORT_C void* ExtensionInterface( TUid aInterface ); 00064 00065 private: 00066 IMPORT_C virtual void CEikDialog_Reserved_1(); 00067 IMPORT_C virtual void CEikDialog_Reserved_2(); 00068 00069 private: 00070 const TDesC* iTitle; 00071 const TDesC* iMessage; 00072 }; 00073 00074 #endif