VLC for iOS-Prefix.pch 877 Bytes
Newer Older
Felix Paul Kühne's avatar
Felix Paul Kühne committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
//
// Prefix header for all source files of the 'AspenProject' target in the 'AspenProject' project
//

#import <Availability.h>

#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."
#endif

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
#endif
15

16 17 18
#import <MobileVLCKit/MobileVLCKit.h>
#import <MediaLibraryKit/MediaLibraryKit.h>

19
#import "VLCConstants.h"
20
#import "VLCFixups.h"
21

22 23
#define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v)  ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)

24
#ifdef __IPHONE_7_0
Felix Paul Kühne's avatar
Felix Paul Kühne committed
25
#define SYSTEM_RUNS_IOS7_OR_LATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0")
26
#else
Felix Paul Kühne's avatar
Felix Paul Kühne committed
27
#define SYSTEM_RUNS_IOS7_OR_LATER NO
28
#endif
29

30 31 32 33 34
#ifndef NDEBUG
#define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
#else
#define APLog(format, ...)
#endif