|
1 /* |
|
2 * Copyright (c) 2008 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 the License "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 |
|
19 #ifndef FUSIONPLAYERTESTAPPAPPUI_H |
|
20 #define FUSIONPLAYERTESTAPPAPPUI_H |
|
21 |
|
22 #include <aknviewappui.h> |
|
23 #include <aknnavi.h> |
|
24 |
|
25 #include "FusionMpxPlayerTestCmdListener.h" |
|
26 |
|
27 /** |
|
28 * Class: CFusionPlayerTestAppAppUi |
|
29 */ |
|
30 class CFusionPlayerTestAppAppUi : public CAknViewAppUi, |
|
31 public MFusionMpxPlayerTestShutdownObserver |
|
32 { |
|
33 public: |
|
34 /** |
|
35 * Function : ConstructL |
|
36 * |
|
37 * Discussion : Performs the second phase construction of a |
|
38 * CFusionPlayerTestAppAppUi object this needs to be public due to |
|
39 * the way the framework constructs the AppUi |
|
40 */ |
|
41 void ConstructL(); |
|
42 |
|
43 /** |
|
44 * Function : CFusionPlayerTestAppAppUi |
|
45 * |
|
46 * Discussion : Perform the first phase of two phase construction. |
|
47 * This needs to be public due to the way the framework |
|
48 * constructs the AppUi |
|
49 */ |
|
50 CFusionPlayerTestAppAppUi(); |
|
51 |
|
52 /** |
|
53 * Function : ~CFusionPlayerTestAppAppUi |
|
54 * |
|
55 * Discussion : Hidden virtual destructor. Destroys object and releases |
|
56 * all associated memory. |
|
57 * |
|
58 */ |
|
59 ~CFusionPlayerTestAppAppUi(); |
|
60 |
|
61 |
|
62 public: |
|
63 |
|
64 // from CEikAppUi |
|
65 /** |
|
66 * Function : |
|
67 * |
|
68 * Discussion : Handle user menu selections |
|
69 * |
|
70 * Params : aCommand - the enumerated code for the option selected |
|
71 * |
|
72 * Returns : |
|
73 * |
|
74 */ |
|
75 void HandleCommandL(TInt aCommand); |
|
76 |
|
77 |
|
78 // From MFusionMpxPlayerTestShutdownObserver |
|
79 void ShutdownCommandReceived(); |
|
80 |
|
81 private: |
|
82 |
|
83 CFusionMpxPlayerTestCmdListener* iCmdListener; |
|
84 |
|
85 TInt iPSKeyBase; |
|
86 }; |
|
87 |
|
88 #endif // FUSIONPLAYERTESTAPPAPPUI_H |
|
89 |