sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: @internalComponent sl@0: */ sl@0: sl@0: #ifndef __CTESTSERVICEPLUGIN_H__ sl@0: #define __CTESTSERVICEPLUGIN_H__ sl@0: sl@0: #include "graphics/wsplugin.h" sl@0: #include "t_logfile.h" sl@0: sl@0: class MWsGraphicDrawerEnvironment; sl@0: sl@0: class CTestServicePlugin : public CWsPlugin sl@0: { sl@0: public: sl@0: enum { EImplUid = 0x10285C64 }; sl@0: sl@0: public: sl@0: static CTestServicePlugin* CreateL(); sl@0: ~CTestServicePlugin(); sl@0: void ConstructL(MWsGraphicDrawerEnvironment& aEnv,const TDesC8& aData); sl@0: const TDesC& PluginName() const; sl@0: void SetFadingParamsL(TUint8 aBlackMap, TUint8 aWhiteMap); sl@0: TRgb GetFadeColorL(); sl@0: public: // from MWsObjectProvider sl@0: TAny* ResolveObjectInterface(TUint aTypeId); sl@0: sl@0: private: sl@0: CTestServicePlugin(); sl@0: sl@0: private: sl@0: const TUint16* iLut; sl@0: TRgb iFadeColor; sl@0: }; sl@0: sl@0: #endif //__CTESTSERVICEPLUGIN_H__