equal
deleted
inserted
replaced
70 |
70 |
71 void SetMuteFlag( TPhoneCommandParam* aCommandParam ); |
71 void SetMuteFlag( TPhoneCommandParam* aCommandParam ); |
72 |
72 |
73 void SetIhfFlag( TPhoneCommandParam* aCommandParam ); |
73 void SetIhfFlag( TPhoneCommandParam* aCommandParam ); |
74 |
74 |
|
75 void SetWiredAccFlag( TPhoneCommandParam* aCommandParam ); |
|
76 |
|
77 void SetCallInProgressFlag( TPhoneCommandParam* aCommandParam ); |
|
78 |
75 /** |
79 /** |
76 * Dims (greys out) or undims all toolbar items. |
80 * Dims (greys out) or undims all toolbar items. |
77 * |
81 * |
78 * @param aDimmed Use ETrue to dim this toolbar item or EFalse to |
82 * @param aDimmed Use ETrue to dim this toolbar item or EFalse to |
79 * un-dim this toolbar item. |
83 * un-dim this toolbar item. |
108 * |
112 * |
109 * @param aResourceId The resource ID for particular toolbar |
113 * @param aResourceId The resource ID for particular toolbar |
110 * @param aToolbar The toolbar object pointer |
114 * @param aToolbar The toolbar object pointer |
111 */ |
115 */ |
112 void DynInitToolbarL( TInt aResourceId, CAknToolbar* aToolbar ); |
116 void DynInitToolbarL( TInt aResourceId, CAknToolbar* aToolbar ); |
113 |
117 |
|
118 protected: |
|
119 /** |
|
120 * Constructor. |
|
121 * |
|
122 * @param aCoeEnv |
|
123 */ |
|
124 CPhoneToolbarController( CCoeEnv& aCoeEnv ); |
|
125 |
114 private: |
126 private: |
115 |
127 |
116 /** |
128 /** |
117 * Creates CAknButton with given parameters and leaves it to |
129 * Creates CAknButton with given parameters and leaves it to |
118 * CleanupStack. |
130 * CleanupStack. |
128 const TDesC& aTooltipText, |
140 const TDesC& aTooltipText, |
129 const TAknsItemID& aSkinIconId, |
141 const TAknsItemID& aSkinIconId, |
130 TInt aCommand ); |
142 TInt aCommand ); |
131 |
143 |
132 |
144 |
133 /** |
|
134 * Constructor. |
|
135 * |
|
136 * @param aCoeEnv |
|
137 */ |
|
138 CPhoneToolbarController( CCoeEnv& aCoeEnv ); |
|
139 /** |
145 /** |
140 * Symbian 2nd phase constructor. |
146 * Symbian 2nd phase constructor. |
141 * |
147 * |
142 */ |
148 */ |
143 void ConstructL(); |
149 void ConstructL(); |
167 CCoeEnv& iCoeEnv; |
173 CCoeEnv& iCoeEnv; |
168 |
174 |
169 TBool iMuteFlag; |
175 TBool iMuteFlag; |
170 |
176 |
171 TBool iIhfFlag; |
177 TBool iIhfFlag; |
|
178 |
|
179 TBool iWiredAccFlag; |
|
180 |
|
181 TBool iCallInProgress; |
172 |
182 |
173 }; |
183 }; |
174 |
184 |
175 #endif // CPHONETOOLBARCONTROLLER_H |
185 #endif // CPHONETOOLBARCONTROLLER_H |