williamr@2: /* williamr@2: * Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: #if !defined(__EIKHKEYC_H__) williamr@2: #define __EIKHKEYC_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: class CEikHotKeyTable; williamr@2: class MEikCommandObserver; williamr@2: williamr@2: NONSHARABLE_CLASS(CEikHotKeyControl) : public CAknControl williamr@2: { williamr@2: public: williamr@2: CEikHotKeyControl(CEikHotKeyTable* aTable,MEikCommandObserver* aObserver); williamr@2: ~CEikHotKeyControl(); williamr@2: protected: //from CCoeControl williamr@2: IMPORT_C void WriteInternalStateL(RWriteStream& aWriteStream) const; williamr@2: private: // framework williamr@2: TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); williamr@2: private: williamr@2: CEikHotKeyTable* iTable; williamr@2: MEikCommandObserver* iObserver; williamr@2: }; williamr@2: williamr@2: #endif