|
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: Container for all controls in main view |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CCAEMPTYCONTROL_H |
|
21 #define CCAEMPTYCONTROL_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "MCALayoutChangeObserver.h" |
|
25 #include <aknview.h> |
|
26 #include <eiklbo.h> |
|
27 #include <bldvariant.hrh> |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class CAknSingleLargeStyleListBox; |
|
31 class MCAViewSwitcher; |
|
32 class CCAAppUi; |
|
33 class CCAIconLoader; |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * Container for all controls in main view |
|
39 * |
|
40 * @lib chatng.app |
|
41 */ |
|
42 class CCAEmptyControl : public CCoeControl |
|
43 { |
|
44 public: // Constructors and destructor |
|
45 |
|
46 /** |
|
47 * Constructor |
|
48 * @since 2.1 |
|
49 * @param aIconLoader Icon loader |
|
50 */ |
|
51 CCAEmptyControl(); |
|
52 |
|
53 /** |
|
54 * Symbian two phased constructor |
|
55 * @since 2.1 |
|
56 * @param aRect Frame rectangle for container. |
|
57 * @param aViewSwitcher Reference to view switcher |
|
58 * @param aIconLoader Icon loader for load icons. |
|
59 */ |
|
60 static CCAEmptyControl* NewL( const TRect& aRect ); |
|
61 /** |
|
62 * Symbian OS default constructor. |
|
63 * @since 1.2 |
|
64 * @param aRect Frame rectangle for container. |
|
65 * @param aViewSwitcher Reference to view switcher |
|
66 */ |
|
67 void ConstructL( const TRect& aRect ); |
|
68 |
|
69 /** |
|
70 * Destructor. |
|
71 */ |
|
72 virtual ~CCAEmptyControl(); |
|
73 }; |
|
74 |
|
75 #endif // CCAEMPTYCONTROL_H |
|
76 |
|
77 // End of File |