cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject git commit: Added pre-processor macro to check for 3.2.0 availability.
Date Wed, 02 Oct 2013 23:11:30 GMT
Updated Branches:
  refs/heads/plugins c88ad0cdd -> 750fef0a0


Added pre-processor macro to check for 3.2.0 availability.


Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/750fef0a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/750fef0a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/750fef0a

Branch: refs/heads/plugins
Commit: 750fef0a00cbf2ed652681a4276052af555a1c79
Parents: c88ad0c
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Oct 2 16:11:23 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Oct 2 16:11:23 2013 -0700

----------------------------------------------------------------------
 keyboard/src/ios/CDVKeyboard.m | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/750fef0a/keyboard/src/ios/CDVKeyboard.m
----------------------------------------------------------------------
diff --git a/keyboard/src/ios/CDVKeyboard.m b/keyboard/src/ios/CDVKeyboard.m
index 773952c..40b1cd4 100644
--- a/keyboard/src/ios/CDVKeyboard.m
+++ b/keyboard/src/ios/CDVKeyboard.m
@@ -18,6 +18,11 @@
  */
 
 #import "CDVKeyboard.h"
+#import <Cordova/CDVAvailability.h>
+
+#ifndef __CORDOVA_3_2_0
+#error "This plugin is only supported in Cordova 3.2 or greater."
+#endif
 
 @interface CDVKeyboard ()
 


Mime
View raw message