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 @@
#pragma once
#import <UIKit/UIKit.h>
#import <qt_app_delegate.h>
#include <ios/src/qt_app_delegate.h>
@interface QtAppDelegate : UIResponder <UIApplicationDelegate>
+(QtAppDelegate *)sharedQtAppDelegate;
......
......@@ -22,9 +22,10 @@
*/
#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
......
......@@ -21,6 +21,8 @@
* the two.
*/
#pragma once
#import <UIKit/UIKit.h>
@interface DocumentPickerController : UIViewController
......
......@@ -24,11 +24,10 @@
#include <QList>
#include <QUrl>
#include "ios/src/doc_picker_controller.h"
#include "src/auxiliaries/ios_helper.h"
#include "src/global.h"
#import "ios/src/doc_picker_controller.h"
@interface DocumentPickerController () <UIDocumentPickerDelegate>
@end
......
......@@ -21,10 +21,10 @@
* the two.
*/
#import "doc_view_controller.h"
#include <QtCore>
#include "ios/src/doc_view_controller.h"
@interface DocViewController ()
@end
......
......@@ -23,9 +23,6 @@
#pragma once
#include <QtCore/QtGlobal>
#ifdef Q_OS_IOS
#import <UIKit/UIKit.h>
@interface iOSFileOpener : NSObject <UIDocumentInteractionControllerDelegate>
......@@ -35,5 +32,3 @@
- (void)openFile:(NSString *)path fromViewController:(UIViewController *)viewController;
@end
#endif /* Q_OS_IOS */
......@@ -21,10 +21,10 @@
* the two.
*/
#import "send_email_controller.h"
#include <QtCore>
#include "ios/src/send_email_controller.h"
@implementation SimpleEmailSendController
- (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