|
1 /* |
|
2 * Copyright (c) 2003-2006 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: SmilPlayerSynchXmlParser declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef SMILPLAYERSYNCHXMLPARSER_H |
|
21 #define SMILPLAYERSYNCHXMLPARSER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <gmxmlparser.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * CSmilPlayerSynchXmlParser XML Parser utility. |
|
33 * Used to parse SMIL document in DoParsingL() |
|
34 * |
|
35 * @lib smilplayer.lib |
|
36 * @since 3.1 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CSmilPlayerSynchXmlParser ) : public CBase, |
|
39 public MMDXMLParserObserver |
|
40 |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * C++ default constructor. |
|
46 */ |
|
47 CSmilPlayerSynchXmlParser(); |
|
48 |
|
49 /** |
|
50 * Destructor. |
|
51 */ |
|
52 virtual ~CSmilPlayerSynchXmlParser(); |
|
53 |
|
54 public: // New functions |
|
55 |
|
56 /** |
|
57 * Parses XML file to XML DOM document. |
|
58 * |
|
59 * @since S60 3.1 |
|
60 * |
|
61 * @param aFileHandle XML file handle. |
|
62 * |
|
63 * @return Parsed XML DOM document. |
|
64 */ |
|
65 CMDXMLDocument* ParseL( RFile& aFileHandle ); |
|
66 |
|
67 public: // Functions from base classes |
|
68 |
|
69 /** |
|
70 * From MMDXMLParserObserver. See GMXMLParser.h |
|
71 */ |
|
72 void ParseFileCompleteL(); |
|
73 |
|
74 private: // Data |
|
75 |
|
76 // Scheduler. |
|
77 CActiveSchedulerWait iWaitScheduler; |
|
78 }; |
|
79 |
|
80 #endif // SMILPLAYERSYNCHXMLPARSER_H |
|
81 |
|
82 // End of File |