hotspotfw/hsserver/inc/hsslogouttimer.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:   Timer class for logout time
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef HSSLOGOUTTIMER_H
       
    21 #define HSSLOGOUTTIMER_H
       
    22 
       
    23 #include <e32base.h>
       
    24 
       
    25 class MHssLogoutTimerObserver;
       
    26 
       
    27 /**
       
    28  *  Timer for total time used for polling 
       
    29  *
       
    30  *  @lib ictsclientinterface.lib
       
    31  *  @since S60 5.0
       
    32  */
       
    33 class CHssLogoutTimer : public CTimer
       
    34     {
       
    35     
       
    36     public:
       
    37         
       
    38         /**
       
    39         * Static constructor.
       
    40         */    
       
    41         static CHssLogoutTimer* NewL( MHssLogoutTimerObserver& aObserver );
       
    42     
       
    43         /**
       
    44         * Destructor.
       
    45         */
       
    46         virtual ~CHssLogoutTimer();
       
    47     
       
    48         // from CTimer
       
    49 
       
    50         /**
       
    51         * Timer expired
       
    52         */
       
    53         void RunL();
       
    54     
       
    55     private:
       
    56     
       
    57         /**
       
    58         * C++ default constructor.
       
    59         */
       
    60         CHssLogoutTimer( MHssLogoutTimerObserver& aObserver );
       
    61 
       
    62         /**
       
    63         * By default Symbian 2nd phase constructor is private.
       
    64         */
       
    65         void ConstructL();
       
    66                  
       
    67     private: // data
       
    68 
       
    69         /**
       
    70         * Reference of client using timer 
       
    71         * Not own.  
       
    72         */
       
    73         MHssLogoutTimerObserver& iObserver;
       
    74     
       
    75     };
       
    76 
       
    77 #endif // HSSLOGOUTTIMER_H