omadrm/drmengine/roap/inc/RespParser.h
changeset 0 95b198f216e5
child 12 8a03a285ab14
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2002-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:  ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef RESPPARSER_H
       
    21 #define RESPPARSER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <Xml/Parser.h>
       
    25 #include <Xml/ContentHandler.h>
       
    26 #include <Xml/XmlParserErrors.h>
       
    27 
       
    28 using namespace Xml;
       
    29 
       
    30 namespace Roap
       
    31 {
       
    32 // CONSTANTS
       
    33 //const ?type ?constant_var = ?constant;
       
    34 
       
    35 // MACROS
       
    36 //#define ?macro ?macro_def
       
    37 
       
    38 // DATA TYPES
       
    39 //enum ?declaration
       
    40 //typedef ?declaration
       
    41 //extern ?data_type;
       
    42 
       
    43 // FUNCTION PROTOTYPES
       
    44 //?type ?function_name(?arg_list);
       
    45 
       
    46 // FORWARD DECLARATIONS
       
    47 
       
    48 class CRoapParser;
       
    49 
       
    50 // CLASS DECLARATION
       
    51 
       
    52 /**
       
    53 *  ?one_line_short_description.
       
    54 *  ?other_description_lines
       
    55 *
       
    56 *  @lib ?library
       
    57 *  @since Series ?XX ?SeriesXX_version
       
    58 */
       
    59 class MRespParser
       
    60     {
       
    61     public: // New functions
       
    62 
       
    63         virtual void OnStartElementL(
       
    64             CRoapParser& aParser,
       
    65             TInt aState,
       
    66             const RTagInfo& aElement,
       
    67             const RAttributeArray& aAttributes) = 0;
       
    68 
       
    69         virtual void OnEndElementL(
       
    70             CRoapParser& aParser,
       
    71             TInt aState,
       
    72             const RTagInfo& aElement) = 0;
       
    73     };
       
    74 }
       
    75 
       
    76 #endif      // ROAPPARSER_H   
       
    77             
       
    78 // End of File