eapol/eapol_framework/eapol_symbian/am/include/EapPluginTools.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 15:16:37 +0300
branchRCL_3
changeset 18 bad0cc58d154
permissions -rw-r--r--
Revision: 201029 Kit: 201035

/*
* Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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:  EAP and WLAN authentication protocols.
*
*/

/*
* %version: 9 %
*/

#if !defined(_EAPPLUGINTOOLS_H_)
#define _EAPPLUGINTOOLS_H_

#include <d32dbms.h>
#include <EapExpandedType.h>
#include <EapTypeDefinitions.h>

/** @file */

class EapPluginTools
{

public:

	// ----------------------------------------------------------------------

	IMPORT_C EapPluginTools();

	IMPORT_C virtual ~EapPluginTools();

	IMPORT_C void ListAllEapPluginsL(const TIndexType aIndexType, const TEapExpandedType & aTunnelingEapType, RPointerArray<TEapExpandedType> & aPlugins);

	IMPORT_C static void CleanupImplArray( TAny* aAny );

	IMPORT_C static void GetPrivatePathL(
		RFs& aFileServerSession,
		TFileName& aPrivateDatabasePathName);

	IMPORT_C static void GetPrivatePathL(
		TFileName& aPrivateDatabasePathName);

	IMPORT_C static void CreateDatabaseLC(
		RDbNamedDatabase& aDatabase,
		RFs& aFileServerSession,
		TInt& error,
		const TDesC& aDatabaseName,
		TFileName& aPrivateDatabasePathName);

	// ----------------------------------------------------------------------

private:

	// ----------------------------------------------------------------------

	// ----------------------------------------------------------------------

};

#define EAP_LITERAL_SYMBIAN(name, string) \
	_LIT8(name##_8bit, string); \
	_LIT(name, string)

#endif //#if !defined(_EAPPLUGINTOOLS_H_)


//--------------------------------------------------
// End