diff -r 000000000000 -r 15bf7259bb7c uiacceltk/hitchcock/AlfHintPlugin/inc/alfhintplugindrawer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiacceltk/hitchcock/AlfHintPlugin/inc/alfhintplugindrawer.h Tue Feb 02 07:56:43 2010 +0200 @@ -0,0 +1,66 @@ +/* +* Copyright (c) 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 _ALFHINTPLUGINDRAWER_H_ +#define _ALFHINTPLUGINDRAWER_H_ + +#include +#include "graphics/wsgraphicdrawer.h" // class CWsGraphicDrawer + +#include +#include + + +NONSHARABLE_CLASS(CAlfHintGraphicDrawer) : public CWsGraphicDrawer + { +public: + enum { EImplUid = 0x200242A1 /*KAlfHintDrawerTypeUid */ }; + + static CAlfHintGraphicDrawer* CreateL(); + + ~CAlfHintGraphicDrawer(); + + void ConstructL(MWsGraphicDrawerEnvironment& aEnv, const TGraphicDrawerId& aId, MWsClient& aOwner, const TDesC8& aData); + + void HandleMessage(const TDesC8& aData); + +private: // from MWsObjectProvider + + TAny* ResolveObjectInterface(TUint aTypeId); + +private: // from CWsGraphicDrawer + + void DoDraw(MWsGc& aGc, const TRect& aRect,const TDesC8& aData) const; + +private: + + CAlfHintGraphicDrawer(); + +private: + + + MWsGraphicDrawerEnvironment* iEnv; + + MAlfHintObserver* iHintApi; + + /*RPointerArray iSkins; + + RArray iCurrentTargetWindows; + */ + }; + +#endif // _ALFHINTPLUGINDRAWER_H_