presadap12/Parser2/SrcXmlParser/PEngXMLParserFactory.cpp
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  XML parser factory implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <E32Std.h>
       
    21 #include "CPEngXMLParser.h"
       
    22 
       
    23 
       
    24 // ================= FACTORY FUNCTIONS ====================
       
    25 EXPORT_C MPEngXMLParser* CreateXMLParserL()
       
    26     {
       
    27     CPEngXMLParser* parser = CPEngXMLParser::NewLC();
       
    28     CleanupStack::Pop(); // parser
       
    29     return parser;
       
    30     }
       
    31 
       
    32 
       
    33 EXPORT_C MPEngXMLParser* CreateXMLParserLC()
       
    34     {
       
    35     return CPEngXMLParser::NewLC();
       
    36     }
       
    37 
       
    38 
       
    39 
       
    40 //  End of File
       
    41 
       
    42 
       
    43 
       
    44