1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
248 @deprecated |
248 @deprecated |
249 */ |
249 */ |
250 const TUint16 KWbxmlSkipLiteralEndTagMagicToken = 0xac1d; |
250 const TUint16 KWbxmlSkipLiteralEndTagMagicToken = 0xac1d; |
251 |
251 |
252 |
252 |
253 /////////////////////////////////////////////////////////////////// |
253 // |
254 // CWbxmlConverter |
254 // CWbxmlConverter |
255 /////////////////////////////////////////////////////////////////// |
255 // |
256 class RFileReadStream; |
256 class RFileReadStream; |
257 //##ModelId=3B6678E20007 |
257 //##ModelId=3B6678E20007 |
258 class CWbxmlConverter : public CBase |
258 class CWbxmlConverter : public CBase |
259 /** |
259 /** |
260 @publishedAll |
260 @publishedAll |
265 //##ModelId=3B6678E30199 |
265 //##ModelId=3B6678E30199 |
266 ~CWbxmlConverter(); |
266 ~CWbxmlConverter(); |
267 |
267 |
268 // NOTE: input data really is 8bit bytecode |
268 // NOTE: input data really is 8bit bytecode |
269 //##ModelId=3B6678E300F9 |
269 //##ModelId=3B6678E300F9 |
270 IMPORT_C static CWbxmlConverter* CWbxmlConverter::NewL(RFs& aFs, MWbxmlConverterObserver* aObserver); |
270 IMPORT_C static CWbxmlConverter* NewL(RFs& aFs, MWbxmlConverterObserver* aObserver); |
271 //##ModelId=3B6678E300BD |
271 //##ModelId=3B6678E300BD |
272 IMPORT_C static CWbxmlConverter* CWbxmlConverter::NewLC(RFs& aFs, MWbxmlConverterObserver* aObserver); |
272 IMPORT_C static CWbxmlConverter* NewLC(RFs& aFs, MWbxmlConverterObserver* aObserver); |
273 //##ModelId=3B6678E30135 |
273 //##ModelId=3B6678E30135 |
274 IMPORT_C static CWbxmlConverter* CWbxmlConverter::NewL(RFs& aFs, MWbxmlConverterObserver* aObserver, const TDesC* aCharacterEncoding); |
274 IMPORT_C static CWbxmlConverter* NewL(RFs& aFs, MWbxmlConverterObserver* aObserver, const TDesC* aCharacterEncoding); |
275 //##ModelId=3B6678E3009F |
275 //##ModelId=3B6678E3009F |
276 IMPORT_C void ProcessDataL(HBufC8& aBuffer); |
276 IMPORT_C void ProcessDataL(HBufC8& aBuffer); |
277 //##ModelId=3B6678E3009E |
277 //##ModelId=3B6678E3009E |
278 IMPORT_C void CommitL(); |
278 IMPORT_C void CommitL(); |
279 |
279 |