<body>
<a href="tizen.html"><h5>- Tizen Test</h5></a>
-<a href="networkbearerselection.html"><h5>- Network Bearer Selection Test</h5></a>
+<a href="network_bearer_selection.html"><h5>- Network Bearer Selection Test</h5></a>
<a href="notification.html"><h5>- Notification Test</h5></a>
<a href="system_info.html"><h5>- SystemInfo Test</h5></a>
<a href="system_setting.html"><h5>- SystemSetting Test</h5></a>
--- /dev/null
+{
+ 'includes':[
+ '../common/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'tizen_network_bearer_selection',
+ 'type': 'loadable_module',
+ 'sources': [
+ 'network_bearer_selection_api.js',
+ 'network_bearer_selection_connection_mobile.cc',
+ 'network_bearer_selection_connection_mobile.h',
+ 'network_bearer_selection_context.cc',
+ 'network_bearer_selection_context.h',
+ 'network_bearer_selection_context_desktop.cc',
+ 'network_bearer_selection_context_desktop.h',
+ 'network_bearer_selection_context_mobile.cc',
+ 'network_bearer_selection_context_mobile.h',
+ 'network_bearer_selection_request.cc',
+ 'network_bearer_selection_request.h',
+ ],
+ 'conditions': [
+ [ 'extension_host_os=="mobile"', {
+ 'includes': [
+ '../common/pkg-config.gypi',
+ ],
+ 'variables': {
+ 'packages': [
+ 'capi-network-connection',
+ ],
+ },
+ }],
+ ],
+ },
+ ],
+}
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "networkbearerselection/networkbearerselection_connection.h"
+#include "network_bearer_selection/network_bearer_selection_connection_mobile.h"
#include <map>
#include <stdlib.h>
#include <vector>
-#include "networkbearerselection/networkbearerselection_request.h"
+#include "network_bearer_selection/network_bearer_selection_request.h"
typedef std::vector<NetworkBearerSelectionRequest*> RequestList;
typedef std::map<std::string, RequestList> ProfileMap;
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONNECTION_H_
-#define NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONNECTION_H_
+#ifndef NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONNECTION_MOBILE_H_
+#define NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONNECTION_MOBILE_H_
-#include "networkbearerselection_context.h"
+#include "network_bearer_selection_context.h"
#include <net_connection.h>
class NetworkBearerSelectionConnection {
bool is_valid_;
};
-#endif // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONNECTION_H_
+#endif // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONNECTION_MOBILE_H_
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "networkbearerselection/networkbearerselection_context.h"
+#include "network_bearer_selection/network_bearer_selection_context.h"
#include "common/extension_adapter.h"
#include "common/picojson.h"
-#include "networkbearerselection/networkbearerselection_request.h"
+#include "network_bearer_selection/network_bearer_selection_request.h"
-extern const char kSource_networkbearerselection_api[];
+extern const char kSource_network_bearer_selection_api[];
NetworkBearerSelectionContext::NetworkBearerSelectionContext(ContextAPI* api)
: api_(api) {
const char NetworkBearerSelectionContext::name[] = "tizen.networkbearerselection";
const char* NetworkBearerSelectionContext::GetJavaScript() {
- return kSource_networkbearerselection_api;
+ return kSource_network_bearer_selection_api;
}
void NetworkBearerSelectionContext::PostMessage(const std::string& cmd,
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_H_
-#define NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_H_
+#ifndef NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_H_
+#define NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_H_
#include <string>
#include "tizen/tizen.h"
ContextAPI* api_;
};
-#endif // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_H_
+#endif // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_H_
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "networkbearerselection/networkbearerselection_context_desktop.h"
+#include "network_bearer_selection/network_bearer_selection_context_desktop.h"
#include "network_bearer_selection/network_bearer_selection_request.h"
#include "common/extension_adapter.h"
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_DESKTOP_H_
-#define NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_DESKTOP_H_
+#ifndef NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_DESKTOP_H_
+#define NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_DESKTOP_H_
-#include "networkbearerselection/networkbearerselection_context.h"
+#include "network_bearer_selection/network_bearer_selection_context.h"
class NetworkBearerSelectionContextDesktop
: public NetworkBearerSelectionContext {
virtual void OnReleaseRouteToHost(NetworkBearerSelectionRequest* request);
};
-#endif // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_DESKTOP_H_
+#endif // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_DESKTOP_H_
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "networkbearerselection/networkbearerselection_context_mobile.h"
+#include "network_bearer_selection/network_bearer_selection_context_mobile.h"
#include "common/extension_adapter.h"
-#include "networkbearerselection/networkbearerselection_request.h"
-#include "networkbearerselection/networkbearerselection_connection.h"
+#include "network_bearer_selection/network_bearer_selection_request.h"
+#include "network_bearer_selection/network_bearer_selection_connection_mobile.h"
CXWalkExtension* xwalk_extension_init(int32_t api_version) {
return ExtensionAdapter<NetworkBearerSelectionContextMobile>::Initialize();
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_MOBILE_H_
-#define NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_MOBILE_H_
+#ifndef NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_MOBILE_H_
+#define NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_MOBILE_H_
-#include "networkbearerselection/networkbearerselection_context.h"
+#include "network_bearer_selection/network_bearer_selection_context.h"
class NetworkBearerSelectionConnection;
NetworkBearerSelectionConnection* connection_;
};
-#endif // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_MOBILE_H_
+#endif // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_MOBILE_H_
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "networkbearerselection/networkbearerselection_request.h"
+#include "network_bearer_selection/network_bearer_selection_request.h"
NetworkBearerSelectionRequest::NetworkBearerSelectionRequest(
NetworkBearerSelectionContext* context)
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_REQUEST_H_
-#define NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_REQUEST_H_
+#ifndef NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_REQUEST_H_
+#define NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_REQUEST_H_
#include <string>
-#include "networkbearerselection/networkbearerselection_context.h"
+#include "network_bearer_selection/network_bearer_selection_context.h"
class NetworkBearerSelectionRequest {
public:
NetworkType network_type_;
};
-#endif // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_REQUEST_H_
+#endif // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_REQUEST_H_
+++ /dev/null
-{
- 'includes':[
- '../common/common.gypi',
- ],
- 'targets': [
- {
- 'target_name': 'tizen_networkbearerselection',
- 'type': 'loadable_module',
- 'sources': [
- 'networkbearerselection_api.js',
- 'networkbearerselection_connection.cc',
- 'networkbearerselection_connection.h',
- 'networkbearerselection_context.cc',
- 'networkbearerselection_context.h',
- 'networkbearerselection_context_desktop.cc',
- 'networkbearerselection_context_desktop.h',
- 'networkbearerselection_context_mobile.cc',
- 'networkbearerselection_context_mobile.h',
- 'networkbearerselection_request.cc',
- 'networkbearerselection_request.h',
- ],
- 'conditions': [
- [ 'extension_host_os=="mobile"', {
- 'includes': [
- '../common/pkg-config.gypi',
- ],
- 'variables': {
- 'packages': [
- 'capi-network-connection',
- ],
- },
- }],
- ],
- },
- ],
-}
'type': 'none',
'dependencies': [
'bluetooth/bluetooth.gyp:*',
- 'networkbearerselection/networkbearerselection.gyp:*',
+ 'network_bearer_selection/network_bearer_selection.gyp:*',
'notification/notification.gyp:*',
'power/power.gyp:*',
'system_info/system_info.gyp:*',