equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
59 ~CScreenDeviceHelper(); |
59 ~CScreenDeviceHelper(); |
60 |
60 |
61 inline TInt ScreenNumber() const { return iSurface.iInternal[TSurfaceId::TScreenSurfaceUsage::EScreenField]; } |
61 inline TInt ScreenNumber() const { return iSurface.iInternal[TSurfaceId::TScreenSurfaceUsage::EScreenField]; } |
62 |
62 |
63 void Update(); |
63 void Update(); |
|
64 void Update(TRequestStatus& aStatus); |
|
65 |
64 void Update(const TRegion& aRegion); |
66 void Update(const TRegion& aRegion); |
65 void UpdateRegion(const TRect& aRect); |
67 void UpdateRegion(const TRect& aRect); |
66 void ResetUpdateRegion(); |
68 void ResetUpdateRegion(); |
67 void NotifyWhenAvailable(TRequestStatus& aStatus); |
69 void NotifyWhenAvailable(TRequestStatus& aStatus); |
|
70 void CancelUpdateNotification(); |
68 |
71 |
69 void GetSurface(TSurfaceId& aSid) const ; |
72 void GetSurface(TSurfaceId& aSid) const ; |
70 TUint DeviceOrientationsAvailable(const TSize& aScreenSize) const ; |
73 TUint DeviceOrientationsAvailable(const TSize& aScreenSize) const ; |
71 TUint BytesPerScanline() const; |
74 TUint BytesPerScanline() const; |
72 void* AddressFirstPixel() const; |
75 void* AddressFirstPixel() const; |