windowing/windowserver/inc/Graphics/wscontentreadyforcomposition.h
changeset 45 36b2e23a8629
equal deleted inserted replaced
36:01a6848ebfd7 45:36b2e23a8629
       
     1 // Copyright (c) 2010 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 // 
       
    15 //
       
    16 
       
    17 /**
       
    18  @file
       
    19  @publishedPartner
       
    20  @released
       
    21 */
       
    22 
       
    23 #ifndef __WSCONTENTREADYFORCOMPOSITION_H__
       
    24 #define __WSCONTENTREADYFORCOMPOSITION_H__
       
    25 
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <graphics/surface.h>
       
    29 #include <graphics/wsgraphicdrawerinterface.h>
       
    30 
       
    31 
       
    32 /**
       
    33 MWsContentReadyForComposition is an interface used to wrap the underlying
       
    34 compositor extension, MContentReadyForComposition, into the window server.
       
    35 See contentreadyforcomposition.h for deatils of the API.
       
    36 */
       
    37 class MWsContentReadyForComposition : public MWsObjectProvider
       
    38     {
       
    39 public:
       
    40     DECLARE_WS_TYPE_ID(KMWsContentReadyForComposition)
       
    41 
       
    42 public:
       
    43     virtual void NotifyContentReady(const TSurfaceId& aSurface, TUint64 aContentUpdate, TRequestStatus& aNotifyReady) = 0;
       
    44     virtual void NotifyContentReadyCancel(const TSurfaceId& aSurface) = 0;
       
    45     };
       
    46 
       
    47 
       
    48 #endif //__WSCONTENTREADYFORCOMPOSITION_H__