homescreensrv_plat/context_utility_api/inc/hgcontextdef.h
branchRCL_3
changeset 14 15e4dd19031c
parent 12 502e5d91ad42
child 15 a0713522ab97
equal deleted inserted replaced
12:502e5d91ad42 14:15e4dd19031c
     1 /*
       
     2 * Copyright (c) 2008 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:  Context types
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef HGCONTEXTDEF_H
       
    20 #define HGCONTEXTDEF_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 // context source
       
    25 _LIT( KHgCFSource, "Hg" );
       
    26 
       
    27 // context types
       
    28 _LIT( KHgCFTypeContact, "Contact" );
       
    29 _LIT( KHgCFTypePbkContact, "PbkContact" );
       
    30 _LIT( KHgCFTypePbkContactMulti, "PbkContactMulti" );
       
    31 _LIT( KHgCFTypeText, "Text" );
       
    32 _LIT( KHgCFTypePhoto, "Photo" );
       
    33 _LIT( KHgCFTypeActiveDate, "ActiveDate" );
       
    34 _LIT( KHgCFTypeUrl, "Url" );
       
    35 _LIT( KHgCFTypeDate, "Date" );
       
    36 
       
    37 _LIT( KHgCFTypeMusicState, "MusicState" );
       
    38 _LIT( KHgCFTypeMusicArtist, "MusicArtist" );
       
    39 _LIT( KHgCFTypeMusicTitle, "MusicTitle" );
       
    40 _LIT( KHgCFTypeMusicAlbum, "MusicAlbum" );
       
    41 _LIT( KHgCFTypeMusicAlbumArt, "MusicAlbumArt" );
       
    42 _LIT( KHgCFTypeMusicUri, "MusicUri" );
       
    43 _LIT( KHgCFTypeMusicGenre, "MusicGenre" );
       
    44 _LIT( KHgCFTypeMusicType, "MusicType" );
       
    45 
       
    46 _LIT( KHgCFTypeMusicRadioName, "MusicRadioName" );
       
    47 _LIT( KHgCFTypeMusicRadioUrl, "MusicRadioUrl" );
       
    48 _LIT( KHgCFTypeMusicRadioFrequency, "MusicRadioFrequency" );
       
    49 _LIT( KHgCFTypeMusicRadioRDSPI, "MusicRadioRDSPI" );
       
    50 
       
    51 _LIT( KHgCFTypeVideoState, "VideoState" );
       
    52 _LIT( KHgCFTypeVideoTitle, "VideoTitle" );
       
    53 _LIT( KHgCFTypeVideoUri, "VideoUri" );
       
    54 _LIT( KHgCFTypeVideoType, "VideoType" );
       
    55 
       
    56 _LIT( KHgCFTypeTvChannelName, "TvChannelName" );
       
    57 _LIT( KHgCFTypeTvProgramName, "TvProgramName" );
       
    58 _LIT( KHgCFTypeTvProgramDesc, "TvProgramDesc" );
       
    59 _LIT( KHgCFTypeTvProgramGenre, "TvProgramGenre" );
       
    60 
       
    61 _LIT( KHgCFTypeGpsLatitude, "GpsLatitude" );
       
    62 _LIT( KHgCFTypeGpsLongitude, "GpsLongitude" );
       
    63 
       
    64 _LIT( KHgCFTypeOviId, "OviId" );
       
    65 
       
    66 // some pre-defined values
       
    67 _LIT( KHgCFValueUnknownContact, "<unknown>" ); // special value for PbkContact
       
    68 _LIT( KHgCFValueUnknownInfo, "<unknown>" ); // e.g. for TV contexts, when information is not available
       
    69 _LIT( KHgCFValueMusicTypePlayer, "MusicPlayer" );
       
    70 _LIT( KHgCFValueMusicTypeRadio, "Radio" );
       
    71 _LIT( KHgCFValueVideoTypeLocal, "VideoLocal" );
       
    72 _LIT( KHgCFValueVideoTypeStream, "VideoStream" );
       
    73 
       
    74 _LIT( KHgCFServiceIdPrefixOvi, "Ovi" ); // for CHgContextUtility::PublishServiceIdL
       
    75 
       
    76 #endif // HGCONTEXTDEF_H