platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h in rhodes-6.2.0 vs platform/shared/qt/rhodes/impl/RhoClassFactoryImpl.h in rhodes-7.1.17

- old
+ new

@@ -28,10 +28,11 @@ #include "common/RhoPort.h" #include "common/RhoDefs.h" #include "common/IRhoClassFactory.h" #ifdef OS_WINDOWS_DESKTOP +#include "SecurityTokenGeneratorImpl.h" #include "RhoThreadImpl.h" #include "rho/net/NetRequestImpl.h" #define CNETREQUESTIMPL new net::CNetRequestImpl() #define CRHOTHREADIMPL new CRhoThreadImpl() #define CRHOCRYPTIMPL NULL @@ -65,9 +66,19 @@ { #ifdef OS_WINDOWS_DESKTOP return NULL; #else return new net::SSLImpl(); +#endif + } + + const rho::common::ISecurityTokenGenerator* createSecurityTokenGenerator() + { +#if defined (OS_WINDOWS_DESKTOP) && !defined(RHODES_VERSION_LIBRARY) + static SecurityTokenGenerator global_generator; + return &global_generator; +#else + return nullptr; #endif } IRhoCrypt* createRhoCrypt() {