_TelephonyIpcProxy::_TelephonyIpcProxy(void)
: __pIpcClient(null)
- , __pNetworkManagerImpl(null)
- , __pCallManagerImpl(null)
+ , __pNetworkManagerImplForGet(null)
+ , __pNetworkManagerImplForSelect(null)
+ , __pNetworkManagerImplForSearch(null)
+ , __pCallManagerImplForGet(null)
+ , __pCallManagerImplForStart(null)
+ , __pCallManagerImplForStop(null)
{
}
}
result
-_TelephonyIpcProxy::GetNetworkSelectionMode(void)
+_TelephonyIpcProxy::GetNetworkSelectionMode(_NetworkManagerImpl* pNetworkManagerImpl)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pNetworkManagerImplForGet = pNetworkManagerImpl;
+
return E_SUCCESS;
}
result
-_TelephonyIpcProxy::SelectNetwork(const Tizen::Base::String& plmn, const int netwokrType)
+_TelephonyIpcProxy::SelectNetwork(_NetworkManagerImpl* pNetworkManagerImpl, const Tizen::Base::String& plmn, const int netwokrType)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pNetworkManagerImplForSelect = pNetworkManagerImpl;
+
return E_SUCCESS;
}
result
-_TelephonyIpcProxy::SelectNetwork(void)
+_TelephonyIpcProxy::SelectNetwork(_NetworkManagerImpl* pNetworkManagerImpl)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pNetworkManagerImplForSelect = pNetworkManagerImpl;
+
return E_SUCCESS;
}
result
-_TelephonyIpcProxy::SearchNetwork(void)
+_TelephonyIpcProxy::SearchNetwork(_NetworkManagerImpl* pNetworkManagerImpl)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pNetworkManagerImplForSearch = pNetworkManagerImpl;
+
return E_SUCCESS;
}
}
result
-_TelephonyIpcProxy::RequestCallForward(const String& phoneNumber)
+_TelephonyIpcProxy::RequestCallForward(_CallManagerImpl* pCallManagerImpl, const String& phoneNumber)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pCallManagerImplForStart = pCallManagerImpl;
+
return E_SUCCESS;
}
result
-_TelephonyIpcProxy::StopCallForward(void)
+_TelephonyIpcProxy::StopCallForward(_CallManagerImpl* pCallManagerImpl)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
+ __pCallManagerImplForStop = pCallManagerImpl;
+
return E_SUCCESS;
}
result
-_TelephonyIpcProxy::GetCallForwardNumber(void)
+_TelephonyIpcProxy::GetCallForwardNumber(_CallManagerImpl* pCallManagerImpl)
{
result r = E_SUCCESS;
unsigned long ret = 0;
SysTryReturnResult(NID_TEL, r == E_SUCCESS, E_SYSTEM, "A system error has been occurred. Failed to send a request.");
SysTryReturnResult(NID_TEL, ret == E_SUCCESS, ret, "Propagating.");
- return E_SUCCESS;
-}
+ __pCallManagerImplForGet = pCallManagerImpl;
-void
-_TelephonyIpcProxy::SetNetworkManagerImpl(_NetworkManagerImpl& impl)
-{
- __pNetworkManagerImpl = &impl;
-}
-
-void
-_TelephonyIpcProxy::SetCallManagerImpl(_CallManagerImpl& impl)
-{
- __pCallManagerImpl = &impl;
+ return E_SUCCESS;
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pNetworkManagerImpl->OnTelephonyNetworkSelectionModeReceived(isManual, res);
+ __pNetworkManagerImplForGet->OnTelephonyNetworkSelectionModeReceived(isManual, res);
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pNetworkManagerImpl->OnTelephonyNetworkSelectionCompleted(res);
+ __pNetworkManagerImplForSelect->OnTelephonyNetworkSelectionCompleted(res);
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pNetworkManagerImpl->OnTelephonyNetworkSearchCompleted(message, res);
+ __pNetworkManagerImplForSearch->OnTelephonyNetworkSearchCompleted(message, res);
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pCallManagerImpl->OnTelephonyCallForwardNumberReceived(phoneNumber, res);
+ __pCallManagerImplForGet->OnTelephonyCallForwardNumberReceived(phoneNumber, res);
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pCallManagerImpl->OnTelephonyCallForwardResponseReceived(phoneNumber, res);
+ __pCallManagerImplForStart->OnTelephonyCallForwardResponseReceived(phoneNumber, res);
}
void
SysAssertf(__pIpcClient != null, "Not yet constructed. Construct() should be called before use.");
- __pCallManagerImpl->OnTelephonyCallForwardStopped(phoneNumber, res);
+ __pCallManagerImplForStop->OnTelephonyCallForwardStopped(phoneNumber, res);
}
}} // Tizen::Telephony