|
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: Settings view |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CCASETTINGSVIEW_H |
|
21 #define CCASETTINGSVIEW_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "CCAView.h" |
|
25 #include "impsbuilddefinitions.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CCASettingsViewContainer; |
|
29 class CIMPSSAPSettingsStore; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * View class for settings view |
|
35 * |
|
36 * @lib chat.app |
|
37 * @since 1.2 |
|
38 */ |
|
39 class CCASettingsView : public CCAView |
|
40 { |
|
41 public: // Constructors and destructor |
|
42 |
|
43 /** |
|
44 * 2nd constructor |
|
45 * @param aAvkonViewResourceId View resource |
|
46 * @param aViewId View Id |
|
47 * @param aSAPSettingsStore SAP settings store |
|
48 */ |
|
49 void ConstructL( TInt aAvkonViewResourceId, |
|
50 TUid aViewId ); |
|
51 |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 virtual ~CCASettingsView(); |
|
57 |
|
58 |
|
59 private: // From CAknView |
|
60 |
|
61 /** |
|
62 * @see CAknView |
|
63 */ |
|
64 void DoActivateL( const TVwsViewId& aPrevViewId, TUid aCustomMessageId, |
|
65 const TDesC8& aCustomMessage ); |
|
66 |
|
67 /** |
|
68 * @see CAknView |
|
69 */ |
|
70 void DoDeactivate(); |
|
71 |
|
72 /** |
|
73 * @see CAknView |
|
74 */ |
|
75 void HandleCommandL( TInt aCommand ); |
|
76 |
|
77 /** |
|
78 * @see CAknView |
|
79 */ |
|
80 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); |
|
81 |
|
82 private: //Data |
|
83 |
|
84 TVwsViewId iPrevViewId; // Previous view Id |
|
85 |
|
86 // Owns. Container for view. |
|
87 CCASettingsViewContainer* iContainer; |
|
88 |
|
89 #ifdef RD_SERVICE_ENHANCEMENTS |
|
90 TBool iServSettingsDialogWasActive; |
|
91 #endif // RD_SERVICE_ENHANCEMENTS |
|
92 }; |
|
93 |
|
94 #endif // CCASETTINGSVIEW_H |
|
95 |
|
96 // End of File |