--- a/serviceproviders/sapi_location/inc/locationcb.h Fri Jul 03 15:51:24 2009 +0100
+++ b/serviceproviders/sapi_location/inc/locationcb.h Thu Aug 27 07:43:07 2009 +0300
@@ -33,7 +33,7 @@
* @see MLocationCallBack in locationservice.h for details.
*/
-class LocationInterfaceCB : public MLocationCallBack
+class LocationInterfaceCB : public CBase , public MLocationCallBack
{
private :
MLiwNotifyCallback *iCallBack ;
@@ -119,23 +119,27 @@
* object,
*/
- inline TUint GetRequestType(void)
+ TUint GetRequestType(void)
{
return iRequestType ;
}
- MLiwNotifyCallback* GetCallBackobj()
- {
- return iCallBack;
- }
+ /**
+ * This function returns transcation id associated with the Async request for
+ * which this callback is used
+ */
+ TInt32 GetTransactionId(void)
+ {
+ return iTransactionId ;
+ }
/**
- * GetTransactionId function returns transcation id associated with current async object
- *
+ * Retruns the MLiwNotifyCallback object owned by this class
*/
- inline TInt32 GetTransactionId(void)
- {
- return iTransactionId ;
- }
+
+ MLiwNotifyCallback* GetCallBackobj()
+ {
+ return iCallBack;
+ }
/**
* HandleL, an internal utility funtion which is called by HandleNotifyL method,
* This methods encapsulates all the leaving methods which could be traped by