From 58ecac335baaf788797354155af6cbe30a2f2997 Mon Sep 17 00:00:00 2001 From: macdonst Date: Tue, 3 May 2011 00:09:40 +0800 Subject: [PATCH] Capture modifications: Renaming supportedAudioFormats to supportedAudioModes. Renaming supportedImageFormats to supportedImageModes. Renaming supportedVideoFormats to supportedVideoModes. Adding copywrite header to the Capture.java file. --- framework/assets/js/capture.js | 6 +++--- framework/src/com/phonegap/Capture.java | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/framework/assets/js/capture.js b/framework/assets/js/capture.js index 9d9dfc63..6cfcd324 100644 --- a/framework/assets/js/capture.js +++ b/framework/assets/js/capture.js @@ -24,9 +24,9 @@ CaptureError.CAPTURE_NOT_SUPPORTED = 20; * The Capture interface exposes an interface to the camera and microphone of the hosting device. */ function Capture() { - this.supportedAudioFormats = []; - this.supportedImageFormats = []; - this.supportedVideoFormats = []; + this.supportedAudioModes = []; + this.supportedImageModes = []; + this.supportedVideoModes = []; }; /** diff --git a/framework/src/com/phonegap/Capture.java b/framework/src/com/phonegap/Capture.java index 271dab0e..1d41b863 100644 --- a/framework/src/com/phonegap/Capture.java +++ b/framework/src/com/phonegap/Capture.java @@ -1,3 +1,10 @@ +/* + * PhoneGap is available under *either* the terms of the modified BSD license *or* the + * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. + * + * Copyright (c) 2005-2010, Nitobi Software Inc. + * Copyright (c) 2011, IBM Corporation + */ package com.phonegap; import java.io.File;