|
1 /* |
|
2 * Copyright (c) 2006 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: Sensor turn control view container |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef GSSENTURNCTRLCONTAINER_H |
|
21 #define GSSENTURNCTRLCONTAINER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "gssenbasecontainer.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * CGSSenTurnCtrlContainer container class |
|
30 * |
|
31 * container class for turn control options settings view |
|
32 * |
|
33 * @lib gssensorplugin.lib |
|
34 * @since S60 5.0 |
|
35 */ |
|
36 class CGSSenTurnCtrlContainer : public CGSSenBaseContainer |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * Symbian OS default constructor. |
|
42 */ |
|
43 void ConstructL( const TRect& aRect ); |
|
44 |
|
45 /** |
|
46 * Destructor. |
|
47 */ |
|
48 virtual ~CGSSenTurnCtrlContainer(); |
|
49 |
|
50 /** |
|
51 * Default constructor |
|
52 */ |
|
53 CGSSenTurnCtrlContainer( CGSSensorPluginModel* aModel, |
|
54 MGSSensorMskObserver& aMskObserver ); |
|
55 |
|
56 protected: |
|
57 |
|
58 /** |
|
59 * Constructs listbox and initializes its sub-folders |
|
60 * |
|
61 * @param aResLbxId resource ID of the listbox item array |
|
62 */ |
|
63 void ConstructListBoxL( TInt aResLbxId ); |
|
64 |
|
65 /** |
|
66 * Update listbox icons according to previously set values |
|
67 */ |
|
68 void UpdateCheckboxIconsL(); |
|
69 |
|
70 /** |
|
71 * Returns interaction id |
|
72 * |
|
73 * @return TInt ID of the interaction from gssensorplugin.hrh file |
|
74 */ |
|
75 TInt InteractionId(); |
|
76 }; |
|
77 |
|
78 #endif // GSSENTURNCTRLCONTAINER_H |