equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // @file ctlbsasyncwaiter.h |
|
15 // This is the header file for CT_LbsAsyncWaiter |
|
16 // |
|
17 // |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 @test |
|
25 */ |
|
26 |
|
27 #ifndef __CT_LBS_ASYNC_WAITER_H__ |
|
28 #define __CT_LBS_ASYNC_WAITER_H__ |
|
29 |
|
30 //epoc includes |
|
31 #include <e32base.h> |
|
32 |
|
33 // Implements functions related to active objects |
|
34 class CT_LbsAsyncWaiter : public CActive |
|
35 { |
|
36 public: |
|
37 IMPORT_C static CT_LbsAsyncWaiter* NewL(); |
|
38 ~CT_LbsAsyncWaiter(); |
|
39 |
|
40 IMPORT_C void StartAndWait(); |
|
41 IMPORT_C TInt Result() const; |
|
42 |
|
43 private: |
|
44 CT_LbsAsyncWaiter(); |
|
45 // from CActive |
|
46 virtual void RunL(); |
|
47 virtual void DoCancel(); |
|
48 |
|
49 private: |
|
50 TInt iError; |
|
51 }; |
|
52 |
|
53 #endif // __CT_LBS_ASYNC_WAITER_H__ |