accesssec_plat/eaptlspeap_db_api/inc/EapTlsPeapUiEapTypes.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     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 #ifndef _EAPTLSPEAPUIEAPTYPES_H_
       
    20 #define _EAPTLSPEAPUIEAPTYPES_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CEapTlsPeapUiConnection;
       
    25 class TEapTlsPeapUiEapType;
       
    26 
       
    27 class CEapTlsPeapUiEapTypes : public CBase
       
    28 {
       
    29 
       
    30 public:
       
    31 
       
    32     CEapTlsPeapUiEapTypes(CEapTlsPeapUiConnection * const aUiConn);
       
    33 
       
    34     ~CEapTlsPeapUiEapTypes();
       
    35 
       
    36     TInt Open();
       
    37 
       
    38     TInt GetEapTypes(CArrayFixFlat<TEapTlsPeapUiEapType> ** aDataPtr);
       
    39    	
       
    40     TInt Update();
       
    41 
       
    42     TInt Close();
       
    43 
       
    44 private:
       
    45 
       
    46     TBool iIsOpened;
       
    47 
       
    48     CEapTlsPeapUiConnection * iUiConn;
       
    49 
       
    50     RDbNamedDatabase iDatabase;
       
    51 
       
    52     CArrayFixFlat<TEapTlsPeapUiEapType>* iDataPtr;    
       
    53     
       
    54 private:
       
    55 
       
    56 
       
    57     void FetchExpandedDataL();
       
    58     
       
    59     void UpdateExpandedDataL();
       
    60     
       
    61 };
       
    62 
       
    63 #endif // _EAPTLSPEAPUIEAPTYPES_H_
       
    64 
       
    65 // End of file