diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/shutdownserver_8h_source.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/shutdownserver_8h_source.html Tue Mar 30 16:16:55 2010 +0100 @@ -0,0 +1,55 @@ + + +
+ +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 +