1 /* 2 * Copyright (c) Tony Bybell 2012. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 */ 9 10 #ifndef __COCOA_MISC_H__ 11 #define __COCOA_MISC_H__ 12 13 #ifdef WAVE_COCOA_GTK 14 #import <Cocoa/Cocoa.h> 15 #endif 16 #include <gtk/gtk.h> 17 18 void gtk_open_external_file(const char *fpath); 19 char *gtk_file_req_bridge(const char *title, const char *fpath, const char *pattn, int is_writemode); 20 int gtk_simplereqbox_req_bridge(char *title, char *default_text, char *oktext, char *canceltext, int is_alert); 21 int entrybox_req_bridge(char *title, int width, char *dflt_text, char *comment, int maxch, char **out_text_entry); 22 23 #endif 24