bluetooth/btstack/inc/btsockettimer.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef _BTSOCKETTIMER_H
       
    17 #define _BTSOCKETTIMER_H
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 #include "bt.h"
       
    22 // provided when ESOCK removes its provision of this service
       
    23 
       
    24 class BTSocketTimer
       
    25 	{
       
    26 	enum Consts
       
    27 		{
       
    28 		KTimerGranularity = 15500,
       
    29 		KTimerPriority = 50,
       
    30 		};
       
    31 
       
    32 	public:
       
    33 		static void InitL();
       
    34 		static void Close();
       
    35 
       
    36 		static void Queue(TTimeIntervalMicroSeconds32 aTimeInMicroSeconds,TDeltaTimerEntry& aTimer);
       
    37 		static void Remove(TDeltaTimerEntry& aTimer);
       
    38 	};
       
    39 
       
    40 #endif //_BTSOCKETTIMER_H