|
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: |
|
15 * Draws bubble in middle i.e. in two call situation the first call |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef BUBBLEOUTLOOKMIDDLE_H |
|
21 #define BUBBLEOUTLOOKMIDDLE_H |
|
22 |
|
23 // INCLUDES |
|
24 #include "BMBubbleOutlookTwoLined.h" |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * CBubbleOutlookMiddle container class |
|
30 * |
|
31 * @lib bubblemanager |
|
32 * @since 1.0 |
|
33 */ |
|
34 class CBubbleOutlookMiddle : public CBubbleOutlookTwoLined |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Default constructor. |
|
40 * @param aBubbleManager Main container |
|
41 */ |
|
42 CBubbleOutlookMiddle( CBubbleManager& aBubbleManager ); |
|
43 |
|
44 /** |
|
45 * Symbian OS 2nd phase constructor. |
|
46 */ |
|
47 void ConstructL(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CBubbleOutlookMiddle(); |
|
53 |
|
54 public: //member functions |
|
55 |
|
56 /** |
|
57 * Set bubble go under. For example active bubble can be under or on top |
|
58 * of bottom right bubble. There is only one line shadow in 'under bubble'. |
|
59 * @param aIsUnder ETrue puts bubble under the second call. |
|
60 */ |
|
61 void SetIsUnder( const TBool& aIsUnder ); |
|
62 |
|
63 public: // Functions from base classes |
|
64 |
|
65 /** |
|
66 * From CBubbleOutlook |
|
67 */ |
|
68 void Reset( ); |
|
69 |
|
70 /** |
|
71 * From CBubbleOutlook |
|
72 */ |
|
73 void ReadBubbleHeader( CBubbleHeader& aHeader ); |
|
74 |
|
75 |
|
76 private: // Functions from base classes |
|
77 |
|
78 /** |
|
79 * From CCoeControl |
|
80 */ |
|
81 void SizeChanged(); |
|
82 |
|
83 private: |
|
84 |
|
85 /** |
|
86 * DoCall1Layout |
|
87 */ |
|
88 void DoCall1Layout(); |
|
89 |
|
90 /** |
|
91 * DoCall2Layout (may leave!) |
|
92 */ |
|
93 void DoCall2LayoutL(); |
|
94 |
|
95 /** |
|
96 * GetCall1BubbleBitmaps |
|
97 */ |
|
98 void GetCall1BubbleBitmaps(); |
|
99 |
|
100 private: //data |
|
101 |
|
102 // Is under or on top of bottom right bubble |
|
103 TBool iIsUnder; |
|
104 |
|
105 }; |
|
106 |
|
107 #endif // BUBBLEOUTLOOKMIDDLE_H |
|
108 |
|
109 // End of File |