accesssec_plat/eaptlspeap_db_api/inc/EapTlsPeapUiCipherSuites.h
branchRCL_3
changeset 46 c74b3d9f6b9e
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: 7.1.2 %
       
    20 */
       
    21 
       
    22 #ifndef _EAPTLSPEAPUICIPHERSUITES_H_
       
    23 #define _EAPTLSPEAPUICIPHERSUITES_H_
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class CEapTlsPeapUiConnection;
       
    28 class TEapTlsPeapUiCipherSuite;
       
    29 
       
    30 
       
    31 class CEapTlsPeapUiCipherSuites : public CBase
       
    32 {
       
    33 
       
    34 public:
       
    35 
       
    36     CEapTlsPeapUiCipherSuites(CEapTlsPeapUiConnection * const aUiConn);
       
    37 
       
    38     ~CEapTlsPeapUiCipherSuites();
       
    39 
       
    40     TInt Open();
       
    41 
       
    42     TInt GetCipherSuites(CArrayFixFlat<TEapTlsPeapUiCipherSuite> ** aDataPtr);
       
    43    	
       
    44     TInt Update();
       
    45 
       
    46     TInt Close();
       
    47 
       
    48 private:
       
    49 
       
    50     TBool iIsOpened;
       
    51 
       
    52     CEapTlsPeapUiConnection * iUiConn;
       
    53 
       
    54     RDbNamedDatabase iDatabase;    
       
    55 
       
    56 	CArrayFixFlat<TEapTlsPeapUiCipherSuite>* iDataPtr;
       
    57 
       
    58 private:
       
    59 
       
    60     void FetchDataL();
       
    61     
       
    62     void UpdateL();
       
    63 };
       
    64 
       
    65 #endif //_EAPTLSPEAPUICIPHERSUITES_H_
       
    66 
       
    67 // End of file