equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2006-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file ctlbsx3pdummyao.h |
|
22 */ |
|
23 #if (!defined __CTLBSX3PDUMMYAO_H__) |
|
24 #define __CTLBSX3PDUMMYAO_H__ |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <lbs.h> |
|
28 //#include <lbsx3p.h> |
|
29 |
|
30 |
|
31 _LIT(KCT_LbsX3PDummyAO, "CT_LbsX3PDummyAO"); |
|
32 |
|
33 |
|
34 // Async callbacks |
|
35 class MT_LbsX3PDummyObserver |
|
36 { |
|
37 public: |
|
38 virtual void MT_LbsX3PDummyCallbackHandler(TRequestStatus& aStatus) = 0; // do we need the aStatus... |
|
39 }; |
|
40 |
|
41 |
|
42 class CT_LbsX3PDummyAO: public CActive |
|
43 { |
|
44 public: |
|
45 ~CT_LbsX3PDummyAO(); |
|
46 static CT_LbsX3PDummyAO* NewL(MT_LbsX3PDummyObserver* aObserver); |
|
47 |
|
48 |
|
49 protected: |
|
50 // Functions from CActive: |
|
51 virtual void DoCancel(); |
|
52 virtual void RunL(); |
|
53 virtual TInt RunError(TInt aError); |
|
54 |
|
55 private: |
|
56 CT_LbsX3PDummyAO(MT_LbsX3PDummyObserver* aObserver); |
|
57 //void CT_LbsX3PDoTransmitPos::ConstructL(); |
|
58 |
|
59 // caller |
|
60 MT_LbsX3PDummyObserver* iObserver; |
|
61 |
|
62 }; |
|
63 |
|
64 #endif // __CTLBSX3PDUMMYAO_H__ |