|
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 orientation view container |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef GSSENORIENTATIONCONTAINER_H |
|
21 #define GSSENORIENTATIONCONTAINER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "gssenbasecontainer.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * CGSSenOrientationContainer container class |
|
30 * |
|
31 * container class for orientation options settings view |
|
32 * |
|
33 * @lib gssensorplugin.lib |
|
34 * @since S60 5.0 |
|
35 */ |
|
36 class CGSSenOrientationContainer : 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 ~CGSSenOrientationContainer(); |
|
49 |
|
50 /** |
|
51 * Default constructor |
|
52 */ |
|
53 CGSSenOrientationContainer( CGSSensorPluginModel* aModel ); |
|
54 |
|
55 protected: |
|
56 |
|
57 /** |
|
58 * Constructs listbox and initializes its sub-folders |
|
59 * |
|
60 * @param aResLbxId resource ID of the listbox item array |
|
61 */ |
|
62 void ConstructListBoxL( TInt aResLbxId ); |
|
63 |
|
64 /** |
|
65 * Update listbox icons according to previously set values |
|
66 */ |
|
67 void UpdateCheckboxIconsL(); |
|
68 |
|
69 /** |
|
70 * Returns interaction id |
|
71 * |
|
72 * @return TInt ID of the interaction from gssensorplugin.hrh file |
|
73 */ |
|
74 TInt InteractionId(); |
|
75 }; |
|
76 |
|
77 #endif // GSSENORIENTATIONCONTAINER_H |