meson: Only perform macos checks on macos
[geany-mirror.git] / src / projectprivate.h
blobdf59bb346ab96870795957b578dd4f5ad101534d
1 /*
2 * projectprivate.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2008 The Geany contributors
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef GEANY_PROJECTPRIVATE_H
23 #define GEANY_PROJECTPRIVATE_H 1
25 #include "project.h"
27 #include <glib.h>
29 G_BEGIN_DECLS
31 typedef struct GeanyProjectPrivate
33 // file prefs
34 gboolean final_new_line;
35 gboolean strip_trailing_spaces;
36 gboolean replace_tabs;
37 gboolean ensure_convert_new_lines;
39 // editor prefs
40 struct GeanyIndentPrefs *indentation;
41 gboolean line_wrapping;
42 gint line_break_column;
43 gboolean auto_continue_multiline;
44 gint long_line_behaviour; /* 0 - disabled, 1 - follow global settings, 2 - enabled (custom) */
45 gint long_line_column; /* Long line marker position. */
47 GPtrArray *build_filetypes_list; /* Project has custom filetype builds for these. */
48 GPtrArray *session_files;
50 GeanyProjectPrivate;
52 G_END_DECLS
54 #endif /* GEANY_PROJECT_H */