uiacceltk/hitchcock/AlfHintPlugin/inc/alfhintplugindrawer.h
author William Roberts <williamr@symbian.org>
Fri, 12 Nov 2010 11:42:24 +0000
branchRCL_3
changeset 66 8ee165fddeb6
parent 0 15bf7259bb7c
permissions -rw-r--r--
Change HuiStatic.cpp to avoid VFP instructions in the static initialiser - avoids Bug 3937

/*
* 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 <e32std.h>
#include "graphics/wsgraphicdrawer.h"   // class CWsGraphicDrawer

#include <alfhintpluginuids.h>
#include <alfhintapi.h>


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<CSkin> iSkins;
    
    RArray<TInt> iCurrentTargetWindows;
    */
    };

#endif // _ALFHINTPLUGINDRAWER_H_