First public contribution.
1 // Copyright (c) 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.
17 @internalComponent - Internal Symbian test code
21 #ifndef __RENDERSTAGEFACTORY_H__
22 #define __RENDERSTAGEFACTORY_H__
25 #include <graphics/wsplugin.h>
26 #include <graphics/wsrenderstagefactory.h>
29 //This provides the wserv interface for creating instances of CRenderStage
30 class CRenderStageFactory : public CWsPlugin, public MWsRenderStageFactory
33 enum { EImplUid = 0xA000E082 };
36 static CRenderStageFactory* CreateL();
37 ~CRenderStageFactory();
38 void ConstructL(MWsGraphicDrawerEnvironment& aEnv, const TDesC8& aData);
39 const TDesC& PluginName() const;
41 public: // MWsObjectProvider
42 TAny* ResolveObjectInterface(TUint aTypeId);
44 public: // MWsRenderStageFactory
45 CWsRenderStage* CreateFinalRenderStageL(MWsScreen* aScreen, MWsScreenRedraw* aScreenRedraw, TInt aScreenNumber);
46 CWsRenderStage* CreateRenderStageL(MWsScreen* aScreen, MWsScreenRedraw* aScreenRedraw, CWsRenderStage* aNextStage);
49 CRenderStageFactory();