1.1 --- a/epoc32/include/stdapis/glib-2.0/glib/gi18n-lib.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/glib-2.0/glib/gi18n-lib.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,40 @@
1.4 -gi18n-lib.h
1.5 +/* GLIB - Library of useful routines for C programming
1.6 + * Copyright (C) 1995-1997, 2002 Peter Mattis, Red Hat, Inc.
1.7 + *
1.8 + * This library is free software; you can redistribute it and/or
1.9 + * modify it under the terms of the GNU Lesser General Public
1.10 + * License as published by the Free Software Foundation; either
1.11 + * version 2 of the License, or (at your option) any later version.
1.12 + *
1.13 + * This library is distributed in the hope that it will be useful,
1.14 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.15 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1.16 + * Lesser General Public License for more details.
1.17 + *
1.18 + * You should have received a copy of the GNU Lesser General Public
1.19 + * License along with this library; if not, write to the
1.20 + * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1.21 + * Boston, MA 02111-1307, USA.
1.22 + */
1.23 +#ifndef __G_I18N_LIB_H__
1.24 +#define __G_I18N_LIB_H__
1.25 +
1.26 +#include <glib/gstrfuncs.h>
1.27 +
1.28 +#include <libintl.h>
1.29 +
1.30 +#ifndef GETTEXT_PACKAGE
1.31 +#error You must define GETTEXT_PACKAGE before including gi18n-lib.h.
1.32 +#endif
1.33 +
1.34 +#define _(String) dgettext (GETTEXT_PACKAGE, String)
1.35 +#define Q_(String) g_strip_context ((String), dgettext (GETTEXT_PACKAGE, String))
1.36 +#ifdef gettext_noop
1.37 +#define N_(String) gettext_noop (String)
1.38 +#else
1.39 +#define N_(String) (String)
1.40 +#endif
1.41 +
1.42 +#endif /* __G_I18N_LIB_H__ */
1.43 +
1.44 +