uiaccelerator_plat/alf_core_toolkit_api/tsrc/inc/testuiaifblocksmanagerchild.h
branchRCL_3
changeset 19 e5af45d51884
parent 18 1801340c26a2
child 20 31fccae4f8a7
equal deleted inserted replaced
18:1801340c26a2 19:e5af45d51884
     1 /*
       
     2 * Copyright (c) 2002 - 2007 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:  For test alf core toolkit api modules
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef TESTUIAIFBLOCKSMANAGERCHILD_H
       
    20 #define TESTUIAIFBLOCKSMANAGERCHILD_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <uiacceltk/huianimatedtexture.h>
       
    26 #include <uiacceltk/huitexturemanager.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  *  CTestUiAifBlocksManagerChild
       
    32  * 
       
    33  */
       
    34 class CTestUiAifBlocksManagerChild : public CHuiTextureManager
       
    35     {
       
    36 public:
       
    37 
       
    38     CTestUiAifBlocksManagerChild();
       
    39     virtual ~CTestUiAifBlocksManagerChild();
       
    40 
       
    41 
       
    42 public: // CHuiTextureManager
       
    43     virtual void RestoreL();
       
    44     virtual void RemoveTexture(CHuiTexture& aTexture);
       
    45     virtual void AppendTextureL(CHuiTexture* aTexture, TInt aId);
       
    46     virtual CHuiTexture& CreateTextureL(CFbsBitmap& aBitmap, const CFbsBitmap* aMask, 
       
    47                                         THuiTextureUploadFlags aFlags, TInt aId);
       
    48     virtual TBool Release();
       
    49 
       
    50 
       
    51 protected: // CHuiTextureManager
       
    52     
       
    53     virtual void RunL();
       
    54     virtual void DoCancel();
       
    55     virtual TInt RunError(TInt aError);
       
    56     
       
    57     
       
    58 private:
       
    59     
       
    60     CHuiEnv* gEnv;
       
    61     
       
    62     };
       
    63 
       
    64 #endif // TESTUIAIFBLOCKSMANAGERCHILD_H