windowing/windowserver/inc/Graphics/openwfc/wsdisplaymapping.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2008-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Interface for Render Stage Display Mapping
       
    15 // 
       
    16 //
       
    17 /**
       
    18 @file
       
    19 @publishedpartner 
       
    20 @released
       
    21 */
       
    22 
       
    23 #ifndef WSDISPLAYMAPPING_H_
       
    24 #define WSDISPLAYMAPPING_H_
       
    25 
       
    26 #include <graphics/displaymapping.h>
       
    27 
       
    28 class MWsDisplayMapping: public MWsObjectProvider,public MDisplayMappingBase
       
    29 	{
       
    30 public:
       
    31 	enum	
       
    32 		{
       
    33 		KUidWsDisplayMapping =  0x1028656C, 	 
       
    34 		ETypeId=				KUidWsDisplayMapping,
       
    35 		EWsObjectInterfaceId=	KUidWsDisplayMapping
       
    36 		};
       
    37 	enum	TOffsetFlags
       
    38 		{
       
    39 		KOffsetAll=	0xffffffff,
       
    40 		KOffGc=		0x00000001,
       
    41 		KOffMap=	0x00000002,
       
    42 		KOffElement=0x00000004,
       
    43 		};
       
    44 public:
       
    45 	virtual void SetSizeModeExtent(TRect& aExtent, TBitFlags32 aContext)=0;
       
    46 	};
       
    47 
       
    48 #endif /*WSDISPLAYMAPPING_H_*/