|
1 /* |
|
2 * Copyright (c) 2002 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: TelephonyAudioRouting Test Application |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __MYPLAYERAPPUI_h__ |
|
19 #define __MYPLAYERAPPUI_h__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <aknappui.h> |
|
23 #include "myplayer.h" |
|
24 // FORWARD DECLARATIONS |
|
25 class CMyPlayerAppView; |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * CMyPlayerAppUi application UI class. |
|
30 * Interacts with the user through the UI and request message processing |
|
31 * from the handler class |
|
32 */ |
|
33 class CMyPlayerAppUi : public CAknAppUi |
|
34 { |
|
35 public: |
|
36 // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * ConstructL. |
|
40 * 2nd phase constructor. |
|
41 */ |
|
42 void ConstructL(); |
|
43 |
|
44 /** |
|
45 * CMyPlayerAppUi. |
|
46 * C++ default constructor. This needs to be public due to |
|
47 * the way the framework constructs the AppUi |
|
48 */ |
|
49 CMyPlayerAppUi(); |
|
50 |
|
51 /** |
|
52 * ~CMyPlayerAppUi. |
|
53 * Virtual Destructor. |
|
54 */ |
|
55 virtual ~CMyPlayerAppUi(); |
|
56 |
|
57 private: |
|
58 // Functions from base classes |
|
59 |
|
60 /** |
|
61 * From CEikAppUi, HandleCommandL. |
|
62 * Takes care of command handling. |
|
63 * @param aCommand Command to be handled. |
|
64 */ |
|
65 void HandleCommandL(TInt aCommand); |
|
66 |
|
67 /** |
|
68 * HandleStatusPaneSizeChange. |
|
69 * Called by the framework when the application status pane |
|
70 * size is changed. |
|
71 */ |
|
72 void HandleStatusPaneSizeChange(); |
|
73 |
|
74 /** |
|
75 * From CCoeAppUi, HelpContextL. |
|
76 * Provides help context for the application. |
|
77 * size is changed. |
|
78 */ |
|
79 CArrayFix<TCoeHelpContext>* HelpContextL() const; |
|
80 |
|
81 private: |
|
82 // Data |
|
83 |
|
84 /** |
|
85 * The application view |
|
86 * Owned by CMyPlayerAppUi |
|
87 */ |
|
88 CMyPlayerAppView* iAppView; |
|
89 CMyPlayer* iPlayer; |
|
90 TFileName iFileToOpen; |
|
91 |
|
92 }; |
|
93 |
|
94 #endif // __MYPLAYERAPPUI_h__ |
|
95 // End of File |