00001 // engine.h 00002 // 00003 /* 00004 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). 00005 * All rights reserved. 00006 * This component and the accompanying materials are made available 00007 * under the terms of "Eclipse Public License v1.0" 00008 * which accompanies this distribution, and is available 00009 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 00010 */ 00011 // 00016 #ifndef __ENGINE_H__ 00017 #define __ENGINE_H__ 00018 00022 class MEngine 00023 { 00024 public: 00025 00026 virtual void ActivateL() = 0; 00027 virtual void Deactivate() = 0; 00028 virtual void Step()= 0 ; 00029 virtual TBool IsPending() = 0; 00030 virtual TInt GetSpeed() = 0; 00031 00032 virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent) = 0; 00033 }; 00034 00035 #endif