websrv_pub/xml_fragment_api/tsrc/bc/senfragment/inc/TestFragment.h
changeset 31 a8ae8e6fbd42
equal deleted inserted replaced
23:a1df79fa35b4 31:a8ae8e6fbd42
       
     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:  senfragment header declaration      
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 #ifndef TESTFRAGMENT_H
       
    27 #define TESTFRAGMENT_H
       
    28 
       
    29 #include <e32std.h>
       
    30 #include <f32file.h>
       
    31 #include "SenFragmentBase.h"
       
    32 #include "SenDomFragmentBase.h"
       
    33 
       
    34 
       
    35 
       
    36 class CTestFragmentBase :public CSenFragmentBase
       
    37 {
       
    38 public:    
       
    39     static CTestFragmentBase* NewL(const TDesC8& aLocalName);
       
    40     IMPORT_C void SetContentL(const TDesC8& aContent);
       
    41 	IMPORT_C void AddContentL(const TDesC8& aContent);    
       
    42 };
       
    43 
       
    44 
       
    45 
       
    46 class CTestDomFragmentBase :public CSenDomFragmentBase
       
    47 {
       
    48 public:    
       
    49     static CTestDomFragmentBase* NewL(const TDesC8& aLocalName);
       
    50     IMPORT_C TXmlEngElement SetContentOfL(const TDesC8& aLocalName,
       
    51                                         const TDesC8& aContent);
       
    52 	IMPORT_C TPtrC8 ContentOf(const TDesC8& aLocalName);                                        
       
    53 
       
    54 };
       
    55 
       
    56 
       
    57 #endif