photos_plat/gallery_utilities_api/inc/glxmediageneraldefs.h
changeset 0 4e91876724a2
child 24 ea65f74e6de4
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     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:    Definitions for media attributes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __T_GLXMEDIAGENERALDEFS_H__
       
    22 #define __T_GLXMEDIAGENERALDEFS_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 #include <mpxattribute.h>
       
    26 
       
    27 /**
       
    28 * Content ID identifying progress messages
       
    29 */
       
    30 const TInt KGlxMediaIdGeneral   = 0x200071A8;
       
    31 
       
    32 /**
       
    33  * Boolean value of whether item is a system item. 
       
    34  * System albums true (Favourites, Camera album), otherwise false 
       
    35  * (For collection plugins true, but will probably not be asked)
       
    36  * TBool 
       
    37  */
       
    38 const TMPXAttributeData KGlxMediaGeneralSystemItem ={KGlxMediaIdGeneral, 0x01};
       
    39 
       
    40 /**
       
    41  * Original dimensions of image or video clip 
       
    42  * TSize
       
    43  */
       
    44 const TMPXAttributeData KGlxMediaGeneralDimensions ={KGlxMediaIdGeneral, 0x02};
       
    45 
       
    46 /**
       
    47  * Frame count (animated GIF)
       
    48  * TInt
       
    49  */
       
    50 const TMPXAttributeData KGlxMediaGeneralFramecount ={KGlxMediaIdGeneral, 0x04};
       
    51 
       
    52 /**
       
    53  * Location
       
    54  * TCoordinate (defined in lbsposition.h)
       
    55  */
       
    56 const TMPXAttributeData KGlxMediaGeneralLocation ={KGlxMediaIdGeneral, 0x08};
       
    57 
       
    58 /**
       
    59  * Slideshowable Contents (count or -1 for non-containers)
       
    60  * TInt
       
    61  */
       
    62 const TMPXAttributeData KGlxMediaGeneralSlideshowableContent ={KGlxMediaIdGeneral, 0x20};
       
    63 
       
    64 /**
       
    65  * Slideshowable Contents (count or -1 for non-containers)
       
    66  * TInt
       
    67  */
       
    68 const TMPXAttributeData KGlxMediaGeneralLastModifiedDate ={KGlxMediaIdGeneral, 0x40};
       
    69 
       
    70 //MDS 2.5 Migration. Remove the Comments
       
    71 /**
       
    72  * Slideshowable Contents (count or -1 for non-containers)
       
    73  * TInt
       
    74  */
       
    75 const TMPXAttributeData KGlxMediaGeneralDRMRightsValid ={KGlxMediaIdGeneral, 0x80};
       
    76 
       
    77 /**
       
    78 *  DEPRECATED, please use consts above
       
    79 *  Attributes supported for KGlxMediaIdGeneral
       
    80 */
       
    81 enum
       
    82     {
       
    83     /**
       
    84       * Boolean value of whether item is a system item. 
       
    85       * System albums true (Favourites, Camera album), otherwise false 
       
    86       * (For collection plugins true, but will probably not be asked)
       
    87       * TBool 
       
    88       */
       
    89     EGlxMediaGeneralSystemItem = 0x01,
       
    90     
       
    91     /**
       
    92       * Original dimensions of image or video clip 
       
    93       * TSize
       
    94       */
       
    95     EGlxMediaGeneralDimensions = 0x02,
       
    96 
       
    97     /**
       
    98      * Frame count (animated GIF)
       
    99      * TInt
       
   100      */
       
   101     EGlxMediaGeneralFramecount = 0x04,
       
   102     
       
   103     /**
       
   104      * Location
       
   105      * TCoordinate (defined in lbsposition.h)
       
   106      */
       
   107     EGlxMediaGeneralLocation = 0x08,
       
   108     };
       
   109     
       
   110 //MDS 2.5 Migration. Remove the Comments    
       
   111 enum TGlxMediaGeneralRightsValidity
       
   112     {
       
   113     EGlxDrmRightsValidityUnknown,
       
   114     EGlxDrmRightsValid,
       
   115     EGlxDrmRightsInvalid
       
   116     }; 
       
   117 #endif // __T_GLXMEDIAGENERALDEFS_H__