|
1 /* |
|
2 * Copyright (c) 2002 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: Skin variant implementation for 1.2. Actually |
|
15 * implements the behaviour without the skin. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 // INCLUDE FILES |
|
22 #include "CCASkinVariant12.h" |
|
23 |
|
24 #include <e32base.h> |
|
25 #include <w32std.h> |
|
26 |
|
27 // ============================ MEMBER FUNCTIONS =============================== |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // CCASkinVariant12::CCASkinVariant12 |
|
31 // C++ default constructor can NOT contain any code, that |
|
32 // might leave. |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 CCASkinVariant12::CCASkinVariant12() |
|
36 { |
|
37 } |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CCASkinVariant12::ConstructL |
|
41 // Symbian 2nd phase constructor can leave. |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 void CCASkinVariant12::ConstructL() |
|
45 { |
|
46 } |
|
47 |
|
48 // ----------------------------------------------------------------------------- |
|
49 // CCASkinVariant12::NewL |
|
50 // Two-phased constructor. |
|
51 // ----------------------------------------------------------------------------- |
|
52 // |
|
53 CCASkinVariant12* CCASkinVariant12::NewL() |
|
54 { |
|
55 CCASkinVariant12* self = new( ELeave ) CCASkinVariant12; |
|
56 |
|
57 CleanupStack::PushL( self ); |
|
58 self->ConstructL(); |
|
59 CleanupStack::Pop(); |
|
60 |
|
61 return self; |
|
62 } |
|
63 |
|
64 |
|
65 // Destructor |
|
66 CCASkinVariant12::~CCASkinVariant12() |
|
67 { |
|
68 |
|
69 } |
|
70 |
|
71 TInt CCASkinVariant12::SkinFlag() const |
|
72 { |
|
73 return 0; // 0 is default parameter on BaseConstructL |
|
74 } |
|
75 |
|
76 void CCASkinVariant12::ClearChatListBoxBackGround( CWindowGc& aGc, |
|
77 const TRect& aUsedPortionOfViewRect, MAknsControlContext* /*aContext*/ ) |
|
78 { |
|
79 aGc.Clear( aUsedPortionOfViewRect ); |
|
80 } |
|
81 |
|
82 MAknsControlContext* CCASkinVariant12::MainPaneBackgroundContext() const |
|
83 { |
|
84 return NULL; |
|
85 } |
|
86 |
|
87 TBool CCASkinVariant12::DrawSkinnedEditor( const CCoeControl* /*aControl*/, |
|
88 CWindowGc& /*aGc*/, |
|
89 TRect& /*aParentRect*/, |
|
90 TRect& /*aEditorRect*/, |
|
91 TRect& /*aOutlineRect*/ ) |
|
92 { |
|
93 return EFalse; |
|
94 } |
|
95 |
|
96 |
|
97 CGulIcon* CCASkinVariant12::LoadBitmapL( TInt /*aBitmapId*/, TInt /*aMaskId*/, const TDesC& /*aFullPath*/, TBool /*aOverrideBrand*/ ) |
|
98 { |
|
99 return NULL; |
|
100 } |
|
101 |
|
102 // End of File |