|
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 channel and program data to* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 // USER INCLUDES |
|
20 #include "CIptvEpgLatestEpgAvailable.h" |
|
21 #include "IptvLiveLogger.h" |
|
22 |
|
23 // ---------------------------------------------------------------------------- |
|
24 // CIptvEpgLatestEpgAvailable::CIptvEpgLatestEpgAvailable() |
|
25 // |
|
26 // Constructor |
|
27 // ---------------------------------------------------------------------------- |
|
28 EXPORT_C CIptvEpgLatestEpgAvailable* CIptvEpgLatestEpgAvailable::NewL() |
|
29 { |
|
30 CIptvEpgLatestEpgAvailable* self = new (ELeave) CIptvEpgLatestEpgAvailable(); |
|
31 CleanupStack::PushL( self ); |
|
32 self->ConstructL(); |
|
33 CleanupStack::Pop( self ); |
|
34 return self; |
|
35 } |
|
36 |
|
37 CIptvEpgLatestEpgAvailable::CIptvEpgLatestEpgAvailable() |
|
38 { |
|
39 } |
|
40 |
|
41 CIptvEpgLatestEpgAvailable::~CIptvEpgLatestEpgAvailable() |
|
42 { |
|
43 } |
|
44 |
|
45 void CIptvEpgLatestEpgAvailable::ConstructL() |
|
46 { |
|
47 } |
|
48 |
|
49 // Getter methods |
|
50 |
|
51 |
|
52 // ---------------------------------------------------------------------------- |
|
53 // CIptvEpgLatestEpgAvailable::GetServiceId() |
|
54 // |
|
55 // Get program's service provider id. |
|
56 // ---------------------------------------------------------------------------- |
|
57 EXPORT_C TUint32 CIptvEpgLatestEpgAvailable::GetServiceId() const |
|
58 { |
|
59 return iServiceId; |
|
60 } |
|
61 |
|
62 // ---------------------------------------------------------------------------- |
|
63 // CIptvEpgLatestEpgAvailable::GetStartTime() |
|
64 // |
|
65 // Get program start time. |
|
66 // ---------------------------------------------------------------------------- |
|
67 EXPORT_C TTime CIptvEpgLatestEpgAvailable::GetStartTime() const |
|
68 { |
|
69 return iStartTime; |
|
70 } |
|
71 |
|
72 // ---------------------------------------------------------------------------- |
|
73 // CIptvEpgLatestEpgAvailable::SetServiceId() |
|
74 // |
|
75 // Set program's service provider id. |
|
76 // ---------------------------------------------------------------------------- |
|
77 EXPORT_C void CIptvEpgLatestEpgAvailable::SetServiceId( const TUint32& aServiceId ) |
|
78 { |
|
79 iServiceId = aServiceId; |
|
80 } |
|
81 |
|
82 // ---------------------------------------------------------------------------- |
|
83 // CIptvEpgLatestEpgAvailable::SetStartTime() |
|
84 // |
|
85 // Set program start time. |
|
86 // ---------------------------------------------------------------------------- |
|
87 EXPORT_C void CIptvEpgLatestEpgAvailable::SetStartTime( const TTime& aStartTime ) |
|
88 { |
|
89 iStartTime = aStartTime; |
|
90 } |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 // end of file |