eapol/eapol_framework/eapol_symbian/am/include/eaptlspeap_db_api_inc/EapTlsPeapUiDataConnection.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: %
       
    20 */
       
    21 
       
    22 #ifndef _EAPTLSPEAPUIDATACONNECTION_H_
       
    23 #define _EAPTLSPEAPUIDATACONNECTION_H_
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class CEapTlsPeapUiConnection;
       
    28 class CEapTlsPeapUiTlsPeapData;
       
    29 class CEapType;
       
    30 
       
    31 
       
    32 class CEapTlsPeapUiDataConnection : public CBase
       
    33 {
       
    34 
       
    35 public:
       
    36 
       
    37     CEapTlsPeapUiDataConnection(CEapTlsPeapUiConnection * aUiConn);
       
    38 
       
    39     ~CEapTlsPeapUiDataConnection();
       
    40 
       
    41     TInt Open();
       
    42 
       
    43     TInt GetData(CEapTlsPeapUiTlsPeapData ** aDataPtr);
       
    44 
       
    45    	TInt Update();
       
    46 
       
    47     TInt Close();
       
    48 
       
    49 protected:
       
    50 
       
    51     TBool iIsOpened;
       
    52 
       
    53     CEapTlsPeapUiConnection * iUiConn;
       
    54 
       
    55     CEapTlsPeapUiTlsPeapData * iDataPtr;
       
    56 
       
    57 private:
       
    58 	// Functions.
       
    59 	
       
    60     //void FetchDataL();
       
    61     //void UpdateDataL();
       
    62     
       
    63 private:	
       
    64 	// Member variables.
       
    65 
       
    66    // Only used with EAP-FAST. Can't use the flag here.
       
    67     CDbColSet *  iFastSpecificColSet;
       
    68 
       
    69     CEapType * iEapTypeConnection; 
       
    70 };
       
    71 
       
    72 #endif // _EAPTLSPEAPUIDATACONNECTION_H_
       
    73 
       
    74 // End of file