|
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 // LBS Bluetooth GPS Configuration API: Internal version |
|
15 // |
|
16 |
|
17 |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalTechnology |
|
22 */ |
|
23 |
|
24 #ifndef LBS_BTGPSCONFIGINTERNAL_H |
|
25 #define LBS_BTGPSCONFIGINTERNAL_H |
|
26 |
|
27 #include <lbs/lbsbtgpsconfig.h> |
|
28 |
|
29 class TLbsBtGpsDeviceRecord; |
|
30 |
|
31 /** LBS Bluetooth GPS Configuration API: Internal version |
|
32 |
|
33 This is an internal version of the LBS Bluetooth GPS Configuration API for use by LBS |
|
34 internal components. It allows extra functionality which external clients should not |
|
35 have access to. |
|
36 |
|
37 @see CLbsBtGpsConfig |
|
38 |
|
39 @internalTechnology |
|
40 */ |
|
41 NONSHARABLE_CLASS(CLbsBtGpsConfigInternal) : public CLbsBtGpsConfig |
|
42 { |
|
43 public: |
|
44 |
|
45 IMPORT_C static CLbsBtGpsConfigInternal* NewL(); |
|
46 IMPORT_C static CLbsBtGpsConfigInternal* NewL(MLbsBtGpsConfigObserver& aObserver); |
|
47 IMPORT_C virtual ~CLbsBtGpsConfigInternal(); |
|
48 |
|
49 public: |
|
50 |
|
51 IMPORT_C TInt UpdateDevice(const TLbsBtGpsDeviceRecord& aDeviceRecord); |
|
52 IMPORT_C void GetDeviceRecordListL(RPointerArray<TLbsBtGpsDeviceRecord>& aRecordList); |
|
53 |
|
54 protected: |
|
55 |
|
56 CLbsBtGpsConfigInternal(); |
|
57 void ConstructL(MLbsBtGpsConfigObserver* aObserver); |
|
58 |
|
59 private: |
|
60 |
|
61 /** Prohibit copy constructor */ |
|
62 CLbsBtGpsConfigInternal(const CLbsBtGpsConfigInternal&); |
|
63 /** Prohibit assigment operator */ |
|
64 CLbsBtGpsConfigInternal& operator= (const CLbsBtGpsConfigInternal&); |
|
65 |
|
66 }; |
|
67 |
|
68 #endif //LBS_BTGPSCONFIGINTERNAL_H |