bluetoothengine/btaudioman/inc/basrvaccstate.h
branchRCL_3
changeset 6 6a29d5ad0713
parent 0 f63038272f30
child 22 613943a21004
equal deleted inserted replaced
2:0b192a3a05a4 6:6a29d5ad0713
   130 protected:
   130 protected:
   131 
   131 
   132     /**
   132     /**
   133     * Default constructor
   133     * Default constructor
   134     */
   134     */
   135     CBasrvAccState(CBasrvAcc& aParent, TRequestStatus* aRequest);
   135     CBasrvAccState(CBasrvAcc& aParent);
   136     
   136     
   137     /**
   137     /**
   138      * Gets the owner of the state machine
   138      * Gets the owner of the state machine
   139      *
   139      *
   140      * @since S60 v3.1
   140      * @since S60 v3.1
   141      * @return the state machine owner
   141      * @return the state machine owner
   142      */
   142      */
   143     CBasrvAcc& Parent();
   143     CBasrvAcc& Parent();
   144     
   144     
   145     /**
       
   146      * Completes the pending request in this state with specified error code 
       
   147      * and then zero the pointer.
       
   148      *
       
   149      * @since S60 v3.1
       
   150      * @param aErr the completion error code
       
   151      */
       
   152     void CompleteStateRequest(TInt aErr);
       
   153     
       
   154     /**
       
   155      * Completes the give pending request with specified error code..
       
   156      *
       
   157      * @since S60 v3.1
       
   158      * @param aRequest the request to be completed
       
   159      * @param aErr the completion error code
       
   160      */
       
   161     void CompleteRequest(TRequestStatus* aRequest, TInt aErr);
       
   162 
       
   163     void StatePrint(const TDesC& aStateName);
   145     void StatePrint(const TDesC& aStateName);
   164 
   146 
   165     TAccInfo& AccInfo();
   147     TAccInfo& AccInfo();
   166 
   148 
   167     void NewProfileConnection(TProfiles aProfile);
   149     void NewProfileConnection(TProfiles aProfile);
   171     TBool IsAvrcpTGCat2SupportedByRemote();
   153     TBool IsAvrcpTGCat2SupportedByRemote();
   172 
   154 
   173 protected:
   155 protected:
   174 
   156 
   175     CBasrvAcc& iParent;
   157     CBasrvAcc& iParent;
   176 
       
   177     /**
       
   178      * Possible to be NULL.
       
   179      * The async request performed in this state if it is not NULL.
       
   180      */
       
   181     TRequestStatus* iRequest;
       
   182     };
   158     };
   183 
   159 
   184 #endif      // C_BTASRVACCSTATE_H
   160 #endif      // C_BTASRVACCSTATE_H
   185 
   161 
   186 // End of File
   162 // End of File