VLC for iOS-Prefix.pch 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*****************************************************************************
  2. * Prefix header for all source files of the 'vlc-ios' target
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2013-2014 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. #import <Availability.h>
  13. #ifndef __IPHONE_8_2
  14. #error "This project uses features only available in iOS SDK 8.2 and later."
  15. #endif
  16. #ifdef __OBJC__
  17. #import <UIKit/UIKit.h>
  18. #import <Foundation/Foundation.h>
  19. #endif
  20. #import "VLCAudio.h"
  21. #import "VLCLibrary.h"
  22. #import "VLCMedia.h"
  23. #import "VLCMediaDiscoverer.h"
  24. #import "VLCMediaList.h"
  25. #import "VLCMediaPlayer.h"
  26. #import "VLCMediaListPlayer.h"
  27. #import "VLCMediaThumbnailer.h"
  28. #import "VLCTime.h"
  29. #import "MLFile.h"
  30. #import "MLLabel.h"
  31. #import "MLMediaLibrary.h"
  32. #import "MLShow.h"
  33. #import "MLShowEpisode.h"
  34. #import "MLAlbum.h"
  35. #import "MLAlbumTrack.h"
  36. #import "VLCConstants.h"
  37. #import "UIColor+Presets.h"
  38. #import "UIBarButtonItem+Theme.h"
  39. #import "VLCAlertView.h"
  40. #import "VLCNavigationController.h"
  41. #import "VLCSidebarController.h"
  42. #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending)
  43. #define SYSTEM_RUNS_IOS8_OR_LATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")
  44. #define SYSTEM_RUNS_IOS82_OR_LATER SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.2")
  45. #ifndef NDEBUG
  46. #define APLog(format, ...) NSLog(format, ## __VA_ARGS__)
  47. #else
  48. #define APLog(format, ...)
  49. #endif