|
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: |
|
15 * User Interface class. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __CBSUIAPPAPPUI_H |
|
22 #define __CBSUIAPPAPPUI_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <aknViewAppUi.h> // CAknViewAppUi |
|
26 |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CCbsUiTopicListMonitor; |
|
30 class MCbs; |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * It is the application user interface. Creates all the views and |
|
36 * handles their activation. |
|
37 */ |
|
38 class CCbsUiappAppUi : public CAknViewAppUi |
|
39 { |
|
40 |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * C++ constructor. |
|
45 */ |
|
46 CCbsUiappAppUi(MCbs& aServer); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CCbsUiappAppUi(); |
|
52 |
|
53 public: // From CEikAppUi |
|
54 |
|
55 /** |
|
56 * Update context icon when parameter aType is KAknsMessageSkinChange |
|
57 */ |
|
58 void HandleResourceChangeL( TInt aType ); |
|
59 |
|
60 private: // From CEikAppUi |
|
61 |
|
62 /** |
|
63 * Handles common commands. |
|
64 * |
|
65 * @param aCommand It is command to be processed. |
|
66 */ |
|
67 void HandleCommandL( TInt aCommand ); |
|
68 |
|
69 private: |
|
70 |
|
71 /** |
|
72 * By default Symbian OS constructor is private. |
|
73 */ |
|
74 void ConstructL(); |
|
75 |
|
76 /** |
|
77 * Checks the SIM status |
|
78 * @return TInt, value of sim state |
|
79 */ |
|
80 TInt CheckSimStateL(); |
|
81 |
|
82 private: // Data |
|
83 |
|
84 // Ref: It is the connection to the server. |
|
85 MCbs& iServer; |
|
86 |
|
87 // TopicListMonitor |
|
88 CCbsUiTopicListMonitor* iTopicListMonitor; |
|
89 |
|
90 }; |
|
91 |
|
92 |
|
93 #endif // __CBSUIAPP_H |
|
94 |
|
95 |
|
96 // End of File |