ncdengine/inc/ncditempurpose.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:   Contains item purpose definitions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef NCD_ITEM_PURPOSE_H
       
    20 #define NCD_ITEM_PURPOSE_H
       
    21 
       
    22 /**
       
    23  * Defines the flag values indicating the different
       
    24  * available purposes an item can be used for.
       
    25  *
       
    26  * 
       
    27  * @see MNcdContentInfo::Purpose()
       
    28  */
       
    29 enum TNcdItemPurpose
       
    30     {
       
    31 
       
    32     /** Unknown purpose. */
       
    33     ENcdItemPurposeUnknown = 1,
       
    34 
       
    35     /** Usable as a ringing tone. */
       
    36     ENcdItemPurposeRingtone = 2,
       
    37 
       
    38     /** Usable as a wall paper. */
       
    39     ENcdItemPurposeWallpaper = 4,
       
    40 
       
    41     /** Usable as generic music. */
       
    42     ENcdItemPurposeMusic = 8,
       
    43 
       
    44     /** Usable as an application. */
       
    45     ENcdItemPurposeApplication = 16,
       
    46 
       
    47     /** Usable as a theme. */
       
    48     ENcdItemPurposeTheme = 32,
       
    49 
       
    50     /** Usable as an image. */
       
    51     ENcdItemPurposeHtmlPage = 64,
       
    52 
       
    53     /** Usable as a video. */
       
    54     ENcdItemPurposeVideo = 128,
       
    55 
       
    56     /** Usable as a game. */
       
    57     ENcdItemPurposeGame = 256,
       
    58 
       
    59     /** Usable as a screensaver. */
       
    60     ENcdItemPurposeScreensaver = 512,
       
    61 
       
    62     /** Usable as a stream. */
       
    63     ENcdItemPurposeStream = 1024
       
    64 
       
    65     };
       
    66 
       
    67 #endif // NCD_ITEM_PURPOSE_H