csxhelp/HelpEngine/src/CSXHHelpContentBase.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 31 Mar 2010 21:16:13 +0300
branchRCL_3
changeset 11 91bbff48ea9c
parent 5 d06b1526f62c
permissions -rw-r--r--
Revision: 201010 Kit: 201013

/*
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  CCSXHHelpContentBase class definition
*
*/

#include "CSXHHelpContentBase.h"

// ---------------------------------------------------------
// Items commented in header.
// ---------------------------------------------------------
CCSXHHelpContentBase::~CCSXHHelpContentBase()
    {
    delete iName;
    }

// ---------------------------------------------------------
// Items commented in header.
// ---------------------------------------------------------
EXPORT_C  TPtr CCSXHHelpContentBase::GetName() const
    {
    return iName->Des();
    }

TInt32 CCSXHHelpContentBase::Priority() const 
	{
	return iPriority;
	}

// ---------------------------------------------------------
// Items commented in header.
// ---------------------------------------------------------
CCSXHHelpContentBase::CCSXHHelpContentBase(const TDesC& name, const TInt32 aPriority) 
                      : iName(name.Alloc()), iPriority(aPriority)
    {//No implementation required
    }