equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef ENGINE_H_ |
|
17 #define ENGINE_H_ |
|
18 |
|
19 |
|
20 #include <coedef.h> |
|
21 #include <w32std.h> |
|
22 |
|
23 class MEngine |
|
24 { |
|
25 public: |
|
26 virtual void ActivateL() = 0; |
|
27 virtual void Deactivate() = 0; |
|
28 virtual void Step()= 0 ; |
|
29 virtual TBool IsPending() = 0; |
|
30 virtual TInt GetSpeed() = 0; |
|
31 |
|
32 virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent) = 0; |
|
33 virtual void Refresh() = 0; |
|
34 |
|
35 inline virtual ~MEngine() {}; // needed, otherwise destructor of derived class is not called |
|
36 }; |
|
37 |
|
38 #endif |