Fix a Gtk warning when checking path input in the log viewer.
[anjuta-git-plugin.git] / plugins / build / executer.h
blob1d6eb394ef5a344e0ecf041ae5960a2fdbbcc6bf
1 /*
2 executer.h
3 Copyright (C) 2000 Kh. Naba Kumar Singh
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #ifndef _EXECUTE_H_
20 #define _EXECUTE_H_
22 typedef struct _Executer Executer;
23 typedef struct _ExecuterGUI ExecuterGUI;
25 struct _ExecuterGUI {
26 GtkWidget *dialog;
27 GtkWidget *combo1;
28 GtkWidget *combo_entry1;
29 GtkWidget *check_terminal;
30 } ;
32 struct _Executer
34 PropsID props;
35 gboolean terminal;
36 GList *m_PgmArgs; /* The program arguments */
37 /* UI */
38 ExecuterGUI m_gui;
39 gboolean is_showing;
42 #define EXECUTER_PROGRAM_ARGS_KEY "anjuta.program.arguments"
44 Executer* executer_new(PropsID props);
46 /* Executer is auto hide */
47 void executer_show (Executer *e);
48 void executer_destroy (Executer *e);
49 void executer_execute (Executer *e);
51 void executer_save_session( Executer *e, ProjectDBase *p );
52 void executer_load_session( Executer *e, ProjectDBase *p );
54 #endif