messagingfw/sendas/server/inc/csendasservertimer.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 2004-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 "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 //
       
    15 
       
    16 #ifndef __CSENDASSERVERTIMER_H__
       
    17 #define __CSENDASSERVERTIMER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 /**
       
    22 Utility class for the sendas server to shut down after a period with no open
       
    23 sessions.
       
    24 
       
    25 @internalComponent
       
    26 @released
       
    27 */
       
    28 class CSendAsServerTimer : public CTimer
       
    29 	{
       
    30 public:
       
    31 	static CSendAsServerTimer *NewL();
       
    32 private:	// from CTimer
       
    33 	virtual void RunL();
       
    34 private:
       
    35 	CSendAsServerTimer();
       
    36 	};
       
    37 
       
    38 #endif	// __CSENDASSERVERTIMER_H__