|
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 GlxContextLsGrid, |
|
38 GlxContextPtGrid, |
|
39 GlxContextLsFs, |
|
40 GlxContextPtFs, //TB context check would be applied here . Please do not add any context between GlxContextLsFs and GlxContextPtFs |
|
41 GlxContextLsList, |
|
42 GlxContextPtList, |
|
43 GlxContextSelectionList, |
|
44 GlxContextFavorite, |
|
45 GlxContextComment //to fetch the description |
|
46 }; |
|
47 |
|
48 enum GlxTBContextType |
|
49 { |
|
50 GlxTBContextGrid, |
|
51 GlxTBContextLsFs, |
|
52 GlxTBContextPtFs, |
|
53 GlxTBContextNone, |
|
54 GlxTBContextExternal |
|
55 }; |
|
56 |
|
57 typedef enum |
|
58 { |
|
59 NO_EFFECT, |
|
60 FLIP_EFFECT, |
|
61 SMOOTH_FADE, |
|
62 ZOOM_TO_FACE, |
|
63 HELIX_EFFECT, |
|
64 TRANSITION_EFFECT, |
|
65 FADE_EFFECT, |
|
66 GRID_TO_FULLSCREEN, |
|
67 FULLSCREEN_TO_GRID, |
|
68 FULLSCREEN_TO_DETAIL, |
|
69 DETAIL_TO_FULLSCREEN, |
|
70 GRID_TO_ALBUMLIST, |
|
71 ALBUMLIST_TO_GRID, |
|
72 }GlxEffect; |
|
73 |
|
74 typedef enum |
|
75 { |
|
76 SLOW, |
|
77 MEDIUM, |
|
78 FAST |
|
79 }GlxSlideShowDelay; |
|
80 |
|
81 typedef enum |
|
82 { |
|
83 NO_VIEW, |
|
84 CURRENT_VIEW, |
|
85 LAUNCH_VIEW, |
|
86 BOTH_VIEW |
|
87 } GlxViewEffect; |
|
88 |
|
89 #define DOUBLETAP_TIMEINTERVAL 300 |
|
90 |
|
91 _LIT(KGlxUiUtilitiesResource, "glxuiutilities.rsc"); |
|
92 |
|
93 _LIT(KGlxIconsFilename, "glxicons.mif"); |
|
94 |
|
95 /** View activation parameters */ |
|
96 _LIT8(KGlxActivationFullScreen, "fullscreen"); |
|
97 |
|
98 |
|
99 /** attribute/thumbnail fetch context priority definitions */ |
|
100 |
|
101 const TInt KGlxFetchContextPriorityLow = 0; |
|
102 const TInt KGlxFetchContextPriorityNormal = 1; |
|
103 |
|
104 // cloud view fetch context priorities |
|
105 const TInt KGlxFetchContextPriorityCloudView = 4; |
|
106 const TInt KGlxFetchContextPriorityCloudViewInfoBubble = 3; |
|
107 |
|
108 // UMP view fetch context priorities |
|
109 const TInt KGlxFetchContextPriorityUMPViewAlbumPane = 2; |
|
110 const TInt KGlxFetchContextPriorityUMPViewTagPane = 3; |
|
111 |
|
112 // tile view fetch context priorities |
|
113 const TInt KGlxFetchContextPriorityGridViewVisibleThumbnail = 6; |
|
114 const TInt KGlxFetchContextPriorityGridViewDetails = 0; |
|
115 const TInt KGlxFetchContextPriorityGridViewDetailsFirstLast = 0; |
|
116 const TInt KGlxFetchContextPriorityGridViewNonVisibleThumbnail = 0; |
|
117 const TInt KGlxFetchContextPriorityGridViewFullscreenPrefetchNonVisibleThumbnail = 0; |
|
118 const TInt KGlxFetchContextPriorityGridViewFullscreenVisibleThumbnail = 5; |
|
119 |
|
120 const TInt KGlxFetchContextPriorityCommandHandlerOpening = 7; |
|
121 const TInt KGlxFetchContextPriorityCommandHandlerPrefetch = 0; |
|
122 |
|
123 const TInt KGlxFetchContextPriorityListViewTitles = 9; |
|
124 const TInt KGlxFetchContextPriorityListViewFocusedSubtitle = 8; |
|
125 const TInt KGlxFetchContextPriorityListViewSubtitles = 0; |
|
126 |
|
127 |
|
128 // tile fetcher |
|
129 const TInt KGlxFetchContextPriorityTitleFetcher = 10; |
|
130 |
|
131 // video playback view UID |
|
132 const TInt KGlxVideoPlaybackviewPlugin = 0x2000A7B3; |
|
133 |
|
134 //Constants for ci_photos.confml |
|
135 const TUint32 KGlxCi_UidGallery = 0x20007193; |
|
136 const TInt KGlxOperatorLink = 0x1; |
|
137 const TInt KGlxOvi = 0x2; |
|
138 |
|
139 #endif // GLXUISTD_H |