--- a/bluetoothengine/btaudioman/src/basrvaccstate.cpp Tue Feb 02 00:20:42 2010 +0200
+++ b/bluetoothengine/btaudioman/src/basrvaccstate.cpp Fri Feb 19 22:59:18 2010 +0200
@@ -27,7 +27,6 @@
CBasrvAccState::~CBasrvAccState()
{
- CompleteStateRequest(KErrAbort);
}
CBasrvAccState* CBasrvAccState::ErrorOnEntry(TInt /*aReason*/)
@@ -102,8 +101,8 @@
TRACE_FUNC
}
-CBasrvAccState::CBasrvAccState(CBasrvAcc& aParent, TRequestStatus* aRequest)
- : iParent(aParent), iRequest(aRequest)
+CBasrvAccState::CBasrvAccState(CBasrvAcc& aParent)
+ : iParent(aParent)
{
}
@@ -112,25 +111,6 @@
return iParent;
}
-void CBasrvAccState::CompleteStateRequest(TInt aErr)
- {
- if (iRequest)
- {
- User::RequestComplete(iRequest, aErr);
- TRACE_INFO((_L("Request 0x%08X completed with %d"), iRequest, aErr))
- iRequest = NULL;
- }
- }
-
-void CBasrvAccState::CompleteRequest(TRequestStatus* aStatus, TInt aErr)
- {
- if (aStatus)
- {
- User::RequestComplete(aStatus, aErr);
- TRACE_INFO((_L("Request 0x%08X completed with %d"), aStatus, aErr))
- }
- }
-
void CBasrvAccState::StatePrint(const TDesC& aStateName)
{
TRACE_INFO_SEG(