xdmprotocols/src/XdmShutdownTimer.cpp
branchRCL_3
changeset 17 2669f8761a99
parent 16 2580314736af
child 18 fbd2e7cec7ef
--- a/xdmprotocols/src/XdmShutdownTimer.cpp	Thu Aug 19 10:19:02 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,78 +0,0 @@
-/*
-* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  CXdmShutdownTimer
-*
-*/
-
-
-
-#include <e32base.h>
-#include "XcapProtocol.h"
-#include "XdmShutdownTimer.h"
-#include "XdmShutdownSwitch.h"
-
-// ----------------------------------------------------
-// CXdmShutdownTimer::CXdmShutdownTimer
-// 
-// ----------------------------------------------------
-//
-CXdmShutdownTimer::CXdmShutdownTimer( CXcapProtocol& aXcapProtocol,
-                                      MXdmShutdownSwitch* aShutdownSwitch ) :
-                                      CTimer( -1 ),
-                                      iXcapProtocol( aXcapProtocol ),
-                                      iShutdownSwitch( aShutdownSwitch )
-	{
-	}
-
-// ----------------------------------------------------
-// CXdmShutdownTimer::ConstructL
-// 
-// ----------------------------------------------------
-//	
-void CXdmShutdownTimer::ConstructL()
-	{
-	#ifdef _DEBUG
-        iXcapProtocol.WriteToLog( _L8( "CXdmShutdownTimer::ConstructL()" ) );
-    #endif
-	CTimer::ConstructL();
-	CActiveScheduler::Add( this );
-	}
-
-// ----------------------------------------------------
-// CXdmShutdownTimer::Start
-// 
-// ----------------------------------------------------
-//
-void CXdmShutdownTimer::Start( const TTimeIntervalMicroSeconds32 aShutdownDelay )
-	{
-	#ifdef _DEBUG
-        iXcapProtocol.WriteToLog( _L8( "CXdmShutdownTimer::Start()" ) );
-    #endif
-	After( aShutdownDelay );
-	}
-
-// ----------------------------------------------------
-// CXdmShutdownTimer::RunL
-// 
-// ----------------------------------------------------
-//	
-void CXdmShutdownTimer::RunL()
-	{
-	#ifdef _DEBUG
-        iXcapProtocol.WriteToLog( _L8( "CXdmShutdownTimer::RunL() - Close transfer media" ) );
-    #endif
-	iShutdownSwitch->SwitchOff();
-	}
-
-