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 |
|
19 |
|
20 #include <glxbasestate.h> |
|
21 |
|
22 GlxState::GlxState (qint32 id, GlxState *preState) : mId(id), mPreState(preState) |
|
23 { |
|
24 |
|
25 } |
|
26 |
|
27 bool GlxState::compare (qint32 id) const |
|
28 { |
|
29 return id == mId ; |
|
30 } |
|
31 |
|
32 void GlxState::setTranstionParameter(NavigationDir dir, GlxEffect &effect, GlxViewEffect &viewEffect) |
|
33 { |
|
34 //This Function will set the default value |
|
35 Q_UNUSED(dir) |
|
36 effect = NO_EFFECT; |
|
37 viewEffect = NO_VIEW ; |
|
38 } |
|
39 |
|
40 GlxState::~GlxState() |
|
41 { |
|
42 |
|
43 } |
|
44 |