Skip to content

Commit

Permalink
Merge branch 'master' of github.com:WebPlatformForEmbedded/ThunderNan…
Browse files Browse the repository at this point in the history
…oServicesRDK into R3
  • Loading branch information
bramoosterhuis committed Aug 9, 2021
2 parents 3417568 + c9b4c12 commit 788e865
Show file tree
Hide file tree
Showing 15 changed files with 136 additions and 35 deletions.
12 changes: 10 additions & 2 deletions Messenger/Messenger.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
set (autostart ${PLUGIN_MESSENGER_AUTOSTART})
set(autostart ${PLUGIN_MESSENGER_AUTOSTART})

map()
key(root)
map()
kv(outofprocess ${PLUGIN_MESSENGER_OUTOFPROCESS})
if(PLUGIN_MESSENGER_MODE)
kv(mode ${PLUGIN_MESSENGER_MODE})
else()
if(PLUGIN_MESSENGER_OUTOFPROCESS)
kv(mode "Local")
else()
kv(mode "Off")
endif()
endif()
end()
end()

Expand Down
10 changes: 9 additions & 1 deletion OpenCDMi/OCDM.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ if(PLUGIN_OPENCDMI_PLAYREADY_NEXUS OR PLUGIN_OPENCDMI_PLAYREADY_NEXUS_SVP OR PLU
endif()

map()
kv(outofprocess ${PLUGIN_OPENCDMI_OUTOFPROCESS})
if(PLUGIN_OPENCDMI_MODE)
kv(mode ${PLUGIN_OPENCDMI_MODE})
else()
if(PLUGIN_OPENCDMI_OUTOFPROCESS)
kv(mode "Local")
else()
kv(mode "Off")
endif()
endif()
if(PLUGIN_OPENCDMI_USER)
kv(user ${PLUGIN_OPENCDMI_USER})
endif()
Expand Down
10 changes: 9 additions & 1 deletion Packager/Packager.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ set(autostart ${PLUGIN_PACKAGER_AUTOSTART})
map()
key(root)
map()
kv(outofprocess ${PLUGIN_PACKAGER_OUTOFPROCESS})
if(PLUGIN_PACKAGER_MODE)
kv(mode ${PLUGIN_PACKAGER_MODE})
else()
if(PLUGIN_PACKAGER_OUTOFPROCESS)
kv(mode "Local")
else()
kv(mode "Off")
endif()
endif()
end()
end()
ans(configuration)
6 changes: 5 additions & 1 deletion WebKitBrowser/Amazon.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_AMAZON_AUTOSTART})
set(preconditions Graphics Internet)

map()
kv(outofprocess true)
if(PLUGIN_AMAZON_MODE)
kv(mode ${PLUGIN_AMAZON_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_AMAZON_USER)
kv(user ${PLUGIN_AMAZON_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/Apps.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_APPS_AUTOSTART})
set(preconditions Graphics Internet)

map()
kv(outofprocess true)
if(PLUGIN_APPS_MODE)
kv(mode ${PLUGIN_APPS_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
end()
ans(rootobject)
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/HtmlApp.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_HTML_APP_AUTOSTART})
set(preconditions Graphics Internet)

map()
kv(outofprocess true)
if(PLUGIN_HTML_APP_MODE)
kv(mode ${PLUGIN_HTML_APP_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/LightningApp.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_LIGHTNING_APP_AUTOSTART})
set(preconditions Graphics Internet)

map()
kv(outofprocess true)
if(PLUGIN_LIGHTNING_APP_MODE)
kv(mode ${PLUGIN_LIGHTNING_APP_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/ResidentApp.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ set(resumed true)
set(preconditions Graphics)

map()
kv(outofprocess true)
if(PLUGIN_RESIDENT_APP_MODE)
kv(mode ${PLUGIN_RESIDENT_APP_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/SearchAndDiscoveryApp.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_SEARCH_AND_DISCOVERY_APP_AUTOSTART})
set(preconditions Graphics)

map()
kv(outofprocess true)
if(PLUGIN_SEARCH_AND_DISCOVERY_APP_MODE)
kv(mode ${PLUGIN_SEARCH_AND_DISCOVERY_APP_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/UX.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(autostart ${PLUGIN_UX_AUTOSTART})
set(preconditions Graphics)

map()
kv(outofprocess true)
if(PLUGIN_UX_MODE)
kv(mode ${PLUGIN_UX_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 5 additions & 1 deletion WebKitBrowser/WebKitBrowser.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ else()
endif(PLUGIN_WEBSERVER)

map()
kv(outofprocess true)
if(PLUGIN_WEBKITBROWSER_MODE)
kv(mode ${PLUGIN_WEBKITBROWSER_MODE})
else()
kv(mode "Local")
endif()
kv(locator lib${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}.so)
if(PLUGIN_WEBKITBROWSER_USER)
kv(user ${PLUGIN_WEBKITBROWSER_USER})
Expand Down
6 changes: 3 additions & 3 deletions WebKitBrowser/WebKitBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ namespace Plugin {
Exchange::JWebBrowser::Event::PageClosure(*this);
}

void WebKitBrowser::BridgeQueryResponse(const string& message)
void WebKitBrowser::BridgeQuery(const string& message)
{
TRACE(Trace::Information, (_T("BridgeQueryResponse: %s"), message.c_str()));
event_bridgequery(message);
TRACE(Trace::Information, (_T("BridgeQuery: %s"), message.c_str()));
event_bridgequery(message);
}

void WebKitBrowser::StateChange(const PluginHost::IStateControl::state state)
Expand Down
6 changes: 3 additions & 3 deletions WebKitBrowser/WebKitBrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ namespace Plugin {
{
_parent.PageClosure();
}
void BridgeQueryResponse(const string& message) override
void BridgeQuery(const string& message) override
{
_parent.BridgeQueryResponse(message);
_parent.BridgeQuery(message);
}
void StateChange(const PluginHost::IStateControl::state state) override
{
Expand Down Expand Up @@ -216,7 +216,7 @@ namespace Plugin {
void URLChange(const string& URL, bool loaded);
void VisibilityChange(const bool hidden);
void PageClosure();
void BridgeQueryResponse(const string& message);
void BridgeQuery(const string& message);
void StateChange(const PluginHost::IStateControl::state state);
uint32_t DeleteDir(const string& path);

Expand Down
Loading

0 comments on commit 788e865

Please sign in to comment.