aboutsummaryrefslogtreecommitdiffstats
path: root/examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-11-20 13:29:28 -0500
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-22 12:44:15 +0100
commit000012b5b2ea25ea9211fd630a52850a76a1a0a8 (patch)
tree61753a2e4b3bea8e6bee42aa544426cb4c89e323 /examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h
parente81fda6169fae5b4949e7f4ee75d1528b016d5e7 (diff)
Add iOS equivalent of CocoaApplication example.
Change-Id: I4f1ad74617d3326001d49e67e1de7e308ab12eff Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h')
-rw-r--r--examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h b/examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h
new file mode 100644
index 000000000..85547e847
--- /dev/null
+++ b/examples/cocoa-touch-application/CocoaTouchApplication/AppDelegate.h
@@ -0,0 +1,45 @@
+/****************************************************************************
+**
+** Copyright (C) 2013 Petroules Corporation.
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt Build Suite.
+**
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+****************************************************************************/
+
+#import <UIKit/UIKit.h>
+
+@interface AppDelegate : UIResponder <UIApplicationDelegate>
+{
+ UIWindow *_window;
+ UINavigationController *_navigationController;
+ UISplitViewController *_splitViewController;
+}
+
+@property (nonatomic, retain) UIWindow *window;
+
+@property (nonatomic, retain) UINavigationController *navigationController;
+
+@property (nonatomic, retain) UISplitViewController *splitViewController;
+
+@end