xml/xmlfw/inc/plugins/parserinitparams.h
changeset 0 e35f40988205
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __PARSERINITPARAMS_H__
       
    17 #define __PARSERINITPARAMS_H__
       
    18 
       
    19 #include <xml/plugins/elementstack.h> // needed for the typedef
       
    20 
       
    21 namespace Xml
       
    22 {
       
    23 
       
    24 class CCharSetConverter;
       
    25 class MContentHandler;
       
    26 class RStringDictionaryCollection;
       
    27 
       
    28 
       
    29 struct TParserInitParams
       
    30 /**
       
    31 A structure for passing initialisation parameters to the derived class being instantiated.
       
    32 
       
    33 @publishedPartner
       
    34 @released
       
    35 */
       
    36 	{
       
    37 
       
    38 /**
       
    39 The helper class for character conversions and encoding resolution.
       
    40 We do not own this.
       
    41 */	
       
    42 	CCharSetConverter*				iCharSetConverter;
       
    43 
       
    44 /**
       
    45 The client callback to pass the data to.
       
    46 We do not own this.
       
    47 */
       
    48 	MContentHandler*				iContentHandler;
       
    49 
       
    50 /**
       
    51 The collection of string dictionaries that can be loaded by the user or by the framework at runtime.
       
    52 We do not own this.
       
    53 */
       
    54 	RStringDictionaryCollection*	iStringDictionaryCollection;
       
    55 
       
    56 /**
       
    57 The Element stack that allows checking on tag ordering.
       
    58 An object may want to check this in associating with validation.
       
    59 We do not own this.
       
    60 */
       
    61 	RElementStack*					iElementStack;
       
    62 
       
    63 	};
       
    64 
       
    65 }
       
    66 
       
    67 #endif //__PARSERINITPARAMS_H__