inc/glxthumbnailinfo.h
branchRCL_3
changeset 59 8e5f6eea9c9f
equal deleted inserted replaced
57:ea65f74e6de4 59:8e5f6eea9c9f
       
     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:   Thumbnail Info
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef T_GLXTHUMBNAILINFO_H
       
    21 #define T_GLXTHUMBNAILINFO_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 // MPX attribute content IDs
       
    26 const TInt KGlxMediaIdBitmapHandle = 0x02387563; // Temporary hack to pass bitmap handle to CPI
       
    27 
       
    28 // DRM thumbnail size
       
    29 const TInt KGlxThumbnailDrmWidth = 120;
       
    30 const TInt KGlxThumbnailDrmHeight = 90;
       
    31 
       
    32 /**
       
    33  * TGlxThumbnailQuality
       
    34  * 
       
    35  * Quality of a thumbnail
       
    36  */
       
    37 enum TGlxThumbnailQuality
       
    38 	{
       
    39     EGlxThumbnailQualityLow = 0,    // The thumbnail quality is low (probably generated with EPrioritizeSpeed)
       
    40     EGlxThumbnailQualityHigh = 255  // The thumbnail quality is high (possibly generated with EPrioritizeQuality)
       
    41 	};
       
    42 
       
    43 /**
       
    44  * Type of filter to apply to the generated thumbnail.
       
    45  */
       
    46 enum TGlxThumbnailFilter
       
    47     {
       
    48     EGlxThumbnailFilterNone,
       
    49     EGlxThumbnailFilterBlur
       
    50     };
       
    51 
       
    52 #endif // T_GLXTHUMBNAILINFO_H