buildverification/smoketest/Timew/ConsoleAlarmAlertServer/Include/ConsoleAlarmAlertLEDFlasher.h
changeset 0 9736f095102e
equal deleted inserted replaced
-1:000000000000 0:9736f095102e
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CONSOLEALARMALERTLEDFLASHER_H__
       
    17 #define __CONSOLEALARMALERTLEDFLASHER_H__
       
    18 
       
    19 // System includes
       
    20 #include <e32base.h>
       
    21 
       
    22 // User includes
       
    23 
       
    24 // Type definitions
       
    25 
       
    26 // Constants
       
    27 
       
    28 // Enumerations
       
    29 
       
    30 // Classes referenced
       
    31 
       
    32 
       
    33 //
       
    34 // ----> CConsoleAlarmAlertLEDFlasher (header)
       
    35 //
       
    36 class CConsoleAlarmAlertLEDFlasher : public CTimer
       
    37 	{
       
    38 //
       
    39 public:										// STATIC CONSTRUCT
       
    40 //
       
    41 	static CConsoleAlarmAlertLEDFlasher*	NewL();
       
    42 
       
    43 //
       
    44 private:									// INTERNAL CONSTRUCT
       
    45 //
       
    46 	CConsoleAlarmAlertLEDFlasher();
       
    47 
       
    48 //
       
    49 public:										// ACCESS
       
    50 //
       
    51 
       
    52 	TInt									Start();
       
    53 
       
    54 	void									Stop();
       
    55 
       
    56 //
       
    57 private:									// FROM CActive
       
    58 //
       
    59 
       
    60 	void									RunL();
       
    61 
       
    62 //
       
    63 private:									// INTERNAL
       
    64 //
       
    65 
       
    66 	TInt									SetRedLedOn(TBool aOn);
       
    67 
       
    68 //
       
    69 private:									// MEMBER DATA
       
    70 //
       
    71 
       
    72 	TBool									iLedOn;
       
    73 	};
       
    74 
       
    75 #endif