localconnectivityservice/lcstylustap/inc/forcedismounttimer.h
changeset 18 6743bfee309e
parent 16 c3bac82c6ce0
child 21 23264c07fd05
child 22 582dd7b01c60
--- a/localconnectivityservice/lcstylustap/inc/forcedismounttimer.h	Mon May 03 13:21:36 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,97 +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:  Header file for Stylus Tap indicator
-*
-*/
-
-#ifndef C_FORCEDISMOUNTTIMER_H
-#define C_FORCEDISMOUNTTIMER_H
-
-#include <e32base.h>
-
-/**
- * Timer callback interface for force mount
- *
- * This class specifies the function to be called when a timeout occurs.
- * Used in conjunction with CTimeOutTimer class
- *  
- */    
-class MTimerNotifier
-    {
-public:
-    /**     
-     * The function to be called when a timeout occurs.
-     *     
-     */
-    virtual void TimerExpired() = 0;
-    };
-
-/**
- * Timer interface for force mount
- *
- * This class will notify an object after a specified timeout.
- * 
- */        
-class CForceDismountTimer : public CTimer
-    {
-public:
-    /**
-     * Two-phased constructor.     
-     * @param aTimeOutNotify object to notify of timeout event
-     */
-    static CForceDismountTimer* NewL( MTimerNotifier* aTimeOutNotify );
-
-    /**
-     * Two-phased constructor.     
-     * @param aTimeOutNotify object to notify of timeout event
-     */    
-    static CForceDismountTimer* NewLC( MTimerNotifier* aTimeOutNotify);
-
-    /**
-    * Destructor
-    */
-    virtual ~CForceDismountTimer();
-
-protected: 
-
-    /**
-     * From CTimer
-     * Invoked when a timeout occurs
-     *      
-     */
-    virtual void RunL();
-
-private:
-    /**
-     * Constructor.     
-     * @param aTimeOutNotify object to notify of timeout event
-     */    
-    CForceDismountTimer( MTimerNotifier* aTimeOutNotify );
-    
-    /**
-     *  Default constructor.          
-     */   
-    void ConstructL();
-
-private: // Member variables
-
-    /**
-     *  The observer for this objects events 
-     *  Not own.
-     */
-    MTimerNotifier* iNotify;
-    
-
-    };
-#endif // C_FORCEMOUNTTIMER_H