datasourcemodules/bluetoothgpspositioningmodule/btgpspsy/inc/Connecting/btgpsgetnextdevice.h
equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 // EGetNextDevice state in the PSY Connecting State Machine; should return |
|
15 // the next device from the BT GPS Configuration API |
|
16 // |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalTechnology |
|
23 */ |
|
24 |
|
25 #ifndef BTGPSGETNEXTDEVICE_H |
|
26 #define BTGPSGETNEXTDEVICE_H |
|
27 |
|
28 //Forward Declarations |
|
29 class MBTGPSConnectManagerExt; |
|
30 |
|
31 /** The Handler which handles getting the next device from the list |
|
32 of BT GPS devices. |
|
33 |
|
34 @internalTechnology |
|
35 */ |
|
36 class CBTGPSGetNextDevice : public CBase |
|
37 { |
|
38 public: |
|
39 static CBTGPSGetNextDevice* NewL(MBTGPSConnectManagerExt& aManagerExt); |
|
40 ~CBTGPSGetNextDevice(); |
|
41 |
|
42 private: |
|
43 CBTGPSGetNextDevice(MBTGPSConnectManagerExt& aManagerExt); |
|
44 void ConstructL(); |
|
45 |
|
46 static TInt HandlerCompleteCallback(TAny* aAny); |
|
47 void HandlerCompleteNotify(); |
|
48 |
|
49 private: |
|
50 //Manager Ext |
|
51 MBTGPSConnectManagerExt& iManagerExt; |
|
52 |
|
53 //Error code |
|
54 TInt iError; |
|
55 |
|
56 //Complete Idle object |
|
57 CIdle* iIdle; |
|
58 }; |
|
59 |
|
60 #endif //BTGPSGETNEXTDEVICE_H |