locationmanager/ReverseGeocode/inc/connectiontimerhandler.h
branchRCL_3
changeset 57 2872ae438bf7
parent 53 29d87345eaeb
child 63 e538444823de
--- a/locationmanager/ReverseGeocode/inc/connectiontimerhandler.h	Tue Sep 14 22:10:25 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,92 +0,0 @@
-/*
-* Copyright (c) 2009 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:	Handle connection close
-*
-*/
-
-#ifndef __CONNECTIONTIMERHANDLER_H__
-#define __CONNECTIONTIMERHANDLER_H__
-
-
-// INCLUDES
-#include <e32std.h>
-#include <e32base.h>
-
-class MConnectionTimeoutHandlerInterface
-    {
-    public:
-		
-	/**
-	  * Handles the timedout event
-	  * @param  aErrorCode  the errcode for time out
-	  */
-    virtual void HandleTimedoutEvent(TInt aErrorCode) = 0;
-    };
-
-class CConnectionTimerHandler : public CTimer
-{
-    
-public:
-
-	/**
-	  * @param aConnectionTimeoutHandlerInterface the interace class that handles the timeout events
-	  */	
-     static CConnectionTimerHandler* NewL(MConnectionTimeoutHandlerInterface& aConnectionTimeoutHandlerInterface); 
-
-	/**
-	  * Destructor
-	  */
-     ~CConnectionTimerHandler();
-
-	/**
-	  * starts a timer
-	  * @param aTimeoutVal the time after which the timer will expire
-	  */	
-     void StartTimer(const TInt aTimeoutVal);
-
-     
-protected:
-
-	/**
-	  * RunL
-	  * from CActive
-	  */	
-      void RunL();
-      
- private:
-
-	/**
-	  * Second phase construction
-	  */	
-      void ConstructL();
-
-	/**
-	  * @param aConnectionTimeoutHandlerInterface the interace class that handles the timeout events
-	  */	
-      CConnectionTimerHandler(MConnectionTimeoutHandlerInterface& aConnectionTimeoutHandlerInterface);
-      
-
-
-private:      
-
-	/**
-	  * An instance of the interace class that handles the timeout events
-	  */	
-      MConnectionTimeoutHandlerInterface& iConnectionTimeoutHandlerInterface;
-};
-
-
-#endif /*__CONNECTIONTIMERHANDLER_H__*/
-
-// End of file