equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __MENUENGOBSERVER_H__ |
|
19 #define __MENUENGOBSERVER_H__ |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 /** |
|
24 * Menu Engine Observer. |
|
25 */ |
|
26 NONSHARABLE_CLASS( MMenuEngObserver ) |
|
27 { |
|
28 |
|
29 public: // new methods |
|
30 |
|
31 /** |
|
32 * Engine events. |
|
33 * @param aFolder Events occurred in this folder. (0==unspecified.) |
|
34 * @param aEvents Events. A combination of TEvent bits. |
|
35 */ |
|
36 virtual void EngineEvents( TInt aFolder, TInt aEvents ) = 0; |
|
37 |
|
38 /** |
|
39 * Unrecoverable Engine error. The engine stopped working and is useless. |
|
40 * Delete the engine. |
|
41 * @param aErr Error code. |
|
42 */ |
|
43 virtual void EngineError( TInt aErr ) = 0; |
|
44 /** |
|
45 * Engine tree reload events. |
|
46 * Happens when loading tree from Ram failed |
|
47 * and was reloaded from Rom. |
|
48 */ |
|
49 virtual void EngineTreeReloaded() = 0; |
|
50 |
|
51 }; |
|
52 |
|
53 #endif // __MENUENGOBSERVER_H__ |