00001 // EIKHKEYC.H 00002 // 00003 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved. 00004 // 00005 00006 #if !defined(__EIKHKEYC_H__) 00007 #define __EIKHKEYC_H__ 00008 00009 #include <AknControl.h> 00010 00011 class CEikHotKeyTable; 00012 class MEikCommandObserver; 00013 00014 NONSHARABLE_CLASS(CEikHotKeyControl) : public CAknControl 00015 { 00016 public: 00017 CEikHotKeyControl(CEikHotKeyTable* aTable,MEikCommandObserver* aObserver); 00018 ~CEikHotKeyControl(); 00019 protected: //from CCoeControl 00020 IMPORT_C void WriteInternalStateL(RWriteStream& aWriteStream) const; 00021 private: // framework 00022 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); 00023 private: 00024 CEikHotKeyTable* iTable; 00025 MEikCommandObserver* iObserver; 00026 }; 00027 00028 #endif