27 lines
No EOL
958 B
C++
27 lines
No EOL
958 B
C++
////////////////////////////////////////////////////////////////////////////////
|
|
// (c) Copyright, Ubisoft Entertainment Inc. || Created by Harbour //
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#include "tests/common/facadeInternalTestHelper.h"
|
|
#include "../private/ubiservices/facadeInternal.h"
|
|
#include "ubiservices/services/websocket/websocketClient.h"
|
|
|
|
namespace US_NS {;
|
|
|
|
#if !defined(US_SDK_S2S) && !defined(US_DLL)
|
|
const Environment FacadeInternalTestHelper::getDetectedEnvironment(FacadeInternal& facade)
|
|
{
|
|
return facade.getDetectedEnvironment();
|
|
}
|
|
|
|
WebSocketClient* FacadeInternalTestHelper::getWebsocketClient(const FacadeInternal& facade)
|
|
{
|
|
return facade.m_websocketClient.get();
|
|
}
|
|
|
|
void FacadeInternalTestHelper::resetWebsocketClient(FacadeInternal& facade, WebSocketClient* instance)
|
|
{
|
|
facade.m_websocketClient.reset(instance);
|
|
}
|
|
#endif // !defined(US_SDK_S2S) && !defined(US_DLL)
|
|
|
|
}; |