csxhelp/HelpEngine/src/CSXHHelpContentBase.cpp
branchRCL_3
changeset 17 12f60d9a73b3
parent 16 0d1adf67ec1b
child 18 cbffe13eac63
equal deleted inserted replaced
16:0d1adf67ec1b 17:12f60d9a73b3
     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:  CCSXHHelpContentBase class definition
       
    15 *
       
    16 */
       
    17 
       
    18 #include "CSXHHelpContentBase.h"
       
    19 
       
    20 // ---------------------------------------------------------
       
    21 // Items commented in header.
       
    22 // ---------------------------------------------------------
       
    23 CCSXHHelpContentBase::~CCSXHHelpContentBase()
       
    24     {
       
    25     delete iName;
       
    26     }
       
    27 
       
    28 // ---------------------------------------------------------
       
    29 // Items commented in header.
       
    30 // ---------------------------------------------------------
       
    31 EXPORT_C  TPtr CCSXHHelpContentBase::GetName() const
       
    32     {
       
    33     return iName->Des();
       
    34     }
       
    35 
       
    36 TInt32 CCSXHHelpContentBase::Priority() const 
       
    37 	{
       
    38 	return iPriority;
       
    39 	}
       
    40 
       
    41 // ---------------------------------------------------------
       
    42 // Items commented in header.
       
    43 // ---------------------------------------------------------
       
    44 CCSXHHelpContentBase::CCSXHHelpContentBase(const TDesC& name, const TInt32 aPriority) 
       
    45                       : iName(name.Alloc()), iPriority(aPriority)
       
    46     {//No implementation required
       
    47     }
       
    48 
       
    49