Updated Spanish translation
[anjuta-git-plugin.git] / plugins / build / compiler_options.h
blobfdd7f82f1d290f686711129a1e31a73c8cbf2791
1 /*
2 compiler_options.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 _COMPILER_OPTIONS_H_
20 #define _COMPILER_OPTIONS_H_
22 #include <gnome.h>
23 #include <glade/glade.h>
24 #include "properties.h"
26 typedef struct _CompilerOptions CompilerOptions;
27 typedef struct _CompilerOptionsPriv CompilerOptionsPriv;
29 enum
31 ANJUTA_SUPPORT_ID,
32 ANJUTA_SUPPORT_DESCRIPTION,
33 ANJUTA_SUPPORT_DEPENDENCY,
34 ANJUTA_SUPPORT_MACROS,
35 ANJUTA_SUPPORT_PRJ_CFLAGS,
36 ANJUTA_SUPPORT_PRJ_LIBS,
37 ANJUTA_SUPPORT_FILE_CFLAGS,
38 ANJUTA_SUPPORT_FILE_LIBS,
39 ANJUTA_SUPPORT_ACCONFIG_H,
40 ANJUTA_SUPPORT_INSTALL_STATUS,
41 ANJUTA_SUPPORT_END_MARK
44 struct _CompilerOptions
46 CompilerOptionsPriv *priv;
49 extern gchar *anjuta_supports[][ANJUTA_SUPPORT_END_MARK];
51 CompilerOptions *compiler_options_new (PropsID props);
52 void compiler_options_destroy (CompilerOptions *);
53 void compiler_options_get (CompilerOptions *);
54 void compiler_options_clear (CompilerOptions *);
55 void compiler_options_sync (CompilerOptions *);
56 void compiler_options_show (CompilerOptions *);
57 void compiler_options_hide (CompilerOptions *);
58 gboolean compiler_options_save (CompilerOptions * co, FILE * s);
59 void compiler_options_load (CompilerOptions * co, PropsID props);
60 gboolean compiler_options_save_yourself (CompilerOptions * co, FILE * s);
61 gboolean compiler_options_load_yourself (CompilerOptions * co, PropsID props);
62 void compiler_options_update_controls (CompilerOptions *);
63 void compiler_options_set_prjincl_in_file (CompilerOptions * co, FILE* fp);
64 void compiler_options_set_prjcflags_in_file (CompilerOptions * co, FILE* fp);
65 void compiler_options_set_prjlflags_in_file (CompilerOptions * co, FILE* fp);
66 void compiler_options_set_prjlibs_in_file (CompilerOptions * co, FILE* fp);
67 void compiler_options_set_prjmacros_in_file (CompilerOptions * co, FILE* fp);
68 void compiler_options_set_dirty_flag (CompilerOptions *co, gboolean is_dirty);
70 #endif