internetradio2.0/sessionloginc/irreportsettings.h
changeset 14 896e9dbc5f19
parent 12 608f67c22514
child 15 065198191975
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
     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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef IRREPORTSETTINGS_H
       
    20 #define IRREPORTSETTINGS_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 _LIT(KSession,"Session");
       
    25 
       
    26 _LIT(KNmsLog,"NmsLog");
       
    27 
       
    28 _LIT(KLogFileName,"RadioReport.xml");
       
    29 
       
    30 _LIT(KGZipLogFileName,"LogUsage.gz");
       
    31 
       
    32 _LIT(KField,"Field");
       
    33 
       
    34 _LIT(KXmlHeader,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
       
    35 
       
    36 
       
    37 //RadioReport
       
    38 
       
    39 _LIT(KRPSTARTTAG,"<radioReport ver=\"Field\"  IRID=\"Field\" id=\"Field\">");
       
    40 
       
    41 _LIT(KRPENDTAG,"</radioReport>");
       
    42 
       
    43 //Session log
       
    44 
       
    45 _LIT(KSESSIONSTARTTAG,"<session starttime=\"Field\" duration=\"Field\" terminatedBy=\"Field\" connectedFrom=\"Field\" id=\"Field\"><channelid>Field</channelid>");
       
    46 
       
    47 _LIT(KSERVERRESULTTAG,"<serverResult url=\"Field\">Field</serverResult>");
       
    48 
       
    49 _LIT(KCONNECTIONTAG,"<connection type=\"Field\"><operator currentNetwork=\"Field\" homeOperator=\"Field\"/></connection>");
       
    50 
       
    51 _LIT(KSESSIONENDTAG,"</session>");
       
    52 
       
    53 //Browse log
       
    54 
       
    55 _LIT(KBROWSESTARTTAG,"<browseLog>");
       
    56 
       
    57 _LIT(KBROWSEENDTAG,"</browseLog>");
       
    58 
       
    59 _LIT(KBROWSETAG,"<browse url=\"Field\" timeStamp=\"Field\" currentNetwork=\"Field\"/>");
       
    60 
       
    61 
       
    62 /**
       
    63  * for nmsLogs (Nokia Music Store Logs Information)
       
    64  * 
       
    65  */
       
    66 _LIT(KNMSLOGSTARTTAG, "<nmsLog>");
       
    67 _LIT(KNMSLOGENDTAG, "</nmsLog>");
       
    68 _LIT(KNMSEVENTTAG, "<nmsEvent timeStamp=\"Field\" channelId=\"Field\" type=\"Field\"><operator currentNetwork=\"Field\" homeOperator=\"Field\"/></nmsEvent>" );
       
    69 
       
    70 /**
       
    71  * for song recognition Logs (Shazam Logs Information)
       
    72  * 
       
    73  */
       
    74 _LIT(KSONGRECOGLOGSTARTTAG, "<songRecogLog>");
       
    75 _LIT(KSONGRECOGLOGENDTAG, "</songRecogLog>");
       
    76 _LIT(KSONGRECOGEVENTTAG, "<songRecogEvent timeStamp=\"Field\"></songRecogEvent>");
       
    77 
       
    78 
       
    79 //Advertisement log
       
    80 
       
    81 //Terminatedby
       
    82 _LIT(KUSER,"user");
       
    83 
       
    84 _LIT(KNOCONNECTIONTOSERVER,"noConnectionToServer");
       
    85 
       
    86 _LIT(KNOCONNECTIONTONETWORK,"noConnectionToNetwork");
       
    87 
       
    88 	//Connected from
       
    89 
       
    90 _LIT(KISDS,"isds");
       
    91 
       
    92 _LIT(KPRESETADHOC,"preset-adhoc");
       
    93 
       
    94 _LIT(KPRESETISDS,"preset-isds");
       
    95 
       
    96 _LIT(KHISTORYADHOC,"history-adhoc");
       
    97 
       
    98 _LIT(KHISTORYISDS,"history-isds");
       
    99 
       
   100 _LIT(KADHOCMANUAL,"adhoc-manual");
       
   101 
       
   102 _LIT(KADHOCEXTERNAL,"adhoc-external");
       
   103 
       
   104 //Connection type
       
   105 
       
   106 //ServerResult
       
   107 _LIT(KConnected,"Connected");
       
   108 
       
   109 _LIT(KFull,"ServerFull");
       
   110 
       
   111 _LIT(KConnTimeOut,"ConnectionTimeOut");
       
   112 
       
   113 _LIT(KConnectionFailed,"ConnectionFailed");
       
   114 
       
   115 #endif //IRREPORTSETTINGS_H
       
   116 
       
   117 
       
   118