diff options
author | Vidhoon Vishwanathan <vidhu2366@gmail.com> | 2013-07-20 13:47:44 +0000 |
---|---|---|
committer | Vidhoon Vishwanathan <vidhu2366@gmail.com> | 2013-07-20 13:47:44 +0000 |
commit | 31abfea4751af6024ad9c703c207ec41508dab48 (patch) | |
tree | 01ce4a0de83b904c11a53a2a850c862a34f1a7e2 | |
parent | 28d961fccc21e6d48073758d1d4998f1b025fccb (diff) | |
download | enchant-31abfea4751af6024ad9c703c207ec41508dab48.tar.gz |
[COMPDICT] Header to expose Composite Dictionary interfaces
This patch creates an interface header file that exposes
composite provider interface APIs that enchant broker can use
to receive services from composite dictionary.
composite_provider_create_dict will be used by enchant broker
to create a composite dictionary. Hence it is exposed through
this new interface header file.
Signed-off-by: Vidhoon Viswanathan <vidhu2366@gmail.com>
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/branches/gsoc2013cdict@33279 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | src/composite_provider.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/composite_provider.h b/src/composite_provider.h new file mode 100644 index 0000000..826590e --- /dev/null +++ b/src/composite_provider.h @@ -0,0 +1,51 @@ +/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* enchant + * Copyright (C) 2003 Dom Lachowicz + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02110-1301, USA. + * + * In addition, as a special exception, Dom Lachowicz + * gives permission to link the code of this program with + * non-LGPL Spelling Provider libraries (eg: a MSFT Office + * spell checker backend) and distribute linked combinations including + * the two. You must obey the GNU Lesser General Public License in all + * respects for all of the code used other than said providers. If you modify + * this file, you may extend this exception to your version of the + * file, but you are not obligated to do so. If you do not wish to + * do so, delete this exception statement from your version. + */ + +#ifndef COMPOSITE_PROVIDER_H +#define COMPOSITE_PROVIDER_H + +#include <glib.h> +#include <stdio.h> +#include <enchant.h> + +/* for size_t, ssize_t */ +#include <sys/types.h> + +#ifdef __cplusplus +extern "C" { +#endif + +EnchantDict* composite_provider_create_dict (GSList*); + +#ifdef __cplusplus +} +#endif + +#endif /* COMPOSITE_PROVIDER_H */ |