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 #ifndef GLXDETAILSTATE_H |
|
20 #define GLXDETAILSTATE_H |
|
21 |
|
22 #include <glxbasestate.h> |
|
23 |
|
24 |
|
25 class GlxDetailState : public GlxState |
|
26 { |
|
27 public : |
|
28 GlxDetailState(GlxState *preState = NULL); |
|
29 void eventHandler(qint32 &id); |
|
30 int state() const { return (int) mState; } |
|
31 /* |
|
32 * This Function set the internal state of details state |
|
33 */ |
|
34 void setState(int internalState) { mState = (DetailState) internalState; } |
|
35 /* |
|
36 * This function set the transition parameter ( for animation) from full screen view to other view |
|
37 */ |
|
38 void setTranstionParameter(NavigationDir dir, GlxEffect &effect, GlxViewEffect &viewEffect); |
|
39 |
|
40 |
|
41 signals : |
|
42 |
|
43 public slots: |
|
44 |
|
45 protected: |
|
46 |
|
47 private slots: |
|
48 |
|
49 private: |
|
50 //Functions |
|
51 |
|
52 private: |
|
53 DetailState mState; |
|
54 //Data Member |
|
55 |
|
56 }; |
|
57 |
|
58 |
|
59 #endif /* GLXDETAILSTATE_H*/ |