/***************************************************************************** * MobileMediaLibraryKit_Prefix.pch * MobileMediaLibraryKit ***************************************************************************** * Copyright (C) 2010 Pierre d'Herbemont * Copyright (C) 2010-2013 VLC authors and VideoLAN * $Id$ * * Authors: Pierre d'Herbemont * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ #ifdef __OBJC__ #import #endif #import #if TARGET_OS_IPHONE // FIXME #define HAVE_BLOCK 0 #define NSXMLDocument CXMLDocument #define NSXMLNode CXMLNode #import "TouchXML.h" #import #import #else #define HAVE_BLOCK 1 #import #endif #import "NSXMLNode_Additions.h" #ifndef NDEBUG #define APLog(format, ...) NSLog(format, ## __VA_ARGS__) #else #define APLog(format, ...) #endif #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) #ifdef __IPHONE_7_0 #define SYSTEM_RUNS_IOS7 SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"7.0") #else #define SYSTEM_RUNS_IOS7 NO #endif