omadrm/drmengine/roap/inc/RightsRespParser.h
changeset 0 95b198f216e5
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 RIGHTSRESPPARSER_H
       
    21 #define RIGHTSRESPPARSER_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 #include <hash.h>
       
    26 #include "RespParser.h"
       
    27 
       
    28 namespace Roap
       
    29 {
       
    30 // FORWARD DECLARATIONS
       
    31 class CRightsResp;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  ?one_line_short_description.
       
    37 *  ?other_description_lines
       
    38 *
       
    39 *  @lib ?library
       
    40 *  @since Series ?XX ?SeriesXX_version
       
    41 */
       
    42 class TRightsRespParser : public MRespParser
       
    43     {
       
    44     public:  // Constructors
       
    45         
       
    46         TRightsRespParser(
       
    47             CRightsResp* aResponse);
       
    48 
       
    49     public: // New functions
       
    50         
       
    51         /**
       
    52         * ?member_description.
       
    53         * @since Series ?XX ?SeriesXX_version
       
    54         * @param ?arg1 ?description
       
    55         * @return ?description
       
    56         */
       
    57         //?type ?member_function( ?type ?arg1 );
       
    58 
       
    59     public: // Functions from base classes
       
    60 
       
    61         /**
       
    62         * From ?base_class ?member_description.
       
    63         * @since Series ?XX ?SeriesXX_version
       
    64         * @param ?arg1 ?description
       
    65         * @return ?description
       
    66         */
       
    67         //?type ?member_function( ?type ?arg1 );
       
    68         
       
    69         virtual void OnStartElementL(
       
    70             CRoapParser& aParser,
       
    71             TInt aState,
       
    72             const RTagInfo& aElement,
       
    73             const RAttributeArray& aAttributes);
       
    74 
       
    75         virtual void OnEndElementL(
       
    76             CRoapParser& aParser,
       
    77             TInt aState,
       
    78             const RTagInfo& aElement);
       
    79 
       
    80     protected:  // New functions
       
    81         
       
    82         /**
       
    83         * ?member_description.
       
    84         * @since Series ?XX ?SeriesXX_version
       
    85         * @param ?arg1 ?description
       
    86         * @return ?description
       
    87         */
       
    88         //?type ?member_function( ?type ?arg1 );
       
    89 
       
    90     protected:  // Functions from base classes
       
    91         
       
    92         /**
       
    93         * From ?base_class ?member_description
       
    94         */
       
    95         //?type ?member_function();
       
    96 
       
    97     private:
       
    98 
       
    99     public:     // Data
       
   100         // ?one_line_short_description_of_data
       
   101     
       
   102     protected:  // Data
       
   103         // ?one_line_short_description_of_data
       
   104         //?data_declaration;
       
   105         CRightsResp* iResponse;
       
   106 
       
   107     private:    // Data
       
   108         // ?one_line_short_description_of_data
       
   109         //?data_declaration;
       
   110          
       
   111         // Reserved pointer for future extension
       
   112         //TAny* iReserved;
       
   113 
       
   114     public:     // Friend classes
       
   115         //?friend_class_declaration;
       
   116     protected:  // Friend classes
       
   117         //?friend_class_declaration;
       
   118     private:    // Friend classes
       
   119         //?friend_class_declaration;
       
   120 
       
   121     };
       
   122 }
       
   123 
       
   124 #endif      // RIGHTSRESPPARSER_H   
       
   125             
       
   126 // End of File