2005-11-22 12:26:26 +00:00
|
|
|
/*
|
|
|
|
* geany.h - this file is part of Geany, a fast and lightweight IDE
|
|
|
|
*
|
2012-06-18 01:13:05 +02:00
|
|
|
* Copyright 2005-2012 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
|
|
|
* Copyright 2006-2012 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
2005-11-22 12:26:26 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2012-08-24 19:25:57 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2005-11-22 12:26:26 +00:00
|
|
|
*/
|
|
|
|
|
2007-08-23 11:34:06 +00:00
|
|
|
/* Main header - should be included first in all source files.
|
|
|
|
* externs and function prototypes are implemented in main.c. */
|
|
|
|
|
2006-07-20 21:17:17 +00:00
|
|
|
#ifndef GEANY_H
|
2014-05-18 17:07:50 -07:00
|
|
|
#define GEANY_H 1
|
2006-07-20 21:17:17 +00:00
|
|
|
|
2014-05-18 17:31:51 -07:00
|
|
|
/* This is included here for compatibility with when GeanyApp used to be
|
|
|
|
* defined in this header. Some plugins (ex. GeanyLua) include individual
|
|
|
|
* headers instead of geanyplugin.h for some reason so they wouldn't
|
|
|
|
* get the GeanyApp definition if this isn't here. */
|
|
|
|
#include "app.h"
|
2012-03-28 22:50:18 -07:00
|
|
|
|
2014-05-18 17:31:51 -07:00
|
|
|
#include <glib.h>
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
|
2014-05-18 17:31:51 -07:00
|
|
|
G_BEGIN_DECLS
|
2009-07-14 13:05:51 +00:00
|
|
|
|
2006-01-06 18:37:24 +00:00
|
|
|
|
2008-02-27 13:17:29 +00:00
|
|
|
/* for detailed description look in the documentation, things are not
|
|
|
|
* listed in the documentation should not be changed */
|
2006-05-19 17:18:06 +00:00
|
|
|
#define GEANY_FILEDEFS_SUBDIR "filedefs"
|
2007-01-06 18:00:34 +00:00
|
|
|
#define GEANY_TEMPLATES_SUBDIR "templates"
|
2014-04-13 19:33:23 +02:00
|
|
|
#define GEANY_CODENAME "Veed"
|
2008-09-01 11:15:16 +00:00
|
|
|
#define GEANY_HOMEPAGE "http://www.geany.org/"
|
2012-02-26 20:12:38 -08:00
|
|
|
#define GEANY_WIKI "http://wiki.geany.org/"
|
|
|
|
#define GEANY_BUG_REPORT "http://www.geany.org/Support/Bugs"
|
|
|
|
#define GEANY_DONATE "https://sourceforge.net/donate/index.php?group_id=153444"
|
2005-11-22 12:26:26 +00:00
|
|
|
#define GEANY_STRING_UNTITLED _("untitled")
|
2010-03-20 16:20:55 +00:00
|
|
|
#define GEANY_DEFAULT_DIALOG_HEIGHT 350
|
2006-03-15 23:19:45 +00:00
|
|
|
#define GEANY_WINDOW_DEFAULT_WIDTH 900
|
|
|
|
#define GEANY_WINDOW_DEFAULT_HEIGHT 600
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
|
2008-02-27 13:17:29 +00:00
|
|
|
/* prototype is here so that all files can use it. */
|
2006-10-21 11:16:54 +00:00
|
|
|
void geany_debug(gchar const *format, ...) G_GNUC_PRINTF (1, 2);
|
|
|
|
|
2009-08-27 14:02:56 +00:00
|
|
|
|
|
|
|
#ifndef G_GNUC_WARN_UNUSED_RESULT
|
|
|
|
#define G_GNUC_WARN_UNUSED_RESULT
|
|
|
|
#endif
|
|
|
|
|
2014-05-18 17:31:51 -07:00
|
|
|
/* Re-defined by plugindata.h as something else */
|
|
|
|
#ifndef GEANY
|
|
|
|
# define GEANY(symbol_name) symbol_name
|
|
|
|
#endif
|
|
|
|
|
2012-03-28 22:50:18 -07:00
|
|
|
G_END_DECLS
|
|
|
|
|
2014-05-18 17:07:50 -07:00
|
|
|
#endif /* GEANY_H */
|