tizen 2.4 release
[framework/web/wrt-plugins-common.git] / src / plugin-loading / explorer.cpp
similarity index 97%
rename from src_wearable/plugin-loading/explorer.cpp
rename to src/plugin-loading/explorer.cpp
index 1d5d8c3..9990262 100644 (file)
@@ -149,7 +149,7 @@ bool Explorer::registerObject(const JSObjectDeclarationPtr& declaration,
     std::string fullParentName = declaration->getParentName();
 
     if (fullParentName == providedObjectName) {
-        \r_D("Provided object was matched!!");
+        _D("Provided object was matched!!");
         return register_(declaration, providedObject, context);
     }
 
@@ -326,7 +326,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
         // call js callback function for 'appservice' js event on each frame
         FOREACH(it, *frameLists)
         {
-            JSObjectRef frame = static_cast<JSObjectRef>((*it).Get()->getObject());
+            JSObjectRef frame = static_cast<JSObjectRef>((**it).Get()->getObject());
 
             auto eventPriv =
                 new JSTizenServiceEventPrivateObject(m_context, event);
@@ -340,7 +340,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
     } else if (eventType == SoftKeyboardChangeCustomEvent) {
         using namespace WrtDeviceApis::SoftKeyboardChangeEvent::Api;
         if (!data) {
-            LogDebug("no ime size");
+            _D("no ime size");
             return;
         }
 
@@ -360,7 +360,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
         // frame
         FOREACH(it, *frameLists)
         {
-            JSObjectRef frame = static_cast<JSObjectRef>((*it).Get()->getObject());
+            JSObjectRef frame = static_cast<JSObjectRef>((**it).Get()->getObject());
 
             auto eventPriv =
                 new JSSoftKeyboardChangeEventPrivateObject(m_context, event);
@@ -374,7 +374,7 @@ void Explorer::callEventListeners(CustomEventType /*eventType*/, void* /*data*/)
                 frame, eventType, eventObject);
         }
     } else {
-        LogDebug("Not supported custom event type");
+        _D("Not supported custom event type");
         return;
     }
 #endif