You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/06/19 00:58:49 UTC

ios commit: Removed conditionals #ifdef __IPHONE_3_0

Updated Branches:
  refs/heads/master b3177d223 -> b48fc3003


Removed conditionals #ifdef __IPHONE_3_0


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

Branch: refs/heads/master
Commit: b48fc3003504d4c68afef6f95baec814dc7b61f2
Parents: b3177d2
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Jun 18 15:58:43 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Jun 18 15:58:43 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVSound.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/b48fc300/CordovaLib/Classes/CDVSound.h
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVSound.h b/CordovaLib/Classes/CDVSound.h
index 902fd86..f607023 100755
--- a/CordovaLib/Classes/CDVSound.h
+++ b/CordovaLib/Classes/CDVSound.h
@@ -59,32 +59,26 @@ typedef NSUInteger CDVMediaMsg;
 @property (nonatomic,copy) NSString* mediaId;
 @end
 
-#ifdef __IPHONE_3_0
 @interface CDVAudioRecorder : AVAudioRecorder
 {
 	NSString* mediaId;
 }
 @property (nonatomic,copy) NSString* mediaId;
 @end
-#endif
 	
 @interface CDVAudioFile : NSObject
 {
 	NSString* resourcePath;
 	NSURL* resourceURL;
 	CDVAudioPlayer* player;
-#ifdef __IPHONE_3_0
 	CDVAudioRecorder* recorder;
-#endif
 }
 
 @property (nonatomic, retain) NSString* resourcePath;
 @property (nonatomic, retain) NSURL* resourceURL;
 @property (nonatomic, retain) CDVAudioPlayer* player;
 
-#ifdef __IPHONE_3_0
 @property (nonatomic, retain) CDVAudioRecorder* recorder;
-#endif
 
 @end