os/ossrv/genericopenlibs/openenvcore/backend/inc/ShutDown.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2006-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 "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 * Name        : shutdown.h
    16 * Part of     : stdio server
    17 * To implement the timer for transient server
    18 * 
    19 *
    20 */
    21 
    22 
    23 
    24 
    25 #ifndef _SHUTDOWN_H_
    26 #define _SHUTDOWN_H_
    27 
    28 #include <e32base.h>//CTimer
    29 
    30 //-----------------------------------------------------------------------
    31 //Class name: 	CShutDown
    32 //Description: 	Class to Implement the Timer so that stdio server can be 
    33 //			    implemented as Transient Server. This class provides the API for
    34 //			    the server to implement itself as Transient.
    35 //-----------------------------------------------------------------------
    36 
    37 class CShutDown : public CTimer
    38 	{
    39 public:
    40 	static CShutDown* NewL();
    41 	void ConstructL();
    42 	void Start();
    43 	
    44 private:
    45 	CShutDown();
    46 	void RunL();
    47 	};
    48 	
    49 #endif //_SHUTDOWN_H_
    50