eapol/eapol_framework/eapol_symbian/am/include/EapPluginTools.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     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: 9 %
       
    20 */
       
    21 
       
    22 #if !defined(_EAPPLUGINTOOLS_H_)
       
    23 #define _EAPPLUGINTOOLS_H_
       
    24 
       
    25 #include <d32dbms.h>
       
    26 #include <EapExpandedType.h>
       
    27 #include <EapTypeDefinitions.h>
       
    28 
       
    29 /** @file */
       
    30 
       
    31 class EapPluginTools
       
    32 {
       
    33 
       
    34 public:
       
    35 
       
    36 	// ----------------------------------------------------------------------
       
    37 
       
    38 	IMPORT_C EapPluginTools();
       
    39 
       
    40 	IMPORT_C virtual ~EapPluginTools();
       
    41 
       
    42 	IMPORT_C void ListAllEapPluginsL(const TIndexType aIndexType, const TEapExpandedType & aTunnelingEapType, RPointerArray<TEapExpandedType> & aPlugins);
       
    43 
       
    44 	IMPORT_C static void CleanupImplArray( TAny* aAny );
       
    45 
       
    46 	IMPORT_C static void GetPrivatePathL(
       
    47 		RFs& aFileServerSession,
       
    48 		TFileName& aPrivateDatabasePathName);
       
    49 
       
    50 	IMPORT_C static void GetPrivatePathL(
       
    51 		TFileName& aPrivateDatabasePathName);
       
    52 
       
    53 	IMPORT_C static void CreateDatabaseLC(
       
    54 		RDbNamedDatabase& aDatabase,
       
    55 		RFs& aFileServerSession,
       
    56 		TInt& error,
       
    57 		const TDesC& aDatabaseName,
       
    58 		TFileName& aPrivateDatabasePathName);
       
    59 
       
    60 	// ----------------------------------------------------------------------
       
    61 
       
    62 private:
       
    63 
       
    64 	// ----------------------------------------------------------------------
       
    65 
       
    66 	// ----------------------------------------------------------------------
       
    67 
       
    68 };
       
    69 
       
    70 #define EAP_LITERAL_SYMBIAN(name, string) \
       
    71 	_LIT8(name##_8bit, string); \
       
    72 	_LIT(name, string)
       
    73 
       
    74 #endif //#if !defined(_EAPPLUGINTOOLS_H_)
       
    75 
       
    76 
       
    77 //--------------------------------------------------
       
    78 // End