24
|
1 |
/**
|
|
2 |
* Copyright (c) 2010 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: CDiscoveryTestTimer class declaration
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef DISCOVERYTESTTIMER_H_
|
|
20 |
#define DISCOVERYTESTTIMER_H_
|
|
21 |
|
|
22 |
#include <e32base.h>
|
|
23 |
#include <e32std.h>
|
|
24 |
|
|
25 |
class CTmServerTest;
|
|
26 |
|
|
27 |
class CDiscoveryTestTimer:public CActive
|
|
28 |
{
|
|
29 |
public:
|
|
30 |
static CDiscoveryTestTimer* NewL(CTmServerTest& aTmServerTest);
|
|
31 |
~CDiscoveryTestTimer();
|
|
32 |
void AfterDiscovery(const TInt aDuration);
|
|
33 |
|
|
34 |
private:
|
|
35 |
CDiscoveryTestTimer(CTmServerTest& aTmServerTest);
|
|
36 |
|
|
37 |
private: // From CActive
|
|
38 |
void RunL();
|
|
39 |
void DoCancel();
|
|
40 |
|
|
41 |
private:
|
|
42 |
RTimer iDiscoveryTimer;
|
|
43 |
CTmServerTest& iTmServerTest;
|
|
44 |
};
|
|
45 |
|
|
46 |
#endif //DISCOVERYTESTTIMER_H_
|