diff -r 10e98eab6f85 -r a359256acfc6 webengine/device/src/DeviceBridge.cpp --- a/webengine/device/src/DeviceBridge.cpp Fri Jul 03 15:54:40 2009 +0100 +++ b/webengine/device/src/DeviceBridge.cpp Thu Aug 27 07:44:59 2009 +0300 @@ -21,6 +21,7 @@ #include #include "Device.h" #include "DeviceBridge.h" +#include "DeviceBinding.h" using namespace KJS; // ============================ LOCAL FUNCTIONS =============================== @@ -106,6 +107,20 @@ if(m_device) m_device->SetUid( aValue); } + + +void* TDeviceBridge::GetSecuritySession() + { + if( m_device && (m_device->GetDeviceBinding())) + { + return static_cast(m_device->GetDeviceBinding()->GetSecuritySession()); + } + else + { + return NULL; + } + } + //END OF FILE