wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlantimerservices.h
branchRCL_3
changeset 3 6524e815f76f
parent 0 c40eb8fe8501
child 9 08907e19c36b
equal deleted inserted replaced
0:c40eb8fe8501 3:6524e815f76f
    14 * Description:  This class implements timer service with callback functionality.
    14 * Description:  This class implements timer service with callback functionality.
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 /*
    18 /*
    19 * %version: 3 %
    19 * %version: 4 %
    20 */
    20 */
    21 
    21 
    22 #ifndef WLANTIMERSERVICES_H
    22 #ifndef WLANTIMERSERVICES_H
    23 #define WLANTIMERSERVICES_H
    23 #define WLANTIMERSERVICES_H
    24 
    24 
    25 #include <e32base.h>
    25 #include <e32base.h>
    26 #include <e32std.h>
    26 #include <e32std.h>
    27 #include <e32cmn.h>
    27 #include <e32cmn.h>
    28 
    28 
    29 
    29 #include "wlantimerserviceinterface.h"
    30 /**
       
    31  * Callback interface
       
    32  */
       
    33 class MWlanTimerServiceCallback
       
    34     {
       
    35     public:
       
    36     
       
    37         /**
       
    38          * Timeout has occurred.
       
    39          */
       
    40         virtual void OnTimeout() = 0;
       
    41 
       
    42     };
       
    43 
    30 
    44 class CTimeoutRequestEntry : public CBase
    31 class CTimeoutRequestEntry : public CBase
    45     {
    32     {
    46 public:
    33 public:
    47     CTimeoutRequestEntry::CTimeoutRequestEntry(
    34     CTimeoutRequestEntry::CTimeoutRequestEntry(
    85 /**
    72 /**
    86  * Class providing timer services.
    73  * Class providing timer services.
    87  *
    74  *
    88  * @since S60 v5.2
    75  * @since S60 v5.2
    89  */
    76  */
    90 NONSHARABLE_CLASS( CWlanTimerServices ) : public CActive
    77 NONSHARABLE_CLASS( CWlanTimerServices ) : public CActive, public MWlanTimerServices
    91     {
    78     {
    92 public: // Constructors and destructor
    79 public: // Constructors and destructor
    93 
    80 
    94     /**
    81     /**
    95      * Static constructor.
    82      * Static constructor.