gwenhywfar  4.3.3
cocoa_gui_dialog_l.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : August 09 2010
3  copyright : (C) 2010 by Samuel Strupp
4 
5  ***************************************************************************
6  * Please see toplevel file COPYING for license details *
7  ***************************************************************************/
8 
9 #ifndef COCOA_GUI_DIALOG_L_H
10 #define COCOA_GUI_DIALOG_L_H
11 
12 
13 //#include <gwen-gui-gtk2/gtk2_gui.h>
14 
15 
16 #include <gwenhywfar/dialog_be.h>
17 #import <Foundation/Foundation.h>
18 #import <AppKit/AppKit.h>
19 
20 #import "CocoaWindow.h"
21 
22 //#define GTK2_GUI_DIALOG_DEFAULT_BOX_SPACING 3
23 
24 
25 /*typedef struct {
26  GWEN_DIALOG *dialog;
27  GtkWindow *window;
28  int response;
29  GMainLoop *loop;
30  int destroyed;
31 } RunInfo;*/
32 
33 
34 
37 
38 int CocoaGui_Dialog_Setup(GWEN_DIALOG *dlg, NSWindow *parentWindow);
39 
40 
42 
43 
44 int Cocoa_Gui_Dialog_Run(GWEN_DIALOG *dlg, int timeout);
45 void CocoaGui_Dialog_Leave(GWEN_DIALOG *dlg, int result);
46 
47 #endif
48 
49