enchant-provider.h | enchant-provider.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
* this file, you may extend this exception to your version of the | * 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 | * file, but you are not obligated to do so. If you do not wish to | |||
* do so, delete this exception statement from your version. | * do so, delete this exception statement from your version. | |||
*/ | */ | |||
#ifndef ENCHANT_PROVIDER_H | #ifndef ENCHANT_PROVIDER_H | |||
#define ENCHANT_PROVIDER_H | #define ENCHANT_PROVIDER_H | |||
#include <enchant.h> | #include <enchant.h> | |||
#include <glib.h> | #include <glib.h> | |||
#include <stdio.h> | ||||
#ifdef _WIN32 | #ifdef _WIN32 | |||
#define WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | |||
#include <windows.h> | #include <windows.h> | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
skipping to change at line 73 | skipping to change at line 74 | |||
ENCHANT_MODULE_EXPORT(char *) | ENCHANT_MODULE_EXPORT(char *) | |||
enchant_get_prefix_dir(void); | enchant_get_prefix_dir(void); | |||
ENCHANT_MODULE_EXPORT(void) | ENCHANT_MODULE_EXPORT(void) | |||
enchant_dict_set_error (EnchantDict * dict, const char * const err); | enchant_dict_set_error (EnchantDict * dict, const char * const err); | |||
ENCHANT_MODULE_EXPORT(void) | ENCHANT_MODULE_EXPORT(void) | |||
enchant_provider_set_error (EnchantProvider * provider, const char * const err); | enchant_provider_set_error (EnchantProvider * provider, const char * const err); | |||
ENCHANT_MODULE_EXPORT(FILE *) | ||||
enchant_fopen (const gchar *filename, const gchar *mode); | ||||
ENCHANT_MODULE_EXPORT (GSList *) | ||||
enchant_get_dirs_from_param (EnchantBroker * broker, const char * co | ||||
nst param_name); | ||||
struct str_enchant_dict | struct str_enchant_dict | |||
{ | { | |||
void *user_data; | void *user_data; | |||
void *enchant_private_data; | void *enchant_private_data; | |||
int (*check) (struct str_enchant_dict * me, const char *const word, | int (*check) (struct str_enchant_dict * me, const char *const word, | |||
size_t len); | size_t len); | |||
/* returns utf8*/ | /* returns utf8*/ | |||
char **(*suggest) (struct str_enchant_dict * me, | char **(*suggest) (struct str_enchant_dict * me, | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||
enchant.h | enchant.h | |||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
enchant_broker_dict_exists (EnchantBroker * broker, | enchant_broker_dict_exists (EnchantBroker * broker, | |||
const char * const tag); | const char * const tag); | |||
ENCHANT_MODULE_EXPORT (void) | ENCHANT_MODULE_EXPORT (void) | |||
enchant_broker_set_ordering (EnchantBroker * broker, | enchant_broker_set_ordering (EnchantBroker * broker, | |||
const char * const tag, | const char * const tag, | |||
const char * const ordering); | const char * const ordering); | |||
/* const */ | /* const */ | |||
ENCHANT_MODULE_EXPORT(char *) | ENCHANT_MODULE_EXPORT(char *) | |||
enchant_broker_get_error (EnchantBroker * broker); | enchant_broker_get_error (EnchantBroker * broker); | |||
/* const */ | ||||
ENCHANT_MODULE_EXPORT(char *) | ||||
enchant_broker_get_param (EnchantBroker * broker, const char * const | ||||
param_name); | ||||
ENCHANT_MODULE_EXPORT(void) | ||||
enchant_broker_set_param (EnchantBroker * broker, const char * const | ||||
param_name, const char * const param_value); | ||||
/** | /** | |||
* EnchantBrokerDescribeFn | * EnchantBrokerDescribeFn | |||
* @provider_name: The provider's identifier, such as "ispell" or "aspell" in UTF8 encoding | * @provider_name: The provider's identifier, such as "ispell" or "aspell" in UTF8 encoding | |||
* @provider_desc: A description of the provider, such as "Aspell 0.53" in UTF8 encoding | * @provider_desc: A description of the provider, such as "Aspell 0.53" in UTF8 encoding | |||
* @provider_dll_file: The provider's DLL filename in Glib file encoding (U TF8 on Windows) | * @provider_dll_file: The provider's DLL filename in Glib file encoding (U TF8 on Windows) | |||
* @user_data: Supplied user data, or %null if you don't care | * @user_data: Supplied user data, or %null if you don't care | |||
* | * | |||
* Callback used to enumerate and describe Enchant's various providers | * Callback used to enumerate and describe Enchant's various providers | |||
*/ | */ | |||
typedef void (*EnchantBrokerDescribeFn) (const char * const provider_name, | typedef void (*EnchantBrokerDescribeFn) (const char * const provider_name, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 8 lines changed or added | |||