|
1 /* |
|
2 * Copyright (c) 2009 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 "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: videoplaylistutility test class for STIF testing |
|
15 * |
|
16 */ |
|
17 |
|
18 // Version : %version: 2 % |
|
19 |
|
20 #ifndef VIDEOPLAYLISTUTILITY_TESTER_H_ |
|
21 #define VIDEOPLAYLISTUTILITY_TESTER_H_ |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <e32def.h> |
|
25 #include <StifItemParser.h> |
|
26 #include <mpxmessage2.h> |
|
27 |
|
28 |
|
29 enum TStifLinkTypes |
|
30 { |
|
31 ERamFileStreaming, |
|
32 ERamFileLocal, |
|
33 EAsxFileStreaming, |
|
34 EAsxFileLocal |
|
35 }; |
|
36 |
|
37 enum TStifFileTypes |
|
38 { |
|
39 ERamFile, |
|
40 EAsxFile |
|
41 }; |
|
42 |
|
43 enum TAsxEmbeddedTypes |
|
44 { |
|
45 ENoEmbeddedInfo, |
|
46 EEmbeddedSeekInfo |
|
47 }; |
|
48 |
|
49 // FORWARD DEC |
|
50 class CVideoPlaylistUtility; |
|
51 |
|
52 |
|
53 class CVideoPlaylistUtility_Tester : public CBase |
|
54 { |
|
55 public: // constructors and destructors |
|
56 static CVideoPlaylistUtility_Tester* NewL(); |
|
57 |
|
58 virtual ~CVideoPlaylistUtility_Tester(); |
|
59 |
|
60 TInt CreatePlaylistUtilityL( CStifItemParser& aItem ); |
|
61 TInt GetFileInfoL( CStifItemParser& aItem ); |
|
62 TInt GetLinkL( CStifItemParser& aItem ); |
|
63 TInt GetPlaylistL( CStifItemParser& aItem ); |
|
64 TBool IsSeekableL( CStifItemParser& aItem ); |
|
65 |
|
66 private: |
|
67 |
|
68 TFileName GetFileNameAndPathL( CStifItemParser& aItem ); |
|
69 |
|
70 void ConstructL(); |
|
71 |
|
72 CVideoPlaylistUtility_Tester(); |
|
73 |
|
74 private: |
|
75 |
|
76 CVideoPlaylistUtility* iPlaylistUtility; |
|
77 }; |
|
78 |
|
79 #endif /* VIDEOPLAYLISTUTILITY_TESTER_H_ */ |