Skip to content

Commit

Permalink
Removed conditionals #ifdef __IPHONE_3_0
Browse files Browse the repository at this point in the history
  • Loading branch information
shazron committed Jun 18, 2012
1 parent b3177d2 commit b48fc30
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CordovaLib/Classes/CDVSound.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b48fc30

Please sign in to comment.