hotspotfw/internetconnectivitytestservice/inc/ictsasyncwait.h
changeset 0 56b72877c1cb
equal deleted inserted replaced
-1:000000000000 0:56b72877c1cb
       
     1 /*
       
     2 * Copyright (c) 2007 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 "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:   Asynchronic waiting possibility
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __ICTSASYNCWAIT_H__
       
    22 #define __ICTSASYNCWAIT_H__
       
    23 
       
    24 /**
       
    25  * CIctsAsyncWait class
       
    26  */
       
    27  
       
    28 class CIctsAsyncWait : public CActive
       
    29     {
       
    30     public: 
       
    31 
       
    32         /**
       
    33         * C++ default constructor.
       
    34         */
       
    35         CIctsAsyncWait();
       
    36         
       
    37         /**
       
    38         * Destructor.
       
    39         */    
       
    40         ~CIctsAsyncWait() ;
       
    41 
       
    42     public: 
       
    43 
       
    44         /**
       
    45         * Nested scheduler loop
       
    46         */
       
    47         void Wait() ;
       
    48 
       
    49     private: // CActive
       
    50 
       
    51         void RunL();
       
    52         void DoCancel();
       
    53 
       
    54 
       
    55     private: // data
       
    56 
       
    57         CActiveSchedulerWait iActiveWait ; // nested loop for active scheduler
       
    58 } ;
       
    59 
       
    60 #endif // __ICTSASYNCWAIT_H__