uiacceltk/hitchcock/AlfHintPlugin/inc/alfhintplugindrawer.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef _ALFHINTPLUGINDRAWER_H_
       
    19 #define _ALFHINTPLUGINDRAWER_H_
       
    20 
       
    21 #include <e32std.h>
       
    22 #include "graphics/wsgraphicdrawer.h"   // class CWsGraphicDrawer
       
    23 
       
    24 #include <alfhintpluginuids.h>
       
    25 #include <alfhintapi.h>
       
    26 
       
    27 
       
    28 NONSHARABLE_CLASS(CAlfHintGraphicDrawer) : public CWsGraphicDrawer
       
    29     {
       
    30 public:
       
    31     enum { EImplUid = 0x200242A1 /*KAlfHintDrawerTypeUid */ };
       
    32     
       
    33     static CAlfHintGraphicDrawer* CreateL();
       
    34     
       
    35     ~CAlfHintGraphicDrawer();
       
    36     
       
    37     void ConstructL(MWsGraphicDrawerEnvironment& aEnv, const TGraphicDrawerId& aId, MWsClient& aOwner, const TDesC8& aData);
       
    38     
       
    39     void HandleMessage(const TDesC8& aData);
       
    40 
       
    41 private: // from MWsObjectProvider
       
    42 
       
    43     TAny* ResolveObjectInterface(TUint aTypeId);
       
    44 
       
    45 private: // from CWsGraphicDrawer
       
    46 
       
    47     void DoDraw(MWsGc& aGc, const TRect& aRect,const TDesC8& aData) const;
       
    48 
       
    49 private:
       
    50 
       
    51     CAlfHintGraphicDrawer();
       
    52     
       
    53 private:
       
    54 
       
    55     
       
    56     MWsGraphicDrawerEnvironment* iEnv;
       
    57     
       
    58     MAlfHintObserver* iHintApi;
       
    59     
       
    60     /*RPointerArray<CSkin> iSkins;
       
    61     
       
    62     RArray<TInt> iCurrentTargetWindows;
       
    63     */
       
    64     };
       
    65 
       
    66 #endif // _ALFHINTPLUGINDRAWER_H_