1 /*************************************************************************** 2 * file.h 3 * 4 * Sun Nov 30 17:45:43 2003 5 * Copyright 2003 Jean-Noel Guiheneuf 6 * jnoel@lotuscompounds.com 7 ****************************************************************************/ 8 9 /* 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Library General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 */ 24 25 #ifndef _FILE_INSERT_H 26 #define _FILE_INSERT_H 27 28 #ifdef __cplusplus 29 extern "C" 30 { 31 #endif 32 33 #include <gtk/gtk.h> 34 #include <glib.h> 35 #include <gdk/gdk.h> 36 #include <libanjuta/anjuta-plugin.h> 37 #include <libanjuta/interfaces/ianjuta-editor.h> 38 #include <libanjuta/interfaces/ianjuta-document-manager.h> 39 #include <plugin.h> 40 41 void display_new_file(AnjutaFileWizardPlugin *plugin, 42 IAnjutaDocumentManager *docman); 43 gboolean on_new_file_cancelbutton_clicked(GtkWidget *window, GdkEvent *event, 44 gboolean user_data); 45 gboolean on_new_file_okbutton_clicked(GtkWidget *window, GdkEvent *event, 46 gboolean user_data); 47 void on_new_file_entry_changed (GtkEditable *entry, gpointer user_data); 48 void on_new_file_type_changed (GtkComboBox *optionmenu, gpointer user_data); 49 void on_new_file_license_toggled(GtkToggleButton *button, gpointer user_data); 50 51 typedef enum _Lge 52 { 53 LGE_C, 54 LGE_HC, 55 LGE_CPLUS, 56 LGE_CSHARP, 57 LGE_JAVA, 58 LGE_PERL, 59 LGE_PYTHON, 60 LGE_SHELL, 61 LGE_VALA 62 } Lge; 63 64 typedef enum _Cmt 65 { 66 CMT_C, 67 CMT_CPP, 68 CMT_P 69 } Cmt; 70 71 #ifdef __cplusplus 72 } 73 #endif 74 75 #endif /* _FILE_INSERT_H */ 76