diff -r b183ec05bd8c -r 19bba8228ff0 omaprovisioning/provisioning/accesspointadapter/Src/WPAPUtil.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omaprovisioning/provisioning/accesspointadapter/Src/WPAPUtil.cpp Wed Sep 01 12:27:42 2010 +0100 @@ -0,0 +1,48 @@ +/* +* Copyright (c) 2002 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: Class offers common utility methods. +* +*/ + + + + +// INCLUDE FILES + +#include "WPAPUtil.h" // Own header +#include + +// CONSTANTS +// Commented out by JN +//#if ( defined (__WINS__) || defined (__WINSCW) ) // this different on hw + _LIT( KAdapterName, "WPAPAdapterResource" ); +//#else +// _LIT( KAdapterName, "WPAPAdapter" ); +//#endif + +// ============================ MEMBER FUNCTIONS =============================== + +// ----------------------------------------------------------------------------- +// WPAPUtil::ReadHBufCLC +// ----------------------------------------------------------------------------- +// +HBufC* WPAPUtil::ReadHBufCL( TInt aResourceId ) + { + TFileName fileName; + Dll::FileName( fileName ); + + return WPAdapterUtil::ReadHBufCL( fileName, KAdapterName, aResourceId ); + } + +// End of File