|
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 class for main view |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 #include "CCAEmptyControl.h" |
|
21 #include "CAExternalInterface.h" |
|
22 #include "ChatDefinitions.h" |
|
23 #include "CCAAppUi.h" |
|
24 #include "CCAIconLoader.h" |
|
25 #include "ChatDebugPrint.h" |
|
26 |
|
27 // The Settings have been moved to Cenrep (also retained in the Resource file), |
|
28 // so the enums for keys and central repository header is added here |
|
29 #include "VariantKeys.h" |
|
30 #include <aknlists.h> |
|
31 #include <barsread.h> |
|
32 #include <EIKCLBD.H> |
|
33 #include <chatNG.rsg> |
|
34 #include <csxhelp/imng.hlp.hrh> |
|
35 #include <gulicon.h> |
|
36 |
|
37 |
|
38 // ================= MEMBER FUNCTIONS ======================= |
|
39 |
|
40 // ----------------------------------------------------------------------------- |
|
41 // CCAEmptyControl::CCAEmptyControl |
|
42 // Constructor |
|
43 // ----------------------------------------------------------------------------- |
|
44 // |
|
45 CCAEmptyControl::CCAEmptyControl() |
|
46 { |
|
47 } |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // CCAEmptyControl::NewL |
|
51 // Two-phased constructor. |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 CCAEmptyControl* CCAEmptyControl::NewL( const TRect& aRect ) |
|
55 { |
|
56 CCAEmptyControl* self = new ( ELeave ) CCAEmptyControl; |
|
57 CleanupStack::PushL( self ); |
|
58 self->ConstructL( aRect ); |
|
59 CleanupStack::Pop( self ); |
|
60 return self; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------- |
|
64 // CCAEmptyControl::ConstructL() |
|
65 // Symbian OS two phased constructor |
|
66 // --------------------------------------------------------- |
|
67 // |
|
68 void CCAEmptyControl::ConstructL( const TRect& aRect ) |
|
69 { |
|
70 CreateWindowL(); |
|
71 |
|
72 SetRect( aRect ); |
|
73 ActivateL(); |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------------------------- |
|
77 // CCAEmptyControl::~CCAEmptyControl |
|
78 // Destructor |
|
79 // ----------------------------------------------------------------------------- |
|
80 // |
|
81 CCAEmptyControl::~CCAEmptyControl() |
|
82 { |
|
83 } |
|
84 |
|
85 // End of File |