JD2022-TU1/main/extern/UbiServices/custom/testsUnit/helpers/ubiServicesSdkStateManagerProxy.cpp

19 lines
806 B
C++

////////////////////////////////////////////////////////////////////////////////
// (c) Copyright, Ubisoft Entertainment Inc. || Created by Harbour //
////////////////////////////////////////////////////////////////////////////////
#include "testsUnit/helpers/ubiservicesSdkStateManagerProxy.h"
#include <ubiservices/core/configs/configpriv.h>
#include <ubiservices/applicationStateManager.h>
#include <ubiservices/core/helpers/instancesManager.h>
namespace US_NS {;
#if !defined(US_DLL)
UbiServicesSdkStateInternal::Enum UbiServicesSdkStateManagerProxy::getSdkState()
{
// This function is only used by tests, it is assumed that the instancesManager is up and running
return InstancesManager::getInstance()->getApplicationStateManager().getUbiServicesSdkStateInternal();
}
#endif
};