uifw/AvKon/src/AknSystemFont.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 09 Jun 2010 09:58:37 +0300
branchRCL_3
changeset 13 a8834a2e9a96
parent 0 2f259fa3e83a
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
* Copyright (c) 2005 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:
*
*/


// INCLUDE FILES

#include "AknSystemFont.h"
#include <AknLayoutFont.h> // For destructor

EXPORT_C CLafSystemFont* CLafSystemFont::NewL(TUid aUid, CAknLayoutFont* aFont)
    {
    return new(ELeave) CLafSystemFont(aUid, aFont);
    }

CLafSystemFont::CLafSystemFont(TUid aUid, CAknLayoutFont* aFont)
: iUid(aUid), iFont(aFont)
	{
	}

CLafSystemFont::~CLafSystemFont()
    {
    delete iFont;
    }

EXPORT_C TUid CLafSystemFont::Uid() const
	{
	return iUid;
	}

EXPORT_C CFont* CLafSystemFont::Font() const
	{
	return iFont;
	}


//  End of File