csxhelp/HelpEngine/inc/CSXHGenericTOC2.h
branchRCL_3
changeset 18 cbffe13eac63
parent 0 1f04cf54edd8
equal deleted inserted replaced
17:12f60d9a73b3 18:cbffe13eac63
       
     1 /*
       
     2 * Copyright (c) 2006 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:  CCSXHGenericTOC2 class declaration
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef INC_CSXHGENERICTOC2_H_HEADER_INCLUDED_BC05356D
       
    19 #define INC_CSXHGENERICTOC2_H_HEADER_INCLUDED_BC05356D
       
    20 
       
    21 #include "CSXHHelpContentBase.h"
       
    22 
       
    23 class CCSXHGenericTOC1;
       
    24 /** 
       
    25 * @class CCSXHGenericTOC2
       
    26 * This class has the information of TOC2 
       
    27 */
       
    28 class CCSXHGenericTOC2 : public CCSXHHelpContentBase
       
    29     {
       
    30   public:
       
    31 /** 
       
    32  * @function GetParent
       
    33  * @since S60 3.2
       
    34  * Get the Parent object
       
    35  * @return pointer to toc1 class object
       
    36  */
       
    37     IMPORT_C CCSXHGenericTOC1* GetParent();
       
    38 /** 
       
    39  * @function GetTopicContentL
       
    40  * @since S60 3.2
       
    41  * Get topic  to display
       
    42  * @return pointer to Buffer
       
    43  */
       
    44     virtual TAny* GetTopicContentL() = 0;
       
    45     
       
    46   protected:
       
    47 /** 
       
    48 *  @function CCSXHGenericTOC2
       
    49 *  @since S60 3.2
       
    50 *  Construct a CCSXHGenericTOC2 
       
    51 *  @param aParent 	- TOC1 object
       
    52 *         aName 	- toc2 Name
       
    53 */  
       
    54     CCSXHGenericTOC2(CCSXHGenericTOC1* aParent, const TDesC& aName);
       
    55   	CCSXHGenericTOC1* iParent;
       
    56 
       
    57     };
       
    58 
       
    59 
       
    60 
       
    61 #endif /* INC_CSXHGENERICTOC2_H_HEADER_INCLUDED_BC05356D */