ui/viewutilities/effectplugin/inc/glxflipeffectplugin.h
changeset 36 6481344a6d67
child 45 863223ea6961
equal deleted inserted replaced
33:1ee2af37811f 36:6481344a6d67
       
     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 
       
    19 #ifndef GLXFLIPEFFECTPLUGIN_H
       
    20 #define GLXFLIPEFFECTPLUGIN_H
       
    21 
       
    22 #include "glxeffectpluginbase.h"
       
    23 
       
    24 class GlxFlipEffectPlugin : public GlxEffectPluginBase
       
    25 {
       
    26 public :
       
    27     /*
       
    28      *  Constructor
       
    29      */
       
    30     GlxFlipEffectPlugin();
       
    31     
       
    32     /*
       
    33      *  Destructor
       
    34      */
       
    35     ~GlxFlipEffectPlugin();
       
    36     
       
    37     /*
       
    38      *  Get the flip hide and Flip Show file list
       
    39      */
       
    40     QList <QString > effectFileList() { return mEffectFileList; }
       
    41     
       
    42     /*
       
    43      * setup the item postion and set the mItem value
       
    44      */
       
    45     void setUpItems( QList< QGraphicsItem * > &  items );
       
    46     
       
    47     /*
       
    48      * second animation will be run later
       
    49      */    
       
    50     bool isAnimationLater(int index) ;
       
    51     
       
    52     /*
       
    53      *  return the second animation object to play the flip show animation
       
    54      */
       
    55     QGraphicsItem * animationItem() ;
       
    56     
       
    57     /*
       
    58      * get the name of the effect, use to shown in the slide show setting view
       
    59      */
       
    60     static QString effectName() { return QString ("Flip") ; }
       
    61 	
       
    62 private :
       
    63     QList <QString > mEffectFileList;
       
    64     QGraphicsItem *mItem;
       
    65 };
       
    66 
       
    67 #endif /*GLXFLIPEFFECTPLUGIN_H*/
       
    68