1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
18 #ifndef __WBXMLEXTENSIONHANDLER_H__
19 #define __WBXMLEXTENSIONHANDLER_H__
29 class MWbxmlExtensionHandler
31 The Wbxml api extension class.
32 Inherited by classes wishing to cater for this interface, e.g. WbxmlParser.
41 The uid identifying this extension interface.
43 enum TExtInterfaceUid {EExtInterfaceUid = 0x101FE212};
46 This method is a receive notification of an extension instruction.
47 The type of extension is specified in aToken and is based on the global tokens
48 specified in WBXML documents.
49 @see http://www.w3.org/TR/wbxml/
50 @param aData is the extension data.
51 @param aToken is the global unambiguous token value.
52 @param aErrorCode is the error code.
53 If this is not KErrNone then special action may be required.
55 virtual void OnExtensionL(const RString& aData, TInt aToken, TInt aErrorCode) = 0;
61 #endif //__WBXMLEXTENSIONHANDLER_H__