File indexing completed on 2024-04-28 16:26:06

0001 /* This file is part of the KDE project
0002    Copyright (c) 2003-2007 Kexi Team <kexi@kde.org>
0003 
0004    This library is free software; you can redistribute it and/or
0005    modify it under the terms of the GNU Library General Public
0006    License as published by the Free Software Foundation; either
0007    version 2 of the License, or (at your option) any later version.
0008 
0009    This library is distributed in the hope that it will be useful,
0010    but WITHOUT ANY WARRANTY; without even the implied warranty of
0011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012    Library General Public License for more details.
0013 
0014    You should have received a copy of the GNU Library General Public License
0015    along with this library; see the file COPYING.LIB.  If not, write to
0016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0017  * Boston, MA 02110-1301, USA.
0018 */
0019 
0020 #ifndef _KEXI_GLOBAL_
0021 #define _KEXI_GLOBAL_
0022 
0023 #include <config-kexi.h>
0024 
0025 #ifndef futureI18n
0026 # ifdef USE_FUTURE_I18N
0027 #  define futureI18n(a) i18n(a)
0028 #  define futureI18nc(a, b) i18nc(b)
0029 #  define futureI18nc2(a, b, c) i18nc(a, b, c)
0030 # else
0031 #  define futureI18n(a) QString(a)
0032 #  define futureI18nc(a, b) QString(b)
0033 #  define futureI18nc2(a, b, c) QString(b)
0034 # endif
0035 #endif
0036 
0037 #ifndef FUTURE_I18N_NOOP
0038 # define FUTURE_I18N_NOOP(x) (x)
0039 #endif
0040 
0041 #endif /* _KEXI_GLOBAL_ */