windowing/windowserver/inc/Graphics/wscontentreadyforcomposition.h
changeset 45 36b2e23a8629
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/windowing/windowserver/inc/Graphics/wscontentreadyforcomposition.h	Mon May 03 13:44:32 2010 +0300
@@ -0,0 +1,48 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// 
+//
+
+/**
+ @file
+ @publishedPartner
+ @released
+*/
+
+#ifndef __WSCONTENTREADYFORCOMPOSITION_H__
+#define __WSCONTENTREADYFORCOMPOSITION_H__
+
+
+#include <e32std.h>
+#include <graphics/surface.h>
+#include <graphics/wsgraphicdrawerinterface.h>
+
+
+/**
+MWsContentReadyForComposition is an interface used to wrap the underlying
+compositor extension, MContentReadyForComposition, into the window server.
+See contentreadyforcomposition.h for deatils of the API.
+*/
+class MWsContentReadyForComposition : public MWsObjectProvider
+    {
+public:
+    DECLARE_WS_TYPE_ID(KMWsContentReadyForComposition)
+
+public:
+    virtual void NotifyContentReady(const TSurfaceId& aSurface, TUint64 aContentUpdate, TRequestStatus& aNotifyReady) = 0;
+    virtual void NotifyContentReadyCancel(const TSurfaceId& aSurface) = 0;
+    };
+
+
+#endif //__WSCONTENTREADYFORCOMPOSITION_H__