os/ossrv/genericservices/s60compatibilityheaders/commonengine/src/stringresourcereader.cpp
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 #include <tulstringresourcereader.h>
20 #include "stringresourcereader.h"
22 EXPORT_C CStringResourceReader* CStringResourceReader::NewL(TFileName& aResFile)
23 { return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewL(aResFile)); }
25 EXPORT_C CStringResourceReader* CStringResourceReader::NewLC(TFileName& aResFile)
26 { return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewLC(aResFile)); }
28 EXPORT_C CStringResourceReader* CStringResourceReader::NewL(TFileName& aResFile, RFs& aFs)
29 { return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewL(aResFile, aFs)); }
31 EXPORT_C CStringResourceReader* CStringResourceReader::NewLC(TFileName& aResFile, RFs& aFs)
32 { return reinterpret_cast<CStringResourceReader*>(CTulStringResourceReader::NewLC(aResFile, aFs)); }
34 EXPORT_C const TDesC& CStringResourceReader::ReadResourceString(TInt aResourceId)
35 { return reinterpret_cast<CTulStringResourceReader*>(this)->ReadResourceString(aResourceId); }