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: Global defs |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 * @internal reviewed 30/07/2007 by Simon Brooks |
|
22 */ |
|
23 |
|
24 |
|
25 #ifndef _GLXTNSTD_H |
|
26 #define _GLXTNSTD_H |
|
27 |
|
28 #include "glxid.h" |
|
29 #include <e32base.h> |
|
30 class TGlxTasktnIdTypeBase {}; // Don't use this |
|
31 typedef TGlxId<TGlxTasktnIdTypeBase> TGlxtnTaskId; // Use this |
|
32 |
|
33 // Thumbnail task Ids |
|
34 const TUint KGlxtnTaskIdGenerateThumbnail = 1; |
|
35 const TUint KGlxtnTaskIdSaveThumbnail = 2; |
|
36 const TUint KGlxtnTaskIdBackgroundThumbnailGeneration = 3; |
|
37 const TUint KGlxtnTaskIdQuickThumbnail = 4; |
|
38 const TUint KGlxtnTaskIdDeleteThumbnails = 5; |
|
39 const TUint KGlxtnTaskIdFilterAvailable = 6; |
|
40 const TUint KGlxtnTaskIdCleanupThumbnails = 7; |
|
41 const TUint KGlxtnTaskIdZoomedThumbnail = 8; |
|
42 |
|
43 // Task priorities |
|
44 const TInt KGlxTaskPriorityCreateList = CActive::EPriorityStandard + 1; |
|
45 const TInt KGlxTaskPriorityFetchProperties = KGlxTaskPriorityCreateList - 1; |
|
46 const TInt KGlxTaskPriorityForegroundThumbnailProvisioning = KGlxTaskPriorityFetchProperties - 1; |
|
47 const TInt KGlxTaskPriorityFileSystemScan = KGlxTaskPriorityForegroundThumbnailProvisioning - 1; |
|
48 const TInt KGlxTaskPriorityBackgroundThumbnailProvisioning = EPriorityLow; |
|
49 const TInt KGlxTaskPriorityBackgroundThumbnailGenerator = EPriorityLow - 1; |
|
50 |
|
51 // Thumbnail availablity |
|
52 const TInt KGlxThumbnailAvailable = 0; |
|
53 const TInt KGlxThumbnailNotAvailable = 1; |
|
54 |
|
55 |
|
56 |
|
57 /** |
|
58 * Thumbnail image formats |
|
59 */ |
|
60 enum TGlxImageDataFormat |
|
61 { |
|
62 EGlxIDF_Bitmap, // Externalised CFbsBitmap |
|
63 EGlxIDF_JPEG // Encoded with JPEG format |
|
64 }; |
|
65 |
|
66 #endif // _GLXTNSTD_H |
|