diff -r 000000000000 -r 2f259fa3e83a lafagnosticuifoundation/graphicseffects/StubAdapterInc/gfxtransadapterstub.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lafagnosticuifoundation/graphicseffects/StubAdapterInc/gfxtransadapterstub.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,57 @@ +// Copyright (c) 2006-2009 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: +// + +#ifndef _GFXTRANSADAPTERSTUB_H_ +#define _GFXTRANSADAPTERSTUB_H_ + +#include + +#include "GfxTransAdapter.h" + +class CCoeControl; + +/** +A class containing the basic, stub methods for an engine adapter. The +adapter sits between the client and the engine, and will need to be customised +for each engine. + +@internalTechnology +*/ +NONSHARABLE_CLASS(CGfxTransAdapterStub) : public CBase, public MGfxTransAdapter + { +private: + CGfxTransAdapterStub(MGfxTransClient* aClient); + ~CGfxTransAdapterStub(); +public: + void ConstructL(); + //MGfxTransAdapter + + TInt HandleClientState(TClientState aState, const CCoeControl *aKey, TInt aHandle); + TBool IsActive(); + TControlPolicy* GetTransitionPolicies(TInt &aCount); + void StartTransition(TInt aHandle); + void HandleParticpantUpdate(TInt aHandle, const CParticipantData* aParticipant, RWsGraphicMsgBuf* aCommandBuffer, const TRect& aDrawRect, const TRect& aBoundingRect); + void BeginFullScreen(TUint aAction, const TRect &aEffectArea); + void BeginFullScreen(TUint aAction, const TRect &aEffectArea, TUint aType, const TDesC8& aParams); + void EndFullScreen(); + void AbortFullScreen(); + void NotifyExternalState(TInt aState, const TDesC8* aArg); + +private: + friend class MGfxTransAdapter; + MGfxTransClient* iClient; + }; + +#endif \ No newline at end of file