accesssec_plat/eap_type_api/inc/EapPluginTools.h
changeset 26 9abfd4f00d37
equal deleted inserted replaced
25:e03a3db4489e 26:9abfd4f00d37
       
     1 /*
       
     2 * Copyright (c) 2001-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  EAP and WLAN authentication protocols.
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: 7 %
       
    20 */
       
    21 
       
    22 #if !defined(_EAPPLUGINTOOLS_H_)
       
    23 #define _EAPPLUGINTOOLS_H_
       
    24 
       
    25 #include <d32dbms.h>
       
    26 #include <EapExpandedType.h>
       
    27 
       
    28 /** @file */
       
    29 
       
    30 class EapPluginTools
       
    31 {
       
    32 
       
    33 public:
       
    34 
       
    35 	// ----------------------------------------------------------------------
       
    36 
       
    37 	IMPORT_C EapPluginTools();
       
    38 
       
    39 	IMPORT_C virtual ~EapPluginTools();
       
    40 
       
    41 	IMPORT_C void ListAllEapPluginsL(const TEapExpandedType & aTunnelingEapType, RPointerArray<TEapExpandedType> & aPlugins);
       
    42 
       
    43 	IMPORT_C static void CleanupImplArray( TAny* aAny );
       
    44 
       
    45 	IMPORT_C static void GetPrivatePathL(
       
    46 		RFs& aFileServerSession,
       
    47 		TFileName& aPrivateDatabasePathName);
       
    48 
       
    49 	IMPORT_C static void GetPrivatePathL(
       
    50 		TFileName& aPrivateDatabasePathName);
       
    51 
       
    52 	IMPORT_C static void CreateDatabaseLC(
       
    53 		RDbNamedDatabase& aDatabase,
       
    54 		RFs& aFileServerSession,
       
    55 		TInt& error,
       
    56 		const TDesC& aDatabaseName,
       
    57 		TFileName& aPrivateDatabasePathName);
       
    58 
       
    59 	// ----------------------------------------------------------------------
       
    60 
       
    61 private:
       
    62 
       
    63 	// ----------------------------------------------------------------------
       
    64 
       
    65 	// ----------------------------------------------------------------------
       
    66 
       
    67 };
       
    68 
       
    69 #define EAP_LITERAL_SYMBIAN(name, string) \
       
    70 	_LIT8(name##_8bit, string); \
       
    71 	_LIT(name, string)
       
    72 
       
    73 #endif //#if !defined(_EAPPLUGINTOOLS_H_)
       
    74 
       
    75 
       
    76 //--------------------------------------------------
       
    77 // End