incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [21/46] wp7 commit: update camera options
Date Sat, 14 Jul 2012 00:24:42 GMT
update camera options


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/e0ecee25
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/e0ecee25
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/e0ecee25

Branch: refs/heads/master
Commit: e0ecee25ce0e5e99ef1f3358d3814c4cd93be309
Parents: 9e86173
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Fri Jul 13 16:33:10 2012 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Fri Jul 13 16:33:10 2012 -0700

----------------------------------------------------------------------
 templates/standalone/cordovalib/Commands/Camera.cs |   32 ++++++++++++++-
 1 files changed, 31 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/e0ecee25/templates/standalone/cordovalib/Commands/Camera.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/Camera.cs b/templates/standalone/cordovalib/Commands/Camera.cs
index 5963c81..9e10a7d 100644
--- a/templates/standalone/cordovalib/Commands/Camera.cs
+++ b/templates/standalone/cordovalib/Commands/Camera.cs
@@ -107,6 +107,32 @@ namespace WP7CordovaClassLib.Cordova.Commands
             [DataMember(IsRequired = false, Name = "saveToPhotoAlbum")]
             public bool SaveToPhotoAlbum { get; set; }
 
+            /// <summary>
+            /// Ignored
+            /// </summary>
+            [DataMember(IsRequired = false, Name = "correctOrientation")]
+            public bool CorrectOrientation { get; set; }
+
+            
+
+            /// <summary>
+            /// Ignored
+            /// </summary>
+            [DataMember(IsRequired = false, Name = "allowEdit")]
+            public bool AllowEdit { get; set; }
+
+                        /// <summary>
+            /// Height in pixels to scale image
+            /// </summary>
+            [DataMember(IsRequired = false, Name = "encodingType")]
+            public int EncodingType { get; set; }
+
+                        /// <summary>
+            /// Height in pixels to scale image
+            /// </summary>
+            [DataMember(IsRequired = false, Name = "mediaType")]
+            public int MediaType { get; set; }
+
 
             /// <summary>
             /// Height in pixels to scale image
@@ -114,6 +140,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
             [DataMember(IsRequired = false, Name = "targetHeight")]
             public int TargetHeight { get; set; }
 
+
             /// <summary>
             /// Width in pixels to scale image
             /// </summary>
@@ -142,8 +169,11 @@ namespace WP7CordovaClassLib.Cordova.Commands
                 TargetHeight = -1;
                 TargetWidth = -1;
                 SaveToPhotoAlbum = false;
+                CorrectOrientation = true;
+                AllowEdit = false;
+                MediaType = -1;
+                EncodingType = -1;
             }
-
         }
 
         /// <summary>


Mime
View raw message