diff options
author | Siqi LIU <me@siqi.fr> | 2013-11-21 00:54:19 +0100 |
---|---|---|
committer | Siqi LIU <me@siqi.fr> | 2013-11-21 00:59:57 +0100 |
commit | ec11f022cc1bb2857b20ff96af1f37ca49b73b00 (patch) | |
tree | edc9e09cd5b08984cd94a77189c5948a2cb5a1fa /ios | |
parent | a2541298c6fe7a23202808a8da39063fef005f07 (diff) |
move ServerListViewController to appropriate place
Change-Id: I0f66efe7c306ef8110361495eee0a3f1dbde1013
Diffstat (limited to 'ios')
-rw-r--r-- | ios/iosremote/iosremote/Classes/ServerListViewController~ipad.h | 15 | ||||
-rw-r--r-- | ios/iosremote/iosremote/Classes/ServerListViewController~ipad.m | 46 |
2 files changed, 61 insertions, 0 deletions
diff --git a/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.h b/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.h new file mode 100644 index 000000000000..06dbbe3359da --- /dev/null +++ b/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.h @@ -0,0 +1,15 @@ +// -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +// +// This file is part of the LibreOffice project. +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#import "ServerListViewController.h" + +@interface ServerListViewController_ipad : ServerListViewController + +- (IBAction)cancelModalView:(id)sender; + +@end diff --git a/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.m b/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.m new file mode 100644 index 000000000000..e1ee94b0fd91 --- /dev/null +++ b/ios/iosremote/iosremote/Classes/ServerListViewController~ipad.m @@ -0,0 +1,46 @@ +// -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +// +// This file is part of the LibreOffice project. +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#import "ServerListViewController~ipad.h" + +@interface ServerListViewController_ipad () + +@end + +@implementation ServerListViewController_ipad + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + // Do any additional setup after loading the view. +} + +- (void)didReceiveMemoryWarning +{ + [super didReceiveMemoryWarning]; + // Dispose of any resources that can be recreated. +} + +- (void)viewDidUnload { + [super viewDidUnload]; +} + +#pragma mark - Actions +- (IBAction)cancelModalView:(id)sender { + [self.presentingViewController dismissModalViewControllerAnimated:YES]; +} +@end |