IOS7: Use #include instead of #import.

We always use #include. #import is a nice ObjC feature (in theory), but can
lead to odd results in corner cases.
This commit is contained in:
Johannes Schickel 2016-01-07 12:31:49 +01:00
parent 17a57443ae
commit 8fc03872c4
7 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@
#ifndef BACKENDS_PLATFORM_IOS7_IOS7_APP_DELEGATE_H
#define BACKENDS_PLATFORM_IOS7_IOS7_APP_DELEGATE_H
#import <UIKit/UIKit.h>
#include <UIKit/UIKit.h>
@class iPhoneView;

View File

@ -21,9 +21,9 @@
*/
#define FORBIDDEN_SYMBOL_ALLOW_ALL
#import "iOS7AppDelegate.h"
#import "iOS7ScummVMViewController.h"
#import "ios7_video.h"
#include "iOS7AppDelegate.h"
#include "iOS7ScummVMViewController.h"
#include "ios7_video.h"
@implementation iOS7AppDelegate {
UIWindow *_window;

View File

@ -23,7 +23,7 @@
#ifndef BACKENDS_PLATFORM_IOS7_IOS7_SCUMMVM_VIEW_CONTROLLER_H
#define BACKENDS_PLATFORM_IOS7_IOS7_SCUMMVM_VIEW_CONTROLLER_H
#import <UIKit/UIKit.h>
#include <UIKit/UIKit.h>
@interface iOS7ScummVMViewController : UIViewController

View File

@ -20,7 +20,7 @@
*
*/
#import "iOS7ScummVMViewController.h"
#include "iOS7ScummVMViewController.h"
@implementation iOS7ScummVMViewController

View File

@ -27,7 +27,7 @@
#include "ios7_video.h"
#include "graphics/conversion.h"
#import "iOS7AppDelegate.h"
#include "iOS7AppDelegate.h"
@interface iOS7AlertHandler : NSObject<UIAlertViewDelegate>
@end

View File

@ -35,7 +35,7 @@
#include "ios7_common.h"
#include "common/list.h"
#import "graphics/scaler.h"
#include "graphics/scaler.h"
typedef struct {
GLfloat x, y;

View File

@ -27,7 +27,7 @@
#include "graphics/colormasks.h"
#include "common/system.h"
#import "iOS7AppDelegate.h"
#include "iOS7AppDelegate.h"
static int g_needsScreenUpdate = 0;