videofeeds/server/IptvEpgManager/inc/MIptvEpgLiveTvCallback.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:40:33 +0300
branchRCL_3
changeset 12 7f2b2a65da29
parent 0 96612d01cf9f
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* Copyright (c) 2004-2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/




#ifndef MIPTVEPGLIVETVCALLBACK
#define MIPTVEPGLIVETVCALLBACK

// FORWARD DECLARATIONS
class CIptvEpgChannel;
class CIptvEpgProgram;
class CIptvEpgSchedule;
class CIptvEpgProgramWithSchedule;

// CLASS DECLARATION

class MIptvEpgLiveTvCallback
    {
    public:
    
    virtual void AddChannel( CIptvEpgChannel* aChannel ) = 0;
    
    virtual void AddProgram( CIptvEpgProgram* aProgram ) = 0;
    
    virtual void AddProgramsWithSchedules( const RPointerArray<CIptvEpgProgramWithSchedule>& aProgramWithSchedule ) = 0;
    
    virtual void AddProgramWithSchedule( CIptvEpgProgramWithSchedule& aProgramWithSchedule ) = 0;

    virtual void AddScheduleData( CIptvEpgSchedule& aScheduleData ) = 0;
    
    virtual void Started() = 0;
    
    virtual void Finished( TInt aError ) = 0;
    
    virtual void EpgDownloadStarted() = 0;
    
    virtual void EpgDownloadCompleted( TInt aErrorCode ) = 0;
    
    virtual void EpgParsingStarted() = 0;
    
    virtual void EpgParsingFinished( TInt aErrorCode ) = 0;
    
    virtual void Error( TInt aErrorCode ) = 0;
    
    virtual void ChannelUpdated( TInt64 aChannelId ) = 0;
    
    virtual TInt UpdateChannelIcon( const TUint32 aServiceId, 
									const TInt64 aChannelId, 
									const TDesC& aIconPath ) = 0;
    
    virtual void UpdateProgramIcon( TInt64 aProgramId, TDesC& aIconPath ) = 0;
    
    virtual void LatestEpgAvailableL( TTime aLatestSchedule ) = 0;
    
    virtual void SetLastModifiedDataL( const TUint32 aServiceId,
    								   const TDesC& aModifiedSince,
    								   const TDesC& aETag ) = 0;
    };

#endif  // MIPTVEPGLIVETVCALLBACK

// End of File