debugsrv/runmodedebug/securityserver/inc/c_shutdown_timer.h
branchRCL_3
changeset 20 ca8a1b6995f6
equal deleted inserted replaced
19:07b41fa8d1dd 20:ca8a1b6995f6
       
     1 // Copyright (c) 2007-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 the License "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 // Definitions for the security server's shutdown timer.
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef C_SHUTDOWN_TIMER_H
       
    19 #define C_SHUTDOWN_TIMER_H
       
    20 
       
    21 /**
       
    22 @file
       
    23 @internalTechnology
       
    24 @released
       
    25 */
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 const TInt KShutdownDelay = 5000000; // approx 5 seconds
       
    30 const TInt KActivePriorityShutdown = -1; // priority for shutdown AO
       
    31 
       
    32 /**
       
    33 Timer class used to manage shutdown of the DSS
       
    34 */
       
    35 class CShutdownTimer : public CTimer
       
    36 	{
       
    37 public:
       
    38 	CShutdownTimer();
       
    39 	void ConstructL();
       
    40 	void Start();
       
    41 private:
       
    42 	void RunL();
       
    43 	};
       
    44 
       
    45 #endif // C_SHUTDOWN_TIMER_H
       
    46