|
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: Viewer app general definitions |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef GLXUISTD_H |
|
24 #define GLXUISTD_H |
|
25 |
|
26 #include <e32cmn.h> |
|
27 |
|
28 enum TGlxHuiCustomCommands |
|
29 { |
|
30 EGlxHuiCustomEventBackToZeroSpeed = 200, |
|
31 EGlxHuiCustomEventBackToSharpPath |
|
32 }; |
|
33 |
|
34 enum GlxContextMode |
|
35 { |
|
36 GlxContextInvalid = -1, |
|
37 GlxContextGrid, |
|
38 GlxContextLsFs, |
|
39 GlxContextPtFs, //TB context check would be applied here . Please do not add any context between GlxContextLsFs and GlxContextPtFs |
|
40 GlxContextLsList, |
|
41 GlxContextPtList, |
|
42 GlxContextSelectionList |
|
43 }; |
|
44 |
|
45 enum GlxTBContextType |
|
46 { |
|
47 GlxTBContextGrid, |
|
48 GlxTBContextLsFs, |
|
49 GlxTBContextPtFs, |
|
50 GlxTBContextNone, |
|
51 GlxTBContextExternal |
|
52 }; |
|
53 |
|
54 typedef enum |
|
55 { |
|
56 NO_EFFECT, |
|
57 TRANSITION_EFFECT, |
|
58 FADE_EFFECT, |
|
59 GRID_TO_FULLSCREEN, |
|
60 FULLSCREEN_TO_GRID, |
|
61 FULLSCREEN_TO_DETAIL, |
|
62 DETAIL_TO_FULLSCREEN, |
|
63 GRID_TO_ALBUMLIST, |
|
64 ALBUMLIST_TO_GRID, |
|
65 }GlxEffect; |
|
66 |
|
67 typedef enum |
|
68 { |
|
69 NO_VIEW, |
|
70 CURRENT_VIEW, |
|
71 LAUNCH_VIEW, |
|
72 BOTH_VIEW |
|
73 } GlxViewEffect; |
|
74 |
|
75 |
|
76 _LIT(KGlxUiUtilitiesResource, "glxuiutilities.rsc"); |
|
77 |
|
78 _LIT(KGlxIconsFilename, "glxicons.mif"); |
|
79 |
|
80 /** View activation parameters */ |
|
81 _LIT8(KGlxActivationFullScreen, "fullscreen"); |
|
82 |
|
83 |
|
84 /** attribute/thumbnail fetch context priority definitions */ |
|
85 |
|
86 const TInt KGlxFetchContextPriorityLow = 0; |
|
87 const TInt KGlxFetchContextPriorityNormal = 1; |
|
88 |
|
89 // cloud view fetch context priorities |
|
90 const TInt KGlxFetchContextPriorityCloudView = 4; |
|
91 const TInt KGlxFetchContextPriorityCloudViewInfoBubble = 3; |
|
92 |
|
93 // UMP view fetch context priorities |
|
94 const TInt KGlxFetchContextPriorityUMPViewAlbumPane = 2; |
|
95 const TInt KGlxFetchContextPriorityUMPViewTagPane = 3; |
|
96 |
|
97 // tile view fetch context priorities |
|
98 const TInt KGlxFetchContextPriorityGridViewVisibleThumbnail = 6; |
|
99 const TInt KGlxFetchContextPriorityGridViewDetails = 0; |
|
100 const TInt KGlxFetchContextPriorityGridViewDetailsFirstLast = 0; |
|
101 const TInt KGlxFetchContextPriorityGridViewNonVisibleThumbnail = 0; |
|
102 const TInt KGlxFetchContextPriorityGridViewFullscreenPrefetchNonVisibleThumbnail = 0; |
|
103 const TInt KGlxFetchContextPriorityGridViewFullscreenVisibleThumbnail = 5; |
|
104 |
|
105 const TInt KGlxFetchContextPriorityCommandHandlerOpening = 7; |
|
106 const TInt KGlxFetchContextPriorityCommandHandlerPrefetch = 0; |
|
107 |
|
108 const TInt KGlxFetchContextPriorityListViewTitles = 9; |
|
109 const TInt KGlxFetchContextPriorityListViewFocusedSubtitle = 8; |
|
110 const TInt KGlxFetchContextPriorityListViewSubtitles = 0; |
|
111 |
|
112 |
|
113 // tile fetcher |
|
114 const TInt KGlxFetchContextPriorityTitleFetcher = 10; |
|
115 |
|
116 // video playback view UID |
|
117 const TInt KGlxVideoPlaybackviewPlugin = 0x2000A7B3; |
|
118 |
|
119 |
|
120 #endif // GLXUISTD_H |