|
1 /* |
|
2 * Copyright (c) 2004-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MIPTVEPGLIVETVCALLBACK |
|
22 #define MIPTVEPGLIVETVCALLBACK |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CIptvEpgChannel; |
|
26 class CIptvEpgProgram; |
|
27 class CIptvEpgSchedule; |
|
28 class CIptvEpgProgramWithSchedule; |
|
29 |
|
30 // CLASS DECLARATION |
|
31 |
|
32 class MIptvEpgLiveTvCallback |
|
33 { |
|
34 public: |
|
35 |
|
36 virtual void AddChannel( CIptvEpgChannel* aChannel ) = 0; |
|
37 |
|
38 virtual void AddProgram( CIptvEpgProgram* aProgram ) = 0; |
|
39 |
|
40 virtual void AddProgramsWithSchedules( const RPointerArray<CIptvEpgProgramWithSchedule>& aProgramWithSchedule ) = 0; |
|
41 |
|
42 virtual void AddProgramWithSchedule( CIptvEpgProgramWithSchedule& aProgramWithSchedule ) = 0; |
|
43 |
|
44 virtual void AddScheduleData( CIptvEpgSchedule& aScheduleData ) = 0; |
|
45 |
|
46 virtual void Started() = 0; |
|
47 |
|
48 virtual void Finished( TInt aError ) = 0; |
|
49 |
|
50 virtual void EpgDownloadStarted() = 0; |
|
51 |
|
52 virtual void EpgDownloadCompleted( TInt aErrorCode ) = 0; |
|
53 |
|
54 virtual void EpgParsingStarted() = 0; |
|
55 |
|
56 virtual void EpgParsingFinished( TInt aErrorCode ) = 0; |
|
57 |
|
58 virtual void Error( TInt aErrorCode ) = 0; |
|
59 |
|
60 virtual void ChannelUpdated( TInt64 aChannelId ) = 0; |
|
61 |
|
62 virtual TInt UpdateChannelIcon( const TUint32 aServiceId, |
|
63 const TInt64 aChannelId, |
|
64 const TDesC& aIconPath ) = 0; |
|
65 |
|
66 virtual void UpdateProgramIcon( TInt64 aProgramId, TDesC& aIconPath ) = 0; |
|
67 |
|
68 virtual void LatestEpgAvailableL( TTime aLatestSchedule ) = 0; |
|
69 |
|
70 virtual void SetLastModifiedDataL( const TUint32 aServiceId, |
|
71 const TDesC& aModifiedSince, |
|
72 const TDesC& aETag ) = 0; |
|
73 }; |
|
74 |
|
75 #endif // MIPTVEPGLIVETVCALLBACK |
|
76 |
|
77 // End of File |