1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 /* 3 * Copyright (C) 2013 Intel Corporation 4 * 5 * This library is free software: you can redistribute it and/or modify it 6 * under the terms of the GNU Lesser General Public License as published by 7 * the Free Software Foundation. 8 * 9 * This library is distributed in the hope that it will be useful, but 10 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 11 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License 12 * for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public License 15 * along with this library. If not, see <http://www.gnu.org/licenses/>. 16 * 17 * Authors: Tristan Van Berkom <tristanvb@openismus.com> 18 */ 19 20 #if !defined (__LIBEDATASERVER_H_INSIDE__) && !defined (LIBEDATASERVER_COMPILATION) 21 #error "Only <libedataserver/libedataserver.h> should be included directly." 22 #endif 23 24 #ifndef E_TRANSLITERATOR_PRIVATE_H 25 #define E_TRANSLITERATOR_PRIVATE_H 26 27 #include <glib-object.h> 28 29 G_BEGIN_DECLS 30 31 #if __GNUC__ >= 4 32 # define E_TRANSLITERATOR_LOCAL __attribute__ ((visibility ("hidden"))) 33 #else 34 # define E_TRANSLITERATOR_LOCAL 35 #endif 36 37 /** 38 * ETransliterator: 39 * 40 * A private opaque type describing an alphabetic index 41 * 42 * Since: 3.12 43 **/ 44 typedef struct _ETransliterator ETransliterator; 45 46 /* defined in e-transliterator-private.cpp, and used by by e-collator.c */ 47 E_TRANSLITERATOR_LOCAL ETransliterator *_e_transliterator_cxx_new (const gchar *transliterator_id); 48 E_TRANSLITERATOR_LOCAL void _e_transliterator_cxx_free (ETransliterator *transliterator); 49 E_TRANSLITERATOR_LOCAL gchar *_e_transliterator_cxx_transliterate (ETransliterator *transliterator, 50 const gchar *str); 51 52 G_END_DECLS 53 54 #endif /* E_TRANSLITERATOR_PRIVATE_H */ 55