os/ossrv/genericservices/s60compatibilityheaders/commonengine/src/stringresourcereader.cpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 
    17 
    18 
    19 #include <tulstringresourcereader.h>
    20 #include "stringresourcereader.h"
    21 
    22 EXPORT_C CStringResourceReader* CStringResourceReader::NewL(TFileName& aResFile)
    23 	{ return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewL(aResFile)); }
    24 	
    25 EXPORT_C CStringResourceReader* CStringResourceReader::NewLC(TFileName& aResFile)
    26 	{ return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewLC(aResFile)); }
    27 
    28 EXPORT_C CStringResourceReader* CStringResourceReader::NewL(TFileName& aResFile, RFs& aFs)
    29 	{ return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewL(aResFile, aFs)); }
    30 
    31 EXPORT_C CStringResourceReader* CStringResourceReader::NewLC(TFileName& aResFile, RFs& aFs)
    32 	{ return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewLC(aResFile, aFs)); }
    33 
    34 EXPORT_C const TDesC& CStringResourceReader::ReadResourceString(TInt aResourceId)
    35 	{ return reinterpret_cast<CTulStringResourceReader*>(this)->ReadResourceString(aResourceId); }