examples/Base/IPC/AdvancedClientServerExample/common/inc/shutdownserver.h

00001 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 #include <e32base.h>
00017 #include <e32std.h>
00018 
00022 class CDelayServerShutDown : public CActive
00023     {
00024 public:
00025     // Construct/destruct
00026     static CDelayServerShutDown* NewL();
00027     ~CDelayServerShutDown(); 
00028     // Set time delay
00029     void SetDelay(TTimeIntervalMicroSeconds32 aDelay);   
00030 private:
00031     // Construct/destruct
00032     CDelayServerShutDown();
00033     void ConstructL();
00034 
00035     // From CActive
00036     void RunL();
00037     void DoCancel();   
00038 private:
00040     RTimer iShutDownTimer;     
00041     };
00042 
00043  //EOF

Generated by  doxygen 1.6.2