Post release version bump
[geany-mirror.git] / src / geany.h
blob73a24729909eef69947e9fb5e27e6559d3d31d1e
1 /*
2 * geany.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2005-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
5 * Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 /* Main header - should be included first in all source files.
23 * externs and function prototypes are implemented in main.c. */
25 #ifndef GEANY_H
26 #define GEANY_H 1
28 /* This is included here for compatibility with when GeanyApp used to be
29 * defined in this header. Some plugins (ex. GeanyLua) include individual
30 * headers instead of geanyplugin.h for some reason so they wouldn't
31 * get the GeanyApp definition if this isn't here. */
32 #include "app.h"
34 #include <glib.h>
37 G_BEGIN_DECLS
40 /* for detailed description look in the documentation, things are not
41 * listed in the documentation should not be changed */
42 #define GEANY_FILEDEFS_SUBDIR "filedefs"
43 #define GEANY_TEMPLATES_SUBDIR "templates"
44 #define GEANY_CODENAME "Rezer"
45 #define GEANY_HOMEPAGE "http://www.geany.org/"
46 #define GEANY_WIKI "http://wiki.geany.org/"
47 #define GEANY_BUG_REPORT "http://www.geany.org/Support/Bugs"
48 #define GEANY_DONATE "http://www.geany.org/service/donate/"
49 #define GEANY_STRING_UNTITLED _("untitled")
50 #define GEANY_DEFAULT_DIALOG_HEIGHT 350
51 #define GEANY_WINDOW_DEFAULT_WIDTH 900
52 #define GEANY_WINDOW_DEFAULT_HEIGHT 600
54 #ifndef G_GNUC_WARN_UNUSED_RESULT
55 #define G_GNUC_WARN_UNUSED_RESULT
56 #endif
58 /* Re-defined by plugindata.h as something else */
59 #ifndef GEANY
60 # define GEANY(symbol_name) symbol_name
61 #endif
64 #ifdef GEANY_PRIVATE
66 /* prototype is here so that all files can use it. */
67 void geany_debug(gchar const *format, ...) G_GNUC_PRINTF (1, 2);
69 #endif /* GEANY_PRIVATE */
71 G_END_DECLS
73 #endif /* GEANY_H */