|
1 /* |
|
2 * Copyright (c) 2006-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: Application side control in the status pane indicator area. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_AKNUNIVERSALINDICATORCONTAINER_H |
|
20 #define C_AKNUNIVERSALINDICATORCONTAINER_H |
|
21 |
|
22 #include <bacntf.h> |
|
23 #include <coecntrl.h> |
|
24 #include <AknControl.h> |
|
25 |
|
26 class CAknIndicatorContainer; |
|
27 |
|
28 /** |
|
29 * Application side control in the status pane indicator area. |
|
30 * |
|
31 * @since S60 3.2 |
|
32 * @lib Avkon |
|
33 * |
|
34 */ |
|
35 NONSHARABLE_CLASS(CAknUniversalIndicatorContainer) : public CAknControl |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Standard constructor |
|
41 */ |
|
42 CAknUniversalIndicatorContainer(); |
|
43 |
|
44 /** |
|
45 * Destructor |
|
46 */ |
|
47 ~CAknUniversalIndicatorContainer(); |
|
48 |
|
49 /** |
|
50 * Construct from resources. |
|
51 * |
|
52 * @param aReader resource reader. |
|
53 */ |
|
54 void ConstructFromResourceL(TResourceReader& aReader); |
|
55 |
|
56 public: // From CCoeControl |
|
57 |
|
58 /** |
|
59 * From CCoeControl. Returns the number of component controls. |
|
60 */ |
|
61 TInt CountComponentControls() const; |
|
62 |
|
63 /** |
|
64 * From CCoeControl. Returns the specified component control. |
|
65 */ |
|
66 CCoeControl* ComponentControl(TInt aIndex) const; |
|
67 |
|
68 protected: // From CCoeControl |
|
69 |
|
70 /** |
|
71 * From CCoeControl. Handles the size change events. |
|
72 */ |
|
73 void SizeChanged(); |
|
74 |
|
75 private: |
|
76 |
|
77 CAknIndicatorContainer* iPane; |
|
78 TInt iSpare1; |
|
79 TInt iSpare2; |
|
80 |
|
81 }; |
|
82 |
|
83 #endif // C_AKNUNIVERSALINDICATORCONTAINER_H |
|
84 |