bluetoothengine/bteng/inc/btengactive.h
branchRCL_3
changeset 56 9386f31cc85b
parent 55 613943a21004
--- a/bluetoothengine/bteng/inc/btengactive.h	Tue Aug 31 15:25:10 2010 +0300
+++ b/bluetoothengine/bteng/inc/btengactive.h	Wed Sep 01 12:20:04 2010 +0100
@@ -40,6 +40,7 @@
  */
 class MBTEngActiveObserver
     {
+
 public:
 
     /**
@@ -47,27 +48,25 @@
      *
      * @since S60 v3.2
      * @param aActive Pointer to the active object that completed.
+     * @param aId The ID that identifies the outstanding request.
      * @param aStatus The status of the completed request.
      */
-    virtual void RequestCompletedL( CBTEngActive* aActive, TInt aStatus ) = 0;
-
-    /**
-     * Callback for handling cancelation of an outstanding request.
-     *
-     * @since Symbian^4
-     * @param aId The ID that identifies the outstanding request.
-     */
-    virtual void CancelRequest( TInt aRequestId ) = 0;
+    virtual void RequestCompletedL( CBTEngActive* aActive, TInt aId, 
+                                    TInt aStatus ) = 0;
 
     /**
      * Callback to notify that an error has occurred in RunL.
      *
      * @param aActive Pointer to the active object that completed.
-     * @param aError The error occurred in RunL.
+     * @param aId The ID that identifies the outstanding request.
+     * @param aStatus The status of the completed request.
      */
-    virtual void HandleError( CBTEngActive* aActive, TInt aError ) = 0;
+    virtual void HandleError( CBTEngActive* aActive, TInt aId, 
+                                    TInt aError ) = 0;
+
     };
 
+
 /**
  *  Class CBTEngActive
  *
@@ -123,6 +122,13 @@
     inline void GoActive();
 
     /**
+     * Cancel an outstanding request.
+     *
+     * @since S60 v3.2
+     */
+    inline void CancelRequest();
+
+    /**
      * Get a reference to the active object request status.
      *
      * @since S60 v3.2
@@ -130,7 +136,6 @@
      */
     TRequestStatus& RequestStatus();
 
-private:
 // from base class CActive
 
     /**