geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

support.h
Go to the documentation of this file.
1/*
2 * support.h - this file is part of Geany, a fast and lightweight IDE
3 *
4 * Copyright 2006 The Geany contributors
5 *
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.
10 *
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.
15 *
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.
19 */
20
21/**
22 * @file support.h
23 * Defines internationalization macros.
24 * @see GLib's @c gi18n-lib.h.
25 **/
26
27#ifndef GEANY_SUPPORT_H
28#define GEANY_SUPPORT_H 1
29
30#include <glib.h>
31
32G_BEGIN_DECLS
33
34#ifdef GETTEXT_PACKAGE
35# include <glib/gi18n-lib.h>
36#else
37# define GETTEXT_PACKAGE NULL
38# define textdomain(String) (String)
39# define bind_textdomain_codeset(Domain,Codeset) (Codeset)
40# define bindtextdomain(Domain,Dir) (Dir)
41# define ngettext(String,PluralString,Number) (((Number) == 1) ? (String) : (PluralString))
42# define _(String) String
43# define N_(String) String
44# define C_(Context,String) (String)
45#endif
46
47G_END_DECLS
48
49#endif /* GEANY_SUPPORT_H */