videofeeds/livetvutils/inc/CIptvEpgLatestEpgAvailable.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:    Classes to provide carriers of LatestEpgAvailable data to*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __CIPTVEPGLATESTEPGAVAILABLE_H__
       
    21 #define __CIPTVEPGLATESTEPGAVAILABLE_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 
       
    26 #include "IptvLiveEpgConstants.h"
       
    27 
       
    28 /**
       
    29 *	"Carrier" class to contain data for single program occurence in EPG xml
       
    30 *	file. This class is used to communicate data from xml content handler
       
    31 *	to EPG manager to be stored to the database.
       
    32 */
       
    33 class CIptvEpgLatestEpgAvailable : public CBase
       
    34 	{
       
    35 	public:
       
    36 		/**
       
    37 		*	Default constructor
       
    38 		*/
       
    39 		IMPORT_C static CIptvEpgLatestEpgAvailable* NewL();
       
    40 		
       
    41 		virtual ~CIptvEpgLatestEpgAvailable();
       
    42 		
       
    43 	public: // Getter methods
       
    44 
       
    45 		/**
       
    46 		* @return program's service provider id.
       
    47 		*/
       
    48 		IMPORT_C TUint32 GetServiceId() const;
       
    49 		
       
    50 		/**
       
    51 		* @return program start time.
       
    52 		*/
       
    53 		IMPORT_C TTime GetStartTime() const;
       
    54 	
       
    55 		
       
    56 	public: // Setter methods
       
    57 
       
    58 
       
    59 		/**
       
    60 		* @param aServiceId Program's service provider id.
       
    61 		*/
       
    62 		IMPORT_C void SetServiceId( const TUint32& aServiceId );
       
    63 
       
    64 		/**
       
    65 		* @param aStartTime Program start time.
       
    66 		*/
       
    67 		IMPORT_C void SetStartTime( const TTime& aStartTime );
       
    68 
       
    69 	private:
       
    70 	
       
    71 		CIptvEpgLatestEpgAvailable();
       
    72 		
       
    73 		void ConstructL();
       
    74 	
       
    75 	public: // Public instance variables
       
    76 	
       
    77 		TUint32 iServiceId;
       
    78 			
       
    79 		TTime iStartTime;
       
    80 
       
    81 	
       
    82 	};
       
    83 	
       
    84 #endif //__CIPTVEPGLATESTEPGAVAILABLE_H__
       
    85 
       
    86 // End of file