os/graphics/windowing/windowserver/test/t_genericplugin/inc/t_testserviceplugin.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2008-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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 /**
    17  @file
    18  @test
    19  @internalComponent
    20 */
    21 
    22 #ifndef __CTESTSERVICEPLUGIN_H__
    23 #define __CTESTSERVICEPLUGIN_H__
    24 
    25 #include "graphics/wsplugin.h"
    26 #include "t_logfile.h"
    27   
    28 class MWsGraphicDrawerEnvironment;
    29 
    30 class CTestServicePlugin : public CWsPlugin
    31   {
    32 public:
    33 	enum { EImplUid = 0x10285C64 };
    34 
    35 public:
    36 	static CTestServicePlugin* CreateL();
    37 	~CTestServicePlugin();
    38 	void ConstructL(MWsGraphicDrawerEnvironment& aEnv,const TDesC8& aData);
    39 	const TDesC& PluginName() const;
    40 	void SetFadingParamsL(TUint8 aBlackMap, TUint8 aWhiteMap);
    41 	TRgb GetFadeColorL();
    42 public: // from MWsObjectProvider
    43 	TAny* ResolveObjectInterface(TUint aTypeId);
    44 
    45 private:
    46 	CTestServicePlugin();
    47 
    48 private:
    49 	const TUint16*	iLut;
    50 	TRgb iFadeColor;
    51   };
    52 
    53 #endif //__CTESTSERVICEPLUGIN_H__