epoc32/include/xml/wbxmlextensionhandler.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Plugin interface
    15 // 
    16 //
    17 
    18 #ifndef __WBXMLEXTENSIONHANDLER_H__
    19 #define __WBXMLEXTENSIONHANDLER_H__
    20 
    21 #include <e32std.h>
    22 
    23 
    24 class RString;
    25 
    26 namespace Xml
    27 {
    28 
    29 class MWbxmlExtensionHandler
    30 /**
    31 The Wbxml api extension class.
    32 Inherited by classes wishing to cater for this interface, e.g. WbxmlParser.
    33 
    34 @publishedAll
    35 @released
    36 */
    37 	{
    38 public:
    39 
    40 /**
    41 The uid identifying this extension interface.
    42 */
    43 	enum TExtInterfaceUid {EExtInterfaceUid = 0x101FE212};
    44 	
    45 /**
    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.
    54 */
    55 	virtual void OnExtensionL(const RString& aData, TInt aToken, TInt aErrorCode) = 0;
    56 
    57 	};
    58 
    59 }
    60 
    61 #endif //__WBXMLEXTENSIONHANDLER_H__