equal
deleted
inserted
replaced
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 GLXEFFECTPLUGINBASE_H |
|
19 #define GLXEFFECTPLUGINBASE_H |
|
20 |
|
21 #include <QList> |
|
22 #include <QString> |
|
23 #include <QGraphicsItem> |
|
24 |
|
25 class GlxEffectPluginBase |
|
26 { |
|
27 |
|
28 public : |
|
29 GlxEffectPluginBase() { } |
|
30 virtual ~GlxEffectPluginBase() {} |
|
31 virtual QList <QString > getEffectFileList() = 0; |
|
32 virtual void setUpItems( QList< QGraphicsItem * > & items ) { Q_UNUSED( items ) } |
|
33 /* |
|
34 * second animation will run same time(false) or later (true) |
|
35 */ |
|
36 virtual bool isAnimationLater(int index) |
|
37 { |
|
38 Q_UNUSED( index ) |
|
39 return false ; |
|
40 } |
|
41 virtual QString ItemType() { return QString("HbIconItem") ; } |
|
42 virtual QGraphicsItem * animationItem() { return NULL; } |
|
43 }; |
|
44 |
|
45 #endif /*GLXEFFECTPLUGINBASE_H*/ |
|