webengine/device/src/DeviceBridge.cpp
changeset 10 a359256acfc6
parent 5 10e98eab6f85
--- 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 <config.h>
 #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<void*>(m_device->GetDeviceBinding()->GetSecuritySession());    
+        }
+    else
+        {
+        return NULL;
+        }   
+    }
+
 //END OF FILE