Integrate adding files with the file manager
[anjuta-git-plugin.git] / plugins / file-wizard / file.h
blobc9fb338a1d1552ec0d9995614a8a6effad2b051c
1 /***************************************************************************
2 * file.h
4 * Sun Nov 30 17:45:43 2003
5 * Copyright 2003 Jean-Noel Guiheneuf
6 * jnoel@lotuscompounds.com
7 ****************************************************************************/
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.
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.
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.
25 #ifndef _FILE_INSERT_H
26 #define _FILE_INSERT_H
28 #ifdef __cplusplus
29 extern "C"
31 #endif
33 #include <gnome.h>
34 #include <libanjuta/anjuta-plugin.h>
35 #include <libanjuta/interfaces/ianjuta-editor.h>
36 #include <libanjuta/interfaces/ianjuta-document-manager.h>
37 #include <libanjuta/interfaces/ianjuta-macro.h>
38 #include <plugin.h>
40 void display_new_file(AnjutaFileWizardPlugin *plugin,
41 IAnjutaDocumentManager *docman);
42 gboolean on_new_file_cancelbutton_clicked(GtkWidget *window, GdkEvent *event,
43 gboolean user_data);
44 gboolean on_new_file_okbutton_clicked(GtkWidget *window, GdkEvent *event,
45 gboolean user_data);
46 void on_new_file_entry_changed (GtkEditable *entry, gpointer user_data);
47 void on_new_file_type_changed (GtkOptionMenu *optionmenu, gpointer user_data);
48 void on_new_file_license_toggled(GtkToggleButton *button, gpointer user_data);
50 typedef enum _Lge
52 LGE_C,
53 LGE_HC,
54 LGE_CPLUS,
55 LGE_CSHARP,
56 LGE_JAVA,
57 LGE_PERL,
58 LGE_PYTHON,
59 LGE_SHELL
60 } Lge;
62 typedef enum _Cmt
64 CMT_C,
65 CMT_CPP,
66 CMT_P
67 } Cmt;
69 #ifdef __cplusplus
71 #endif
73 #endif /* _FILE_INSERT_H */