rtsecuritymanager/rtsecuritymanagerserver/inc/rtsecmgrshutdown.inl
changeset 57 61b27eec6533
parent 45 7aa6007702af
equal deleted inserted replaced
45:7aa6007702af 57:61b27eec6533
     1 /*
       
     2 * Copyright (c) 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 the License "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 
       
    21 
       
    22 
       
    23 inline CShutDown::CShutDown() :
       
    24 	CTimer(-1)
       
    25 	{
       
    26 	CActiveScheduler::Add (this);
       
    27 	}
       
    28 inline void CShutDown::ConstructL()
       
    29 	{
       
    30 	CTimer::ConstructL ();
       
    31 	}
       
    32 inline void CShutDown::Start()
       
    33 	{
       
    34 	After (KShutDownDelay);
       
    35 	}
       
    36 
       
    37 inline CShutDown::~CShutDown()
       
    38 	{
       
    39 	}
       
    40 
       
    41 inline void CShutDown::RunL()
       
    42 	{
       
    43 	CActiveScheduler::Stop ();
       
    44 	CActiveScheduler::Install (NULL);
       
    45 	}