ui/views/effectengine/effectplugin/inc/glxfadeplugin.h
branchGCC_SURGE
changeset 51 525c140ec8db
parent 38 c9962d0368d9
parent 49 f291796e213d
equal deleted inserted replaced
38:c9962d0368d9 51:525c140ec8db
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GLXFADEPLUGIN_H
       
    19 #define GLXFADEPLUGIN_H
       
    20 
       
    21 #include "glxeffectpluginbase.h"
       
    22 
       
    23 class GlxFadePlugin : public GlxEffectPluginBase
       
    24 {
       
    25 public :
       
    26     GlxFadePlugin();
       
    27     ~GlxFadePlugin();
       
    28     QList <QString > getEffectFileList() { return mEffectFileList ; }
       
    29  /*
       
    30   * setup the item postion and set the mItem value
       
    31   */
       
    32     void setUpItems( QList< QGraphicsItem * > &  items );
       
    33 /*
       
    34  * second animation will be run later
       
    35  */    
       
    36     bool isAnimationLater(int index) ;
       
    37     QGraphicsItem * animationItem() 
       
    38     { 
       
    39         mItem->show();
       
    40         return mItem ; 
       
    41     }
       
    42 	
       
    43 private :
       
    44     QList <QString > mEffectFileList;
       
    45     QGraphicsItem *mItem;
       
    46 };
       
    47 
       
    48 #endif /*GLXFADEPLUGIN_H*/