Update contrib.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __BITDRAWSURFACE_H__
17 #define __BITDRAWSURFACE_H__
24 MSurfaceId interface manages the screen surface access
26 The interface could be retrieved calling CFbsDrawDevice::GetInterface() with
27 KSurfaceInterfaceID as an argument.
29 MSurfaceId interface lifetime is the same as the lifetime of CFbsDrawDevice
30 interface, which creates it.
31 Do not try to delete MSurfaceId interface pointer!
43 virtual void GetSurface(TSurfaceId& aSid) const = 0;
48 virtual TUint DeviceOrientationsAvailable() const = 0;
53 virtual TBool SetDeviceOrientation(TDeviceOrientation aOrientation) = 0;
58 virtual TDeviceOrientation DeviceOrientation() const = 0;
61 #endif//__BITDRAWSURFACE_H__