1 /* 2 LibRCC - base module for language manipulations 3 4 Copyright (C) 2005-2008 Suren A. Chilingaryan <csa@dside.dyndns.org> 5 6 This library is free software; you can redistribute it and/or modify it 7 under the terms of the GNU Lesser General Public License version 2.1 or later 8 as published by the Free Software Foundation. 9 10 This library is distributed in the hope that it will be useful, but WITHOUT 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 13 for more details. 14 15 You should have received a copy of the GNU Lesser General Public License 16 along with this program; if not, write to the Free Software Foundation, Inc., 17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 18 */ 19 20 #ifndef _RCC_LNG_H 21 #define _RCC_LNG_H 22 23 #include "internal.h" 24 #include "lngconfig.h" 25 26 27 int rccCheckLanguageUsability(rcc_context ctx, rcc_language_id language_id); 28 rcc_language_ptr rccGetLanguagePointer(rcc_context ctx, rcc_language_id language_id); 29 30 #define rccGetCurrentEnginePointer(ctx) rccConfigGetCurrentEnginePointer(ctx->current_config) 31 #define rccCheckCurrentEnginePointer(ctx) rccConfigCheckCurrentEnginePointer(ctx->current_config) 32 #define rccGetEnginePointer(ctx,id) rccConfigGetEnginePointer(ctx->current_config, id) 33 #define rccCheckEnginePointer(ctx,id) rccConfigCheckEnginePointer(ctx->current_config, id) 34 35 #endif /* _RCC_LNG_H */ 36