equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-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: Update PCFW with current application state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 * @internal reviewed 03/07/2007 by David Holland |
|
23 */ |
|
24 |
|
25 |
|
26 #ifndef GLXSETAPPSTATE_H |
|
27 #define GLXSETAPPSTATE_H |
|
28 |
|
29 #include <e32base.h> |
|
30 |
|
31 // DATA TYPES |
|
32 /** |
|
33 * Supported application states |
|
34 */ |
|
35 enum TGlxAppState |
|
36 { |
|
37 EGlxAppStateUndefined, |
|
38 EGlxInCarouselView, |
|
39 EGlxInFullScreenView, |
|
40 EGlxInZoomedView, |
|
41 EGlxInVideoPlaybackView, |
|
42 EGlxInSlideshowView, |
|
43 EGlxInListView, |
|
44 EGlxInTagBrowserView, |
|
45 EGlxInMapBrowserView, |
|
46 EGlxInTextEntry |
|
47 }; |
|
48 |
|
49 /** |
|
50 * GlxSetAppState |
|
51 * |
|
52 * Update PCFW with current application state |
|
53 * |
|
54 * @lib glxuiutilities.lib |
|
55 */ |
|
56 class GlxSetAppState |
|
57 { |
|
58 public: |
|
59 /** |
|
60 * Set Gallery KPCFWAppStatePSUid with current app state |
|
61 * @param aAppState new app state |
|
62 */ |
|
63 IMPORT_C static void SetState(TGlxAppState aAppState); |
|
64 |
|
65 /** |
|
66 * Get current value of Gallery KPCFWAppStatePSUid |
|
67 * @return aAppState new app state |
|
68 */ |
|
69 IMPORT_C static TGlxAppState AppState(); |
|
70 }; |
|
71 |
|
72 #endif // GLXSETAPPSTATE_H |