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