commonappservices/alarmserver/ConsoleAlarmAlertServer/Include/ConsoleAlarmAlertLEDFlasher.h
equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 1999-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CONSOLEALARMALERTLEDFLASHER_H__ |
|
21 #define __CONSOLEALARMALERTLEDFLASHER_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 class CConsoleAlarmAlertLEDFlasher : public CTimer |
|
26 { |
|
27 public: |
|
28 static CConsoleAlarmAlertLEDFlasher* NewL(); |
|
29 |
|
30 private: |
|
31 CConsoleAlarmAlertLEDFlasher(); |
|
32 |
|
33 public: |
|
34 TInt Start(); |
|
35 void Stop(); |
|
36 |
|
37 private: // from CActive |
|
38 void RunL(); |
|
39 |
|
40 private: |
|
41 TInt SetRedLedOn(TBool aOn); |
|
42 |
|
43 private: |
|
44 TBool iLedOn; |
|
45 }; |
|
46 |
|
47 #endif |