equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007 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: List of commands that plug-ins can request from application. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef DIAGAPPCOMMAND_H |
|
20 #define DIAGAPPCOMMAND_H |
|
21 |
|
22 /** |
|
23 * Diagnostics Application command types. |
|
24 * |
|
25 * This is a list of command that plug-in can request from the application. |
|
26 * |
|
27 */ |
|
28 enum TDiagAppCommand |
|
29 { |
|
30 /** |
|
31 * EDiagAppCommandSwitchToMainView |
|
32 * |
|
33 * This command can be used by interactive view plug-in to notify the |
|
34 * application that plug-in is done with current view and application can |
|
35 * switch to main view. View to switch to is determined by the application. |
|
36 * |
|
37 * aParam1: No parameter is needed. Always pass NULL. |
|
38 * aParam2: No parameter is needed. Always pass NULL. |
|
39 * |
|
40 * @code |
|
41 * |
|
42 * ExecutionParam().Engine().ExecuteAppCommandL( |
|
43 * EDiagAppCommandSwitchToMainView, |
|
44 * NULL, |
|
45 * NULL ); |
|
46 * |
|
47 * or |
|
48 * |
|
49 * TRAPD( err, ExecutionParam().Engine().ExecuteAppCommandL( |
|
50 * EDiagAppCommandSwitchToMainView, |
|
51 * NULL, |
|
52 * NULL ) ); |
|
53 * |
|
54 */ |
|
55 EDiagAppCommandSwitchToMainView = 1 |
|
56 }; |
|
57 |
|
58 #endif // DIAGAPPCOMMAND_H |
|
59 |
|
60 // End of File |
|
61 |