Rename files to align with system_info
authorThiago Marcos P. Santos <thiago.santos@intel.com>
Wed, 7 Aug 2013 15:05:58 +0000 (18:05 +0300)
committerThiago Marcos P. Santos <thiago.santos@intel.com>
Mon, 12 Aug 2013 11:32:24 +0000 (14:32 +0300)
16 files changed:
examples/index.html
examples/network_bearer_selection.html [moved from examples/networkbearerselection.html with 100% similarity]
network_bearer_selection/network_bearer_selection.gyp [new file with mode: 0644]
network_bearer_selection/network_bearer_selection_api.js [moved from networkbearerselection/networkbearerselection_api.js with 100% similarity]
network_bearer_selection/network_bearer_selection_connection_mobile.cc [moved from networkbearerselection/networkbearerselection_connection.cc with 97% similarity]
network_bearer_selection/network_bearer_selection_connection_mobile.h [moved from networkbearerselection/networkbearerselection_connection.h with 66% similarity]
network_bearer_selection/network_bearer_selection_context.cc [moved from networkbearerselection/networkbearerselection_context.cc with 90% similarity]
network_bearer_selection/network_bearer_selection_context.h [moved from networkbearerselection/networkbearerselection_context.h with 82% similarity]
network_bearer_selection/network_bearer_selection_context_desktop.cc [moved from networkbearerselection/networkbearerselection_context_desktop.cc with 92% similarity]
network_bearer_selection/network_bearer_selection_context_desktop.h [moved from networkbearerselection/networkbearerselection_context_desktop.h with 62% similarity]
network_bearer_selection/network_bearer_selection_context_mobile.cc [moved from networkbearerselection/networkbearerselection_context_mobile.cc with 84% similarity]
network_bearer_selection/network_bearer_selection_context_mobile.h [moved from networkbearerselection/networkbearerselection_context_mobile.h with 67% similarity]
network_bearer_selection/network_bearer_selection_request.cc [moved from networkbearerselection/networkbearerselection_request.cc with 95% similarity]
network_bearer_selection/network_bearer_selection_request.h [moved from networkbearerselection/networkbearerselection_request.h with 77% similarity]
networkbearerselection/networkbearerselection.gyp [deleted file]
tizen-wrt.gyp

index 314391e..ff712b4 100644 (file)
@@ -2,7 +2,7 @@
 
 <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>
diff --git a/network_bearer_selection/network_bearer_selection.gyp b/network_bearer_selection/network_bearer_selection.gyp
new file mode 100644 (file)
index 0000000..637b94f
--- /dev/null
@@ -0,0 +1,36 @@
+{
+  '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',
+            ],
+          },
+        }],
+      ],
+    },
+  ],
+}
@@ -2,12 +2,12 @@
 // 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;
@@ -2,10 +2,10 @@
 // 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 {
@@ -24,4 +24,4 @@ class NetworkBearerSelectionConnection {
   bool is_valid_;
 };
 
-#endif  // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONNECTION_H_
+#endif  // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONNECTION_MOBILE_H_
@@ -2,13 +2,13 @@
 // 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) {
@@ -17,7 +17,7 @@ NetworkBearerSelectionContext::NetworkBearerSelectionContext(ContextAPI* 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,
@@ -2,8 +2,8 @@
 // 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"
@@ -37,4 +37,4 @@ class NetworkBearerSelectionContext {
   ContextAPI* api_;
 };
 
-#endif  // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_H_
+#endif  // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_H_
@@ -2,7 +2,7 @@
 // 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"
@@ -2,10 +2,10 @@
 // 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 {
@@ -17,4 +17,4 @@ class NetworkBearerSelectionContextDesktop
   virtual void OnReleaseRouteToHost(NetworkBearerSelectionRequest* request);
 };
 
-#endif  // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_DESKTOP_H_
+#endif  // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_DESKTOP_H_
@@ -2,11 +2,11 @@
 // 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();
@@ -2,10 +2,10 @@
 // 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;
 
@@ -22,4 +22,4 @@ class NetworkBearerSelectionContextMobile
   NetworkBearerSelectionConnection* connection_;
 };
 
-#endif  // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_CONTEXT_MOBILE_H_
+#endif  // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_CONTEXT_MOBILE_H_
@@ -2,7 +2,7 @@
 // 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)
@@ -2,11 +2,11 @@
 // 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:
@@ -38,4 +38,4 @@ class NetworkBearerSelectionRequest {
   NetworkType network_type_;
 };
 
-#endif  // NETWORKBEARERSELECTION_NETWORKBEARERSELECTION_REQUEST_H_
+#endif  // NETWORK_BEARER_SELECTION_NETWORK_BEARER_SELECTION_REQUEST_H_
diff --git a/networkbearerselection/networkbearerselection.gyp b/networkbearerselection/networkbearerselection.gyp
deleted file mode 100644 (file)
index 0feb068..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-{
-  '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',
-            ],
-          },
-        }],
-      ],
-    },
-  ],
-}
index ba99b96..9350c4c 100644 (file)
@@ -5,7 +5,7 @@
       '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:*',