32
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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 |
* Description:
|
|
13 |
* This class contains definition of MFlexTimerWakeUpTimerCB
|
|
14 |
*
|
|
15 |
*/
|
|
16 |
|
|
17 |
// Protection against nested includes
|
|
18 |
#ifndef MFLEXTIMERWAKEUPTIMERCB_H
|
|
19 |
#define MFLEXTIMERWAKEUPTIMERCB_H
|
|
20 |
|
|
21 |
// Class declaration
|
|
22 |
/**
|
|
23 |
* Callback functions for FlexTimer engine wake up timers. If a client
|
|
24 |
* wants to receive indicaitions from wake-up timer, it need to inherit
|
|
25 |
* this interface and implement the callback methods.
|
|
26 |
*/
|
|
27 |
class MFlexTimerWakeUpTimerCB
|
|
28 |
{
|
|
29 |
public:
|
|
30 |
|
|
31 |
/**
|
|
32 |
* This function is used to inform about timer expiry.
|
|
33 |
*/
|
|
34 |
virtual void WakeUp() = 0;
|
|
35 |
|
|
36 |
/** Pure virtual functions*/
|
|
37 |
/**
|
|
38 |
* This function is used to inform about system time change.
|
|
39 |
*/
|
|
40 |
virtual void SystemTimeChanged() = 0;
|
|
41 |
};
|
|
42 |
|
|
43 |
#endif //MFLEXTIMERWAKEUPTIMERCB_H
|