Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1997-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.
16 #ifndef __MWAPPLUGINSP_H__
17 #define __MWAPPLUGINSP_H__
23 // Forward class declarations
29 class CAttributeLookupTable;
32 typedef TAny CWmlLibrary;
35 //##ModelId=3B666FA402F4
45 Intended Usage : Resets the content data pointers in the given document
46 node and any dependents. This could also reset the data pointer in an
47 associated data dictionary node and its client document nodes.
49 @param aDocumentNode The pointer to the document root node
50 @param aDataPtr The pointer to the new data content
52 @post The data pointers in the specified document node and
53 dependents have been set to the new data
55 //##ModelId=3B666FA40331
56 virtual void ResetDocumentNodeData(CDocumentNode* aDocumentNode, TAny* aDataPtr) const =0;
59 Intended Usage : Gets hold of the actual node that holds the data for the
60 specified document node. The document data may actually be shared amongst
61 several document nodes and actually held in the data dictionary.
63 @param aDocumentNode The pointer to a document node
64 @return A pointer to node that actual holds the data.
66 //##ModelId=3B666FA4032C
67 virtual CNode& DataStorageNode(const CDocumentNode* aDocumentNode) const =0;
70 Intended Usage : Preload the specified DTD for validating recieved WML
71 and WMLC decks. The document data handler needs to call this as soon as it
72 knows what type of DTD the document is using. When the document completes,
73 this DTD will be used to validate it before the 100% complete message is
74 passed up to the engine observer.
76 @param aDocType The specified DTD type
77 @param aDTDURL The URL of the DTD to be fetched
78 @param aDocRootNode The root node of the document to be validated
79 @return A pointer to the DTD if the specified DTD is available,
81 @todo Add the pre and post conditions.
85 //##ModelId=3B666FA40328
86 virtual const CDTDNode* PrepareDTDL(const TDesC& aDocType,
88 const CDocumentNode* aDocRootNode) =0;
91 Intended Usage : Provide a CWmlLibrary object. This object is ready to
92 process data and build a document tree to the given root node.
94 @warning The CWmlLibrary object is owned by the WAP Engine.
95 @param aDocRootNode A pointer to the root node where the document
97 @return A pointer the CWmlLibrary object.
99 //##ModelId=3B666FA40326
100 virtual CWmlLibrary* WmlLibL(CXmlElement* aDocRootNode) =0;
103 Intended Usage : Gets the Attribute Look Up Table.
105 @return A reference to the Attribute Look Up Table.
107 //##ModelId=3B666FA4031C
108 virtual CAttributeLookupTable& AttributeLUT() =0;
112 #endif // __MWAPPLUGINSP_H__