debugsrv/runmodedebug/securityserver/inc/c_shutdown_timer.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 22:05:40 +0300
changeset 45 185201be11b0
child 56 aa2539c91954
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// 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