more command proxies added
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/980f31e4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/980f31e4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/980f31e4 Branch: refs/heads/master Commit: 980f31e4b8c551258fc8ce0521fce2481a7ceb3b Parents: 023fcba Author: Jesse MacFadyen <purplecabb...@gmail.com> Authored: Sat Oct 6 01:45:59 2012 -0700 Committer: Jesse MacFadyen <purplecabb...@gmail.com> Committed: Sat Oct 6 01:45:59 2012 -0700 ---------------------------------------------------------------------- lib/windows8/plugin/windows8/FileProxy.js | 2 + lib/windows8/plugin/windows8/FileTransferProxy.js | 21 +++++++++++++++ lib/windows8/plugin/windows8/MediaProxy.js | 2 + lib/windows8/plugin/windows8/NetworkStatusProxy.js | 3 ++ lib/windows8/plugin/windows8/NotificationProxy.js | 2 + 5 files changed, 30 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/980f31e4/lib/windows8/plugin/windows8/FileProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/FileProxy.js b/lib/windows8/plugin/windows8/FileProxy.js index 3611f11..89984f9 100644 --- a/lib/windows8/plugin/windows8/FileProxy.js +++ b/lib/windows8/plugin/windows8/FileProxy.js @@ -804,3 +804,5 @@ module.exports = { } }; + +require("cordova/commandProxy").add("File",module.exports); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/980f31e4/lib/windows8/plugin/windows8/FileTransferProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/FileTransferProxy.js b/lib/windows8/plugin/windows8/FileTransferProxy.js index b1f44d1..fb61ae3 100644 --- a/lib/windows8/plugin/windows8/FileTransferProxy.js +++ b/lib/windows8/plugin/windows8/FileTransferProxy.js @@ -1,3 +1,24 @@ +/* + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * +*/ + var FileTransferError = require('cordova/plugin/FileTransferError'), FileUploadResult = require('cordova/plugin/FileUploadResult'), FileEntry = require('cordova/plugin/FileEntry'); http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/980f31e4/lib/windows8/plugin/windows8/MediaProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/MediaProxy.js b/lib/windows8/plugin/windows8/MediaProxy.js index c2d9ccb..2f03382 100644 --- a/lib/windows8/plugin/windows8/MediaProxy.js +++ b/lib/windows8/plugin/windows8/MediaProxy.js @@ -176,3 +176,5 @@ module.exports = { thisM.volume = volume; } }; + +require("cordova/commandProxy").add("Media",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/980f31e4/lib/windows8/plugin/windows8/NetworkStatusProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/NetworkStatusProxy.js b/lib/windows8/plugin/windows8/NetworkStatusProxy.js index 196c805..bdf569e 100644 --- a/lib/windows8/plugin/windows8/NetworkStatusProxy.js +++ b/lib/windows8/plugin/windows8/NetworkStatusProxy.js @@ -28,6 +28,7 @@ module.exports = { getConnectionInfo:function(win,fail,args) { + console.log("NetworkStatusProxy::getConnectionInfo"); var winNetConn = Windows.Networking.Connectivity; var networkInfo = winNetConn.NetworkInformation; var networkCostInfo = winNetConn.NetworkCostType; @@ -67,3 +68,5 @@ module.exports = { } }; + +require("cordova/commandProxy").add("NetworkStatus",module.exports); \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/980f31e4/lib/windows8/plugin/windows8/NotificationProxy.js ---------------------------------------------------------------------- diff --git a/lib/windows8/plugin/windows8/NotificationProxy.js b/lib/windows8/plugin/windows8/NotificationProxy.js index 4a047fa..2757a0a 100644 --- a/lib/windows8/plugin/windows8/NotificationProxy.js +++ b/lib/windows8/plugin/windows8/NotificationProxy.js @@ -81,3 +81,5 @@ module.exports = { }, playTime + quietTime); */ } }; + +require("cordova/commandProxy").add("Notification",module.exports);