eapol/eapol_framework/eapol_symbian/am/include/eap_am_async_wait_symbian.h
changeset 0 c8830336c852
child 2 1c7bc153c08e
equal deleted inserted replaced
-1:000000000000 0:c8830336c852
       
     1 /*
       
     2 * Copyright (c) 2008 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 _EAP_AM_ASYNC_WAIT_SYMBIAN_H_
       
    20 #define _EAP_AM_ASYNC_WAIT_SYMBIAN_H_
       
    21 
       
    22 
       
    23 /**
       
    24  * eap_am_async_wait_symbian_c class
       
    25  */
       
    26  
       
    27 class eap_am_async_wait_symbian_c : public CActive
       
    28     {
       
    29     public: 
       
    30 
       
    31         /**
       
    32         * C++ default constructor.
       
    33         */
       
    34         eap_am_async_wait_symbian_c();
       
    35         
       
    36         /**
       
    37         * Destructor.
       
    38         */    
       
    39         ~eap_am_async_wait_symbian_c() ;
       
    40 
       
    41     public: 
       
    42 
       
    43         /**
       
    44         * Nested scheduler loop
       
    45         */
       
    46         void Wait() ;
       
    47 
       
    48     private: // CActive
       
    49 
       
    50         void RunL();
       
    51         void DoCancel();
       
    52 
       
    53 
       
    54     private: // data
       
    55 
       
    56         CActiveSchedulerWait iActiveWait ; // nested loop for active scheduler
       
    57 } ;
       
    58 
       
    59 #endif // _EAP_AM_ASYNC_WAIT_SYMBIAN_H_