comparison dstep/appkit/NSPanel_bindings.d @ 16:19885b43130e

Huge update, the bridge actually works now
author Jacob Carlborg <doob@me.com>
date Sun, 03 Jan 2010 22:06:11 +0100
parents
children
comparison
equal deleted inserted replaced
15:7ff919f595d5 16:19885b43130e
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Nov 20, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.appkit.NSPanel_bindings;
8
9 import dstep.foundation.NSObjCRuntime;
10 import dstep.objc.objc;
11
12 package:
13 extern (C):
14
15 NSInteger NSRunAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
16 NSInteger NSRunInformationalAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
17 NSInteger NSRunCriticalAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
18 NSInteger NSRunAlertPanelRelativeToWindow (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, id docWindow, ...);
19 NSInteger NSRunInformationalAlertPanelRelativeToWindow (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, id docWindow, ...);
20 NSInteger NSRunCriticalAlertPanelRelativeToWindow (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, id docWindow, ...);
21 void NSBeginAlertSheet (id title, id defaultButton, id alternateButton, id otherButton, id docWindow, id modalDelegate, SEL didEndSelector, SEL didDismissSelector, void* contextInfo, id msgFormat, ...);
22 void NSBeginInformationalAlertSheet (id title, id defaultButton, id alternateButton, id otherButton, id docWindow, id modalDelegate, SEL didEndSelector, SEL didDismissSelector, void* contextInfo, id msgFormat, ...);
23 void NSBeginCriticalAlertSheet (id title, id defaultButton, id alternateButton, id otherButton, id docWindow, id modalDelegate, SEL didEndSelector, SEL didDismissSelector, void* contextInfo, id msgFormat, ...);
24 id NSGetAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
25 id NSGetInformationalAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
26 id NSGetCriticalAlertPanel (id title, id msgFormat, id defaultButton, id alternateButton, id otherButton, ...);
27 void NSReleaseAlertPanel (id panel);