accesssec_plat/eapmschapv2_db_api/inc/EapMsChapV2UiDataConnection.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: 6.1.2 %
       
    20 */
       
    21 
       
    22 #ifndef _EAPMSCHAPV2UIDATACONNECTION_H_
       
    23 #define _EAPMSCHAPV2UIDATACONNECTION_H_
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class CEapMsChapV2UiConnection;
       
    28 class CEapMsChapV2UiMsChapV2Data;
       
    29 
       
    30 
       
    31 class CEapMsChapV2UiDataConnection : public CBase
       
    32 {
       
    33 
       
    34 public:
       
    35 
       
    36     CEapMsChapV2UiDataConnection(CEapMsChapV2UiConnection * aUiConn);
       
    37 
       
    38     ~CEapMsChapV2UiDataConnection();
       
    39 
       
    40     TInt Open();
       
    41 
       
    42     TInt GetData(CEapMsChapV2UiMsChapV2Data ** aDataPtr);
       
    43 
       
    44    	TInt Update();
       
    45 
       
    46     TInt Close();
       
    47 
       
    48 protected:
       
    49 
       
    50     TBool iIsOpened;
       
    51 
       
    52     CEapMsChapV2UiConnection * iUiConn;
       
    53 
       
    54     RDbNamedDatabase iDatabase;
       
    55 
       
    56     RDbView iView;
       
    57 
       
    58     CDbColSet* iColSet;
       
    59 
       
    60     CEapMsChapV2UiMsChapV2Data * iDataPtr;
       
    61 
       
    62 private:
       
    63 
       
    64     void FetchDataL();
       
    65 };
       
    66 
       
    67 
       
    68 #endif