debugsrv/runmodedebug/securityserver/inc/c_shutdown_timer.h
author hgs
Fri, 27 Aug 2010 11:37:29 +0300
changeset 42 0ff24a8f6ca2
child 56 aa2539c91954
permissions -rw-r--r--
201033

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Definitions for the security server's shutdown timer.
// 
//

#ifndef C_SHUTDOWN_TIMER_H
#define C_SHUTDOWN_TIMER_H

/**
@file
@internalTechnology
@released
*/

#include <e32base.h>

const TInt KShutdownDelay = 5000000; // approx 5 seconds
const TInt KActivePriorityShutdown = -1; // priority for shutdown AO

/**
Timer class used to manage shutdown of the DSS
*/
class CShutdownTimer : public CTimer
	{
public:
	CShutdownTimer();
	void ConstructL();
	void Start();
private:
	void RunL();
	};

#endif // C_SHUTDOWN_TIMER_H