equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
223 IMPORT_C void ConstructL(); |
223 IMPORT_C void ConstructL(); |
224 |
224 |
225 private: // From CCoeControl |
225 private: // From CCoeControl |
226 IMPORT_C virtual void Draw(const TRect& aRect) const; |
226 IMPORT_C virtual void Draw(const TRect& aRect) const; |
227 |
227 |
|
228 public: |
|
229 /** |
|
230 * Set UMA state. Available UMA states are (avkon.hrh): |
|
231 * EAknSignalUmaIndicatorOff = 0x600, |
|
232 * EAknSignalUmaIndicatorAvailable, |
|
233 * EAknSignalUmaIndicatorAttached, |
|
234 * EAknSignalUmaIndicatorEstablishingContext, |
|
235 * EAknSignalUmaIndicatorContext, |
|
236 * EAknSignalUmaIndicatorSuspended, |
|
237 * EAknSignalUmaIndicatorMultipdp |
|
238 * |
|
239 * @param aUmaIconState UMA state. |
|
240 */ |
|
241 IMPORT_C void ShowUmaIconL(TInt aUmaIconState); |
|
242 |
228 private: |
243 private: |
229 static TInt TickerCallback(TAny* aThis); |
244 static TInt TickerCallback(TAny* aThis); |
230 TInt DoTick(); |
245 TInt DoTick(); |
231 void DrawInNormalStatusPane(const TRect& aRect) const; |
246 void DrawInNormalStatusPane(const TRect& aRect) const; |
232 void DrawInSmallStatusPane(const TRect& aRect) const; |
247 void DrawInSmallStatusPane(const TRect& aRect) const; |
234 void DrawInStaconPane(const TRect& aRect) const; |
249 void DrawInStaconPane(const TRect& aRect) const; |
235 CFbsBitmap* SignalIconBitmap() const; |
250 CFbsBitmap* SignalIconBitmap() const; |
236 CFbsBitmap* SignalIconBitmapMask() const; |
251 CFbsBitmap* SignalIconBitmapMask() const; |
237 void SetContainerWindowNonFading(TBool aNonFading); |
252 void SetContainerWindowNonFading(TBool aNonFading); |
238 void LoadSignalIconL(TInt aIconState, TInt aColorIndex); |
253 void LoadSignalIconL(TInt aIconState, TInt aColorIndex); |
|
254 void StartTickerL( TTimeIntervalMicroSeconds32 aDelay, |
|
255 TTimeIntervalMicroSeconds32 aInterval ); |
|
256 void StopTicker(); |
239 |
257 |
240 private: |
258 private: |
241 // Private flags for internal statemachines, iSpare taken into use |
259 // Private flags for internal statemachines, iSpare taken into use |
242 TInt iPrivateFlags; |
260 TInt iPrivateFlags; |
243 CAknSignalIcon* iSignalIconControl; |
261 CAknSignalIcon* iSignalIconControl; |