|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Object to offer some common utility functions to Iptv engine testing* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include <e32Base.h> |
|
22 #include "CIptvTestVodContentAllDetails.h" |
|
23 #include "CIptvVodContentClient.h" |
|
24 #include "CIptvVodContentContentBriefDetails.h" |
|
25 #include "CIptvVodContentContentFullDetails.h" |
|
26 #include "CIptvMediaContent.h" |
|
27 #include "VCXTestLog.h" |
|
28 |
|
29 // ----------------------------------------------------------------------------- |
|
30 // CIptvTestVodContentAllDetails::CIptvTestVodContentAllDetails |
|
31 // C++ default constructor can NOT contain any code, that |
|
32 // might leave. |
|
33 // ----------------------------------------------------------------------------- |
|
34 // |
|
35 CIptvTestVodContentAllDetails::CIptvTestVodContentAllDetails() |
|
36 { |
|
37 } |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CIptvTestVodContentAllDetails::ConstructL |
|
41 // Symbian 2nd phase constructor can leave. |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 void CIptvTestVodContentAllDetails::ConstructL() |
|
45 { |
|
46 |
|
47 } |
|
48 |
|
49 // ----------------------------------------------------------------------------- |
|
50 // CIptvServicesFromFile::NewL |
|
51 // Two-phased constructor. |
|
52 // ----------------------------------------------------------------------------- |
|
53 // |
|
54 EXPORT_C CIptvTestVodContentAllDetails* CIptvTestVodContentAllDetails::NewL() |
|
55 { |
|
56 VCXLOGLO1(">>>CIptvTestVodContentAllDetails::NewL"); |
|
57 CIptvTestVodContentAllDetails* self = new( ELeave ) CIptvTestVodContentAllDetails; |
|
58 CleanupStack::PushL( self ); |
|
59 self->ConstructL(); |
|
60 CleanupStack::Pop(); |
|
61 VCXLOGLO1("<<<CIptvTestVodContentAllDetails::NewL"); |
|
62 return self; |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // CIptvServicesFromFile::~CIptvTestVodContentAllDetails |
|
67 // Destructor |
|
68 // ----------------------------------------------------------------------------- |
|
69 // |
|
70 EXPORT_C CIptvTestVodContentAllDetails::~CIptvTestVodContentAllDetails() |
|
71 { |
|
72 VCXLOGLO1(">>>CIptvTestVodContentAllDetails::~CIptvTestVodContentAllDetails"); |
|
73 iMediaContents.ResetAndDestroy(); |
|
74 delete iBriefDetails; |
|
75 iBriefDetails = NULL; |
|
76 delete iFullDetails; |
|
77 iFullDetails = NULL; |
|
78 VCXLOGLO1("<<<CIptvTestVodContentAllDetails::~CIptvTestVodContentAllDetails"); |
|
79 } |
|
80 |
|
81 // End of File |