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