|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "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 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /* ==================================================================== |
|
21 * File: TrimForMmsAppUi.h |
|
22 * Created: 04/18/06 |
|
23 * Author: |
|
24 * |
|
25 * ==================================================================== */ |
|
26 |
|
27 #ifndef __TRIMFORMMS_APPUI_H__ |
|
28 #define __TRIMFORMMS_APPUI_H__ |
|
29 |
|
30 #include <aknviewappui.h> |
|
31 |
|
32 // Forward reference |
|
33 class CVeiTrimForMmsView; |
|
34 class CSendUi; |
|
35 class TVeiSettings; |
|
36 |
|
37 /*! |
|
38 @class CTrimForMmsAppUi |
|
39 |
|
40 @discussion An instance of class CTrimForMmsAppUi is the UserInterface part of the AVKON |
|
41 application framework for the TrimForMms example application |
|
42 */ |
|
43 class CTrimForMmsAppUi : public CAknViewAppUi |
|
44 { |
|
45 public: |
|
46 /*! |
|
47 @function ConstructL |
|
48 |
|
49 @discussion Perform the second phase construction of a CTrimForMmsAppUi object |
|
50 this needs to be public due to the way the framework constructs the AppUi |
|
51 */ |
|
52 void ConstructL(); |
|
53 |
|
54 /*! |
|
55 @function CTrimForMmsAppUi |
|
56 |
|
57 @discussion Perform the first phase of two phase construction. |
|
58 This needs to be public due to the way the framework constructs the AppUi |
|
59 */ |
|
60 CTrimForMmsAppUi(); |
|
61 |
|
62 |
|
63 /*! |
|
64 @function ~CTrimForMmsAppUi |
|
65 |
|
66 @discussion Destroy the object and release all memory objects |
|
67 */ |
|
68 ~CTrimForMmsAppUi(); |
|
69 |
|
70 |
|
71 /*! |
|
72 Reads application settings data from ini-file. |
|
73 |
|
74 @param aSettings Settings data where values are read. |
|
75 */ |
|
76 void ReadSettingsL( TVeiSettings& aSettings ); |
|
77 |
|
78 |
|
79 public: // from CAknAppUi |
|
80 /*! |
|
81 @function HandleCommandL |
|
82 |
|
83 @discussion Handle user menu selections |
|
84 @param aCommand the enumerated code for the option selected |
|
85 */ |
|
86 void HandleCommandL(TInt aCommand); |
|
87 |
|
88 /*! |
|
89 Calls CAknAppUiBase::HandleScreenDeviceChangedL(). |
|
90 */ |
|
91 // virtual void HandleScreenDeviceChangedL(); |
|
92 |
|
93 /** |
|
94 * From @c CEikAppUi. Handles a change to the application's resources which |
|
95 * are shared across the environment. This function calls |
|
96 * @param aType The type of resources that have changed. |
|
97 */ |
|
98 virtual void HandleResourceChangeL(TInt aType); |
|
99 |
|
100 private: |
|
101 /*! @var iTrimForMmsView The application view */ |
|
102 CVeiTrimForMmsView* iTrimForMmsView; |
|
103 |
|
104 CSendUi* iSendUi; |
|
105 }; |
|
106 |
|
107 |
|
108 #endif // __TRIMFORMMS_APPUI_H__ |
|
109 |