comparison dwt/internal/cocoa/SWTApplicationDelegate.d @ 45:d8635bb48c7c

Merge with SWT 3.5
author Jacob Carlborg <doob@me.com>
date Mon, 01 Dec 2008 17:07:00 +0100
parents f565d3a95c0a
children
comparison
equal deleted inserted replaced
44:ca5e494f2bbf 45:d8635bb48c7c
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2007, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *
2 * Port to the D programming language: 11 * Port to the D programming language:
3 * Jacob Carlborg <jacob.carlborg@gmail.com> 12 * Jacob Carlborg <doob@me.com>
4 *******************************************************************************/ 13 *******************************************************************************/
5 module dwt.internal.cocoa.SWTApplicationDelegate; 14 module dwt.internal.cocoa.SWTApplicationDelegate;
6 15
16 import dwt.dwthelper.utils;
7 import dwt.internal.cocoa.NSObject; 17 import dwt.internal.cocoa.NSObject;
8 import objc = dwt.internal.objc.runtime; 18 import objc = dwt.internal.objc.runtime;
9 19
10 public class SWTApplicationDelegate : NSObject { 20 public class SWTApplicationDelegate : NSObject {
11 public this () { 21
12 super(null); 22 public this() {
13 } 23 super(cast(objc.id) null);
24 }
25
26 public this(objc.id id) {
27 super(id);
28 }
14 29
15 public this (objc.id id) {
16 super(id);
17 }
18 } 30 }