2 * app.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005 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.
23 * Contains the GeanyApp.
29 #include "tm_workspace.h"
36 /** Important application fields. */
37 typedef struct GeanyApp
39 gboolean debug_mode
; /**< @c TRUE if debug messages should be printed. */
40 /** User configuration directory, usually @c ~/.config/geany.
41 * This is a full path read by @ref utils_get_real_path().
42 * @note Plugin configuration files should be saved as:
43 * @code g_build_path(G_DIR_SEPARATOR_S, geany->app->configdir, "plugins", "pluginname",
44 * "file.conf", NULL); @endcode */
48 const TMWorkspace
*tm_workspace
; /**< TagManager workspace/session tags. */
49 struct GeanyProject
*project
; /**< Currently active project or @c NULL if none is open. */
58 #endif /* GEANY_PRIVATE */
62 #endif /* GEANY_APP_H */