mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 11:51:52 +00:00
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:
parent
17a57443ae
commit
8fc03872c4
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#import "iOS7ScummVMViewController.h"
|
||||
#include "iOS7ScummVMViewController.h"
|
||||
|
||||
|
||||
@implementation iOS7ScummVMViewController
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "ios7_video.h"
|
||||
|
||||
#include "graphics/conversion.h"
|
||||
#import "iOS7AppDelegate.h"
|
||||
#include "iOS7AppDelegate.h"
|
||||
|
||||
@interface iOS7AlertHandler : NSObject<UIAlertViewDelegate>
|
||||
@end
|
||||
|
@ -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;
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#include "graphics/colormasks.h"
|
||||
#include "common/system.h"
|
||||
#import "iOS7AppDelegate.h"
|
||||
#include "iOS7AppDelegate.h"
|
||||
|
||||
static int g_needsScreenUpdate = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user