author | Billy Gibson <Billy.Gibson@nokia.com> |
Fri, 09 Apr 2010 17:19:12 +0100 | |
branch | GeoConversion |
changeset 16 | 90477588756a |
permissions | -rw-r--r-- |
16
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
1 |
/* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
2 |
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
3 |
* All rights reserved. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
8 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
11 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
12 |
* Contributors: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
13 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
14 |
* Description: Location information converter plug in API |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
15 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
16 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
17 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
18 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
19 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
20 |
* @file |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
21 |
* @publishedPartner |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
22 |
* @prototype |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
23 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
24 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
25 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
26 |
#ifndef LBS_LOC_INFO_CONVERSION_PLUGIN_BASE_H |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
27 |
#define LBS_LOC_INFO_CONVERSION_PLUGIN_BASE_H |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
28 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
29 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
30 |
// System wide |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
31 |
#include <e32base.h> |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
32 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
33 |
// Common LBS data types |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
34 |
#include <lbs/lbslocationinfo.h> |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
35 |
#include <lbs/lbslocationinfoconvertercommon.h> |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
36 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
37 |
// Component specific |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
38 |
#include <lbs/lbslocinfoconverterplugincommon.h> |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
39 |
#include <lbs/lbslocinfoconverterpluginclasstypes.h> |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
40 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
41 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
42 |
class TLbsLocInfoConverterPluginParams; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
43 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
44 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
45 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
46 |
* The MLbsLocInfoConverterPluginObserver class is used in partnership with |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
47 |
* CLbsLocInfoConverterPluginBase. The observer interface is used by a |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
48 |
* conversion plugin to inform LBS when a coordinate conversion process |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
49 |
* initiated through the CLbsLocInfoConverterPluginBase class is completed. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
50 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
51 |
* Although all the interface methods in the MLbsLocInfoConverterPluginObserver |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
52 |
* class are synchronous, the LBS subsystem ensures they return quickly. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
53 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
54 |
class MLbsLocInfoConverterPluginObserver |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
55 |
{ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
56 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
57 |
public: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
58 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
59 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
60 |
* Gets the current version of the observer interface. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
61 |
* Derived classes should not change the implementation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
62 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
63 |
* @return Version number (currently 1.0.0) |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
64 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
65 |
IMPORT_C virtual TVersion Version() const; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
66 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
67 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
68 |
* The callback is used by the conversion plugin to inform the LBS |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
69 |
* subsystem that a validation request initiated through the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
70 |
* CLbsLocInfoConverterPluginBase::ValidateClient method is completed. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
71 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
72 |
* @param aStatusCode Result of the validation operation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
73 |
* KErrNone if the access is granted. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
74 |
* KErrPermissionDenied due to a potential security violation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
75 |
* Other system wide error codes. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
76 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
77 |
IMPORT_C virtual void OnValidationComplete( TInt aStatusCode ) = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
78 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
79 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
80 |
* The callback is used by the conversion plugin to inform the LBS |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
81 |
* subsystem that a coordinate conversion process initiated through the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
82 |
* CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
83 |
* completed. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
84 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
85 |
* Receiving the callback indicates that, unless the conversion was not |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
86 |
* successful, the location data structures passed through the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
87 |
* CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method have been |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
88 |
* updated with the requested information. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
89 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
90 |
* @param aStatusCode Result of the conversion operation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
91 |
* KErrNone if at least one conversion have been successful and |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
92 |
* the related location data structure(s) passed through the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
93 |
* CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
94 |
* have been updated with the requested information; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
95 |
* KErrKErrNotFound if none of conversions have been successful |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
96 |
* Or other system wide error code otherwise. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
97 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
98 |
IMPORT_C virtual void OnConversionComplete( TInt aStatusCode ) = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
99 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
100 |
private: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
101 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
102 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
103 |
* This methods is reserved for future expansion and should not be used or |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
104 |
* implemented by derived classes. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
105 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
106 |
IMPORT_C virtual TAny* ExtendedInterface( TInt aFunctionNumber, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
107 |
TAny* aPtr1, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
108 |
TAny* aPtr2 ); |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
109 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
110 |
}; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
111 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
112 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
113 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
114 |
* The CLbsLocInfoConverterPluginBase is the abstract Ecom interface to a |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
115 |
* coordinate conversion Plugin. All coordinate conversion Plugins must derive |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
116 |
* from and implement this interface. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
117 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
118 |
* The interface is used in partnership with MLbsLocInfoConverterPluginObserver |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
119 |
* and is used by the LBS subsystem to request conversion of location |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
120 |
* information between different formats. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
121 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
122 |
* Completion of conversions must be indicated by a plugin by invoking |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
123 |
* callback(s) defined by the MLbsLocInfoConverterPluginObserver class. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
124 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
125 |
* Although all the interface methods in the class are synchronous they must |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
126 |
* return immediately. When the LBS subsystem makes a request via |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
127 |
* CLbsLocInfoConverterPluginBase the Plugin must queue the request internally |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
128 |
* and return control to the caller immediately. Later on, when plugin provides |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
129 |
* a response, it uses the corresponding notification method in the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
130 |
* MLbsLocInfoConverterPluginObserver class. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
131 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
132 |
class CLbsLocInfoConverterPluginBase : public CBase |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
133 |
{ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
134 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
135 |
public: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
136 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
137 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
138 |
* Loads a coordinate conversion Plugin and initalises it. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
139 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
140 |
* @param[in] aImplementationUid An implementation Uid of the module to be |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
141 |
* loaded. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
142 |
* @param[in] aParams Arguments sent to conversion plugin. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
143 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
144 |
* @return Pointer to the new coordinate conversion plugin. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
145 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
146 |
IMPORT_C static CLbsLocInfoConverterPluginBase* NewL( |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
147 |
TUid aImplementationUid, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
148 |
TLbsLocInfoConverterPluginParams& aParams ); |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
149 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
150 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
151 |
* Destructor |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
152 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
153 |
IMPORT_C virtual ~CLbsLocInfoConverterPluginBase(); |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
154 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
155 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
156 |
* Gets the current version of the interface implemented by a Plugin. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
157 |
* Derived classes should not change the implementation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
158 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
159 |
* @return Version number (currently 1.0.0) |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
160 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
161 |
IMPORT_C virtual TVersion Version() const; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
162 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
163 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
164 |
* Validates a client before a request is processed. This method is called |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
165 |
* by the Location Monitor Server, everytime, before a conversion request is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
166 |
* sent. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
167 |
* The result of validation is indicated by the plugin by invoking the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
168 |
* MLbsLocInfoConverterPluginObserver::OnValidationComplete callback. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
169 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
170 |
* @param[in] aSecureId The secure ID of the client application/process |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
171 |
* @param[in] aVendorId The vendor ID of the client application/process |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
172 |
* @param{in] aRequestedInfo The requested converted information. This |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
173 |
* bit field would be checked by the plugin to determine if the specified |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
174 |
* conversion can be supported for the requesting client. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
175 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
176 |
IMPORT_C virtual void ValidateClient( const TSecureId& aSecureId, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
177 |
const TVendorId& aVendorId, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
178 |
const TLbsConversionOutputInfoMask aRequestedInfo) = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
179 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
180 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
181 |
* Cancels an ongoing validation operation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
182 |
* If there is no ongoing validation operation, the cancellation request |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
183 |
* is ignored. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
184 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
185 |
* The MLbsLocInfoConverterPluginObserver::OnValidationComplete callback is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
186 |
* not invoked. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
187 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
188 |
IMPORT_C virtual void CancelValidateClient() = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
189 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
190 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
191 |
* Converts multiple location information. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
192 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
193 |
* Completion of the conversion is indicated by a Plugin by invoking the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
194 |
* MLbsLocInfoConverterPluginObserver::OnConversionComplete callback |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
195 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
196 |
* @param[in] aLocationInfo An array of location information for which |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
197 |
* corresponding position information is expected. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
198 |
* @param[in] aConversionPrefs Conversion preferences suggested by client |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
199 |
* @param[in] aRequestedInfo Location information that is requested. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
200 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
201 |
* @leave KErrNoMemory if there is not enough memory available to perform |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
202 |
* the conversion. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
203 |
* KErrArgument If the location info pointer is NULL. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
204 |
* KErrNotSupported if the conversion type specified by aRequestedInfo is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
205 |
* not supported. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
206 |
* Or any other system wide error code. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
207 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
208 |
IMPORT_C virtual void ConvertLocationInfoL( |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
209 |
RLbsLocationInfoArray& aLocationInfoArray, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
210 |
const TLbsConversionPrefs aConversionPrefs, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
211 |
const TLbsConversionOutputInfoMask aRequestedInfo ) = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
212 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
213 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
214 |
* Cancels an ongoing conversion operation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
215 |
* If there is no ongoing conversion the cancellation request is ignored. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
216 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
217 |
* The MLbsLocInfoConverterPluginObserver::OnConversionComplete callback is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
218 |
* not invoked. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
219 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
220 |
IMPORT_C virtual void CancelConvertLocationInfo() = 0; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
221 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
222 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
223 |
* This method is reserved for future expansion and should not be used |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
224 |
* or implemented by derived classes. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
225 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
226 |
IMPORT_C virtual TAny* ExtendedInterface( TInt aFunctionNumber, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
227 |
TAny* aPtr1, |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
228 |
TAny* aPtr2 ); |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
229 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
230 |
private: // data |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
231 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
232 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
233 |
* Instance identifier key. When instance of an implementation is |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
234 |
* created by ECOM framework, the framework will assign UID |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
235 |
* for it. The UID is used in destructor to notify framework that |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
236 |
* this instance is being destroyed and resources can be released. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
237 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
238 |
TUid iDtor_ID_Key; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
239 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
240 |
}; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
241 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
242 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
243 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
244 |
* This class encapsulates the construction parameters for a Coordinate |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
245 |
* Conversion plugin. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
246 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
247 |
* These parameters are passed by the LBS subsystem to the implementation |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
248 |
* of the Plugin module via ECom. The ECom constructor |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
249 |
* should take a single TAny* parameter. That parameter should be cast to |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
250 |
* a variable of type TLbsLocInfoConverterPluginParams. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
251 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
252 |
* @see CLbsLocInfoConverterPluginBase::NewL |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
253 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
254 |
class TLbsLocInfoConverterPluginParams : public TLbsLocInfoConverterPluginClassTypeBase |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
255 |
{ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
256 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
257 |
public: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
258 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
259 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
260 |
* This class encapsulates the construction parameters for a Coordinate |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
261 |
* Conversion plugin implementation. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
262 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
263 |
* When created, the LBS subsystem must provide a reference to the |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
264 |
* plugin's observer. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
265 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
266 |
* @see MLbsLocInfoConverterPluginObserver |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
267 |
* @see CLbsLocInfoConverterPluginBase::NewL |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
268 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
269 |
IMPORT_C TLbsLocInfoConverterPluginParams( |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
270 |
MLbsLocInfoConverterPluginObserver& aObserver ); |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
271 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
272 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
273 |
* Returns a reference to the observer. |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
274 |
* |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
275 |
* @see MLbsLocInfoConverterPluginObserver |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
276 |
* @see CLbsLocInfoConverterPluginBase::NewL |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
277 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
278 |
IMPORT_C MLbsLocInfoConverterPluginObserver& Observer() const; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
279 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
280 |
protected: |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
281 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
282 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
283 |
* Handle to the plugin observer |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
284 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
285 |
MLbsLocInfoConverterPluginObserver& iObserver; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
286 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
287 |
/** |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
288 |
* Reserved for future use |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
289 |
*/ |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
290 |
TUint8 iReserved[20]; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
291 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
292 |
}; |
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
293 |
|
90477588756a
Draft APIs for Converting Cell and/or WLAN information to a latitudes and longitude
Billy Gibson <Billy.Gibson@nokia.com>
parents:
diff
changeset
|
294 |
#endif // LBS_LOC_INFO_CONVERSION_PLUGIN_BASE_H |