websrv_pub/xml_fragment_api/tsrc/bc/senfragment/src/TestFragment.cpp
branchRCL_3
changeset 34 f68f07157250
equal deleted inserted replaced
30:b72ea8487adb 34:f68f07157250
       
     1 /*
       
     2 * Copyright (c) 2009 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:        
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #include <e32std.h>
       
    27 #include <f32file.h>
       
    28 #include "TestFragment.h"
       
    29 
       
    30 
       
    31 //CSenFragmentBase//
       
    32 
       
    33 CTestFragmentBase* CTestFragmentBase::NewL(const TDesC8& aLocalName)
       
    34 {	
       
    35     return((CTestFragmentBase*)CSenFragmentBase::NewL(aLocalName));
       
    36 }
       
    37 
       
    38 EXPORT_C void CTestFragmentBase::SetContentL(const TDesC8& aContent)
       
    39 {
       
    40 	return(CSenFragmentBase::SetContentL(aContent));
       
    41 }
       
    42 
       
    43 EXPORT_C void CTestFragmentBase::AddContentL(const TDesC8& aContent)
       
    44 {
       
    45 	return(CSenFragmentBase::AddContentL(aContent));
       
    46 }
       
    47 
       
    48 
       
    49 ///CSenDomFragmentBase///
       
    50 
       
    51 CTestDomFragmentBase* CTestDomFragmentBase::NewL(const TDesC8& aLocalName)
       
    52 {
       
    53     return((CTestDomFragmentBase*)CSenDomFragmentBase::NewL(aLocalName));
       
    54 }
       
    55 
       
    56 EXPORT_C TXmlEngElement CTestDomFragmentBase::SetContentOfL(const TDesC8& aLocalName,
       
    57                                         const TDesC8& aContent)
       
    58 {
       
    59 	return(CSenDomFragmentBase::SetContentOfL(aLocalName, aContent));
       
    60 }
       
    61 
       
    62 
       
    63 EXPORT_C TPtrC8 CTestDomFragmentBase::ContentOf(const TDesC8& aLocalName)
       
    64 {
       
    65 	return(CSenDomFragmentBase::ContentOf(aLocalName));
       
    66 }
       
    67 
       
    68 
       
    69