equal
deleted
inserted
replaced
31 * |
31 * |
32 * @locationservice.lib dependency |
32 * @locationservice.lib dependency |
33 * @see MLocationCallBack in locationservice.h for details. |
33 * @see MLocationCallBack in locationservice.h for details. |
34 */ |
34 */ |
35 |
35 |
36 class LocationInterfaceCB : public MLocationCallBack |
36 class LocationInterfaceCB : public CBase , public MLocationCallBack |
37 { |
37 { |
38 private : |
38 private : |
39 MLiwNotifyCallback *iCallBack ; |
39 MLiwNotifyCallback *iCallBack ; |
40 CLiwGenericParamList *iOutParmList ; |
40 CLiwGenericParamList *iOutParmList ; |
41 CLiwGenericParamList *iInParmList ; |
41 CLiwGenericParamList *iInParmList ; |
117 /** |
117 /** |
118 * Function to get the type of request(Trace/GetLocation) associated with this async |
118 * Function to get the type of request(Trace/GetLocation) associated with this async |
119 * object, |
119 * object, |
120 */ |
120 */ |
121 |
121 |
122 inline TUint GetRequestType(void) |
122 TUint GetRequestType(void) |
123 { |
123 { |
124 return iRequestType ; |
124 return iRequestType ; |
125 } |
125 } |
126 MLiwNotifyCallback* GetCallBackobj() |
126 /** |
127 { |
127 * This function returns transcation id associated with the Async request for |
128 return iCallBack; |
128 * which this callback is used |
129 } |
129 */ |
|
130 TInt32 GetTransactionId(void) |
|
131 { |
|
132 return iTransactionId ; |
|
133 } |
130 |
134 |
131 /** |
135 /** |
132 * GetTransactionId function returns transcation id associated with current async object |
136 * Retruns the MLiwNotifyCallback object owned by this class |
133 * |
|
134 */ |
137 */ |
135 inline TInt32 GetTransactionId(void) |
138 |
136 { |
139 MLiwNotifyCallback* GetCallBackobj() |
137 return iTransactionId ; |
140 { |
138 } |
141 return iCallBack; |
|
142 } |
139 /** |
143 /** |
140 * HandleL, an internal utility funtion which is called by HandleNotifyL method, |
144 * HandleL, an internal utility funtion which is called by HandleNotifyL method, |
141 * This methods encapsulates all the leaving methods which could be traped by |
145 * This methods encapsulates all the leaving methods which could be traped by |
142 * HandleNotifyL method |
146 * HandleNotifyL method |
143 */ |
147 */ |