connectivitymodules/SeCon/plugins/ftp/inc/sconservicetimer.h
branchRCL_3
changeset 20 4a793f564d72
parent 0 d0791faffa3f
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  File Transfer Profile Plug-in Service Timer Header file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _SCONSERVICETIMER_H
       
    20 #define _SCONSERVICETIMER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class CSConFTPplugin;
       
    25 
       
    26 
       
    27 //============================================================
       
    28 // Class CSConServiceTimer declaration
       
    29 //============================================================
       
    30 
       
    31 NONSHARABLE_CLASS ( CSConServiceTimer ) : public CActive
       
    32 	{
       
    33 	public:
       
    34 		CSConServiceTimer( CSConFTPplugin* aEngine, TInt aValue );
       
    35 		void ConstructL();
       
    36 		~CSConServiceTimer();
       
    37 		
       
    38 		/**
       
    39 	 	* Starts the timer
       
    40 		* @return none
       
    41 	 	*/
       
    42 		void StartTimer();
       
    43 		/**
       
    44 		 * Stops the timer
       
    45 		 * @return none
       
    46 		 */
       
    47 		void StopTimer();
       
    48 	
       
    49 	private:
       
    50 		void DoCancel();
       
    51 		void RunL();
       
    52 		
       
    53 	private:
       
    54 		RTimer 				iTimer;
       
    55 		CSConFTPplugin* 	iEngine;
       
    56 		TInt 				iValue;
       
    57 	};
       
    58 	
       
    59 #endif //_SCONSERVICETIMER_H
       
    60 
       
    61 // End of file