ui/viewutilities/effectplugin/inc/glxeffectpluginresolver.h
changeset 43 72396548277c
equal deleted inserted replaced
42:5e1df1b52eb3 43:72396548277c
       
     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 GLXEFFECTPLUGINRESOLVER_H
       
    20 #define GLXEFFECTPLUGINRESOLVER_H
       
    21 
       
    22 #include <hbeffect.h>
       
    23 #include <QHash>
       
    24 
       
    25 #include "glxuistd.h"
       
    26 
       
    27 class GlxEffectPluginBase ;
       
    28 class QString ;
       
    29 
       
    30 class GlxEffectPluginResolver 
       
    31 { 
       
    32 
       
    33 public :
       
    34     /*
       
    35      * Constructor
       
    36      */
       
    37     GlxEffectPluginResolver( );
       
    38     
       
    39     /*
       
    40      * Return the name of the effect
       
    41      */
       
    42     static QString effectName( int effectId );
       
    43     
       
    44     /*
       
    45      * Return the effect plugin instance to run the effect
       
    46      */
       
    47     GlxEffectPluginBase * effectPlugin( int effectId );
       
    48     
       
    49     /*
       
    50      * Destructor
       
    51      */
       
    52     ~GlxEffectPluginResolver( );
       
    53     
       
    54 private :
       
    55     QHash< GlxEffect, GlxEffectPluginBase * > mEffectPluginList ;
       
    56 };
       
    57 
       
    58 
       
    59 #endif //GLXEFFECTPLUGINRESOLVER_H