videofeeds/livetvutils/inc/IptvLiveEpgConstants.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2005 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 the License "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:    Constants for EPG plugin.*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __LIVETVCONSTANTS_H__
       
    21 #define __LIVETVCONSTANTS_H__
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 #include <e32const.h>
       
    26 #include <e32def.h>
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 _LIT8( KTagMpeg7Prefix, "mpeg7" );
       
    31 
       
    32 // Channel data
       
    33 _LIT8( KTagServiceInformationTable, "ServiceInformationTable" );
       
    34 _LIT8( KTagServiceInformation, "ServiceInformation" );
       
    35 	_LIT8( KAttrServiceId, "serviceId" );
       
    36 _LIT8( KTagServiceInformationName, "Name" );
       
    37 _LIT8( KTagServiceInformationLogo, "Logo" );
       
    38 _LIT8( KTagServiceInformationLogoUri, "MediaUri" );
       
    39 _LIT8( KTagServiceInformationServiceURL, "ServiceURL" );
       
    40 _LIT8( KTagServiceDescription, "ServiceDescription" );
       
    41 _LIT8( KTagServiceLanguage, "ServiceLanguage" );
       
    42 
       
    43 // Program data
       
    44 _LIT8( KTagProgramInformationTable, "ProgramInformationTable" );
       
    45 _LIT8( KTagProgramInformation, "ProgramInformation" );
       
    46 	_LIT8( KAttrProgramId, "programId" );
       
    47 _LIT8( KTagBasicDescription, "BasicDescription" );
       
    48 _LIT8( KTagProgramTitle, "Title" );
       
    49 _LIT8( KTagProgramShortTitle, "ShortTitle" );
       
    50 _LIT8( KTagProgramKeyword, "Keyword" );
       
    51 _LIT8( KTagProgramSynopsis, "Synopsis" );
       
    52 
       
    53 // Schedule data
       
    54 _LIT8( KTagProgramLocationTable, "ProgramLocationTable" );
       
    55 _LIT8( KTagSchedule, "Schedule" );
       
    56 	_LIT8( KAttrServiceIdRef, "serviceIDRef" );
       
    57 _LIT8( KTagScheduleEvent, "ScheduleEvent" );
       
    58 _LIT8( KTagScheduleProgram, "Program" );
       
    59 	_LIT8( KAttrScheduldeProgramId, "crid" );
       
    60 _LIT8( KTagScheduleStartTime, "PublishedStartTime" );
       
    61 _LIT8( KTagScheduleEndTime, "PublishedEndTime" );
       
    62 
       
    63 // XML constants to be used in document fetched over http
       
    64 // Channel
       
    65 _LIT8( KTagChannel, "channel" );
       
    66 _LIT8( KTagChannelId, "channelId" );
       
    67 _LIT8( KTagChannelName, "channelName" );
       
    68 _LIT8( KTagChannelLogoPath, "channelLogoPath" );
       
    69 _LIT8( KTagChannelDescription, "channelDescription" );
       
    70 _LIT8( KTagChannelURI, "channelUri" );
       
    71 _LIT8( KTagChannelSDP, "channelSdp" );
       
    72 
       
    73 _LIT8( KTagProgram, "program" );
       
    74 _LIT8( KTagProgramId, "programId" );
       
    75 _LIT8( KTagProgramChannelId, "programChannelId" );
       
    76 _LIT8( KTagProgramStartTime, "programStartTime" );
       
    77 _LIT8( KTagProgramEndTime, "programEndTime" );
       
    78 _LIT8( KTagProgramURI, "uri" );
       
    79 _LIT8( KTagProgramSDP, "sdp" );
       
    80 _LIT8( KTagProgramGenre, "genre" );
       
    81 _LIT8( KTagProgramName, "programName" );
       
    82 _LIT8( KTagProgramDescription, "programDescription" );
       
    83 _LIT8( KTagProgramLanguage, "programLanguage" );
       
    84 _LIT8( KTagProgramParentRating, "parentRating" );
       
    85 
       
    86 // Service discovery definitions
       
    87 _LIT8( KTagServiceType, "Type" );
       
    88 _LIT8( KTagServiceAddress, "HTTP" );
       
    89 	_LIT8( KAttrServiceLocation, "Location" );
       
    90 	
       
    91 _LIT8( KServiceTypeLive, "Live" );
       
    92 _LIT8( KServiceTypeCoD, "CoD" );
       
    93 
       
    94 // User agent definition (probably needs to be changed in the future :)
       
    95 _LIT8( KUserAgent, "Firefight wolf 0.01");
       
    96 
       
    97 _LIT8( KAccept, "*/*");
       
    98 
       
    99 _LIT8( KMimeType, "text/xml" );
       
   100 
       
   101 _LIT( KConnecting, "Connecting");
       
   102 
       
   103 _LIT( KHeaderReceived, "Header received.");
       
   104 
       
   105 _LIT( KTransactionSuccessful, "Transaction Successful");
       
   106 
       
   107 _LIT( KTransactionCancelled, "Transaction cancelled" );
       
   108 
       
   109 _LIT( KTransactionFailed, "Transaction Failed");
       
   110 
       
   111 _LIT( KTransactionComplete, "Transaction Complete");
       
   112 
       
   113 _LIT( KBodyPartReceived, "%d bytes received... ");
       
   114 
       
   115 _LIT( KBodyReceived,"Body received");
       
   116 
       
   117 
       
   118 _LIT( KErrorStr, "Error: %d");
       
   119 
       
   120 _LIT( KUnrecognisedEvent, "Unrecognised event: %d");
       
   121 
       
   122 _LIT( KRunError, "MHFRunError: " );
       
   123 
       
   124 // Path where fetched xml data is saved by plugin http client
       
   125 _LIT( KIptvLiveXMLFilePath, "thomson.xml");
       
   126 
       
   127 _LIT( KLiveTvEPGDatabaseName, "livetvepg.db" );
       
   128 
       
   129 _LIT( KLiveTvIconFilePath, "ltvicon" );
       
   130 
       
   131 #endif  // __LIVETVCONSTANTS_H__
       
   132 
       
   133 // End of File