|
|
| version 1.1, 2004/07/14 16:01:40 | version 1.6, 2011/01/15 19:16:59 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 12 | Line 10 |
| * 2. Redistributions in binary form must reproduce the above copyright | * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in the | * notice, this list of conditions and the following disclaimer in the |
| * documentation and/or other materials provided with the distribution. | * documentation and/or other materials provided with the distribution. |
| * 3. The name of the author may not be used to endorse or promote products | |
| * derived from this software without specific prior written permission. | |
| * | * |
| * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| Line 30 | Line 26 |
| #ifndef NP2_GTK2_GTKTOOLKIT_H__ | #ifndef NP2_GTK2_GTKTOOLKIT_H__ |
| #define NP2_GTK2_GTKTOOLKIT_H__ | #define NP2_GTK2_GTKTOOLKIT_H__ |
| #ifdef __cplusplus | G_BEGIN_DECLS |
| extern "C" { | |
| #endif | |
| extern gui_toolkit_t gtk_toolkit; | |
| const char *gui_gtk_get_toolkit(void); | const char *gui_gtk_get_toolkit(void); |
| BOOL gui_gtk_arginit(int *argcp, char ***argvp); | BOOL gui_gtk_arginit(int *argcp, char ***argvp); |
| Line 44 void gui_gtk_widget_mainloop(void); | Line 36 void gui_gtk_widget_mainloop(void); |
| void gui_gtk_widget_quit(void); | void gui_gtk_widget_quit(void); |
| void gui_gtk_event_process(void); | void gui_gtk_event_process(void); |
| void gui_gtk_set_window_title(const char* str); | void gui_gtk_set_window_title(const char* str); |
| void gui_gtk_messagebox(const char* title, const char *msg); | int gui_gtk_msgbox(const char* title, const char *msg, UINT flags); |
| #ifdef __cplusplus | G_END_DECLS |
| } | |
| #endif | |
| #endif /* NP2_GTK2_GTKTOOLKIT_H__ */ | #endif /* NP2_GTK2_GTKTOOLKIT_H__ */ |