upnpharvester/common/cmlibrary/inc/cmcommontypes.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2006-2007 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:      Common header for Common component
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef CMCOMMONTYPES_H
       
    24 #define CMCOMMONTYPES_H
       
    25 
       
    26 
       
    27 
       
    28 /// Fill rule method types
       
    29 
       
    30 enum TFillRuleMethodTypes
       
    31     {
       
    32     ECMRandom = 0,
       
    33     ECMLatest,
       
    34     ECMOldest
       
    35     };
       
    36 
       
    37 enum TCmLimitType
       
    38     {
       
    39     EUnlimited = 0,
       
    40     EPieces,
       
    41     EMbits
       
    42     };
       
    43 
       
    44 enum TCmMediaType
       
    45     {
       
    46     ECmAll   = -1,
       
    47     ECmVideo = 0,
       
    48     ECmImage,
       
    49     ECmAudio,
       
    50     ECmAudioBroadCast,
       
    51     ECmVideoBroadCast,
       
    52     ECmOtherVideo,
       
    53     ECmOtherImage
       
    54     };
       
    55     
       
    56 enum TCmFillMethod
       
    57     {
       
    58     ECmRandom = 0,
       
    59     ECmLatest,
       
    60     ECmOldest,
       
    61     ECmRandomTrack,
       
    62     ECmRandomAlbum
       
    63     };
       
    64 
       
    65 enum TCmFillRuleStatus
       
    66     {
       
    67     ECmUnSelected = 0,
       
    68     ECmSelected,
       
    69     ECmDeleted 
       
    70     };
       
    71     
       
    72 enum TCmMetadataField
       
    73     {
       
    74     ECmArtist = 0,
       
    75     ECmAlbum,
       
    76     ECmGenre,
       
    77     ECmDuration,
       
    78     ECmDate,
       
    79     ECmTitle,
       
    80     ECmUpnpClass,
       
    81     ECmContentURI,
       
    82     ECmFileSize,
       
    83     ECmBitrate,
       
    84     ECmResolution,
       
    85     ECmFreeText,
       
    86     ECmProfileId,
       
    87     ECmNone
       
    88     };
       
    89 
       
    90 enum TCmOperatorType
       
    91     {
       
    92     ECmEquals,
       
    93     ECmGreater,
       
    94     ECmSmaller,
       
    95     ECmConsistOf,
       
    96     ECmBeginsWith,
       
    97     ECmEndsWith
       
    98     };                           
       
    99 
       
   100 enum TCmRuleType
       
   101     {
       
   102     ECmFmFillRule = 1,
       
   103     ECmFmStoreRule
       
   104     };        
       
   105 #endif // CMCOMMONTYPES_H
       
   106 
       
   107 // end of file