Commit 6cac4186 authored by Karel Slaný's avatar Karel Slaný

Cleaned a little bit include/import statements in iOS code.

parent 3754f8d4
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
#pragma once #pragma once
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import <qt_app_delegate.h>
#include <ios/src/qt_app_delegate.h>
@interface QtAppDelegate : UIResponder <UIApplicationDelegate> @interface QtAppDelegate : UIResponder <UIApplicationDelegate>
+(QtAppDelegate *)sharedQtAppDelegate; +(QtAppDelegate *)sharedQtAppDelegate;
......
...@@ -22,9 +22,10 @@ ...@@ -22,9 +22,10 @@
*/ */
#include <QtCore> #include <QtCore>
#include "src/qml_interaction/interaction_zfo_file.h"
#import "app_delegate.h" #include "ios/src/app_delegate.h"
#include "ios/src/qt_app_delegate.h"
#include "src/qml_interaction/interaction_zfo_file.h"
@implementation QtAppDelegate @implementation QtAppDelegate
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* the two. * the two.
*/ */
#pragma once
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
@interface DocumentPickerController : UIViewController @interface DocumentPickerController : UIViewController
......
...@@ -24,11 +24,10 @@ ...@@ -24,11 +24,10 @@
#include <QList> #include <QList>
#include <QUrl> #include <QUrl>
#include "ios/src/doc_picker_controller.h"
#include "src/auxiliaries/ios_helper.h" #include "src/auxiliaries/ios_helper.h"
#include "src/global.h" #include "src/global.h"
#import "ios/src/doc_picker_controller.h"
@interface DocumentPickerController () <UIDocumentPickerDelegate> @interface DocumentPickerController () <UIDocumentPickerDelegate>
@end @end
......
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
* the two. * the two.
*/ */
#import "doc_view_controller.h"
#include <QtCore> #include <QtCore>
#include "ios/src/doc_view_controller.h"
@interface DocViewController () @interface DocViewController ()
@end @end
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
#pragma once #pragma once
#include <QtCore/QtGlobal>
#ifdef Q_OS_IOS
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
@interface iOSFileOpener : NSObject <UIDocumentInteractionControllerDelegate> @interface iOSFileOpener : NSObject <UIDocumentInteractionControllerDelegate>
...@@ -35,5 +32,3 @@ ...@@ -35,5 +32,3 @@
- (void)openFile:(NSString *)path fromViewController:(UIViewController *)viewController; - (void)openFile:(NSString *)path fromViewController:(UIViewController *)viewController;
@end @end
#endif /* Q_OS_IOS */
...@@ -21,10 +21,10 @@ ...@@ -21,10 +21,10 @@
* the two. * the two.
*/ */
#import "send_email_controller.h"
#include <QtCore> #include <QtCore>
#include "ios/src/send_email_controller.h"
@implementation SimpleEmailSendController @implementation SimpleEmailSendController
- (void) showCantSendMailAlert - (void) showCantSendMailAlert
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment