enchant-provider.h | enchant-provider.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#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 | |||
/* private */ | /* private */ | |||
ENCHANT_MODULE_EXPORT(char *) | ENCHANT_MODULE_EXPORT(char *) | |||
_enchant_get_user_language(void); | enchant_get_user_language(void); | |||
#ifdef _WIN32 | #ifdef _WIN32 | |||
#define ENCHANT_PLUGIN_DECLARE(name) static HANDLE s_hModule = (HANDLE)(NUL L); BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { s_hModule = hModule; return TRUE; } | #define ENCHANT_PLUGIN_DECLARE(name) static HANDLE s_hModule = (HANDLE)(NUL L); BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { s_hModule = hModule; return TRUE; } | |||
#else | #else | |||
#define ENCHANT_PLUGIN_DECLARE(name) | #define ENCHANT_PLUGIN_DECLARE(name) | |||
#endif | #endif | |||
typedef struct str_enchant_provider EnchantProvider; | typedef struct str_enchant_provider EnchantProvider; | |||
ENCHANT_MODULE_EXPORT (char *) | ENCHANT_MODULE_EXPORT (char *) | |||
enchant_get_user_home_dir (void); | enchant_get_user_home_dir (void); | |||
ENCHANT_MODULE_EXPORT (char *) | ENCHANT_MODULE_EXPORT (char *) | |||
enchant_get_registry_value (const char * const prefix, const char * const key); | enchant_get_registry_value (const char * const prefix, const char * const key); | |||
ENCHANT_MODULE_EXPORT(char *) | ||||
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); | |||
struct str_enchant_dict | struct str_enchant_dict | |||
{ | { | |||
void *user_data; | void *user_data; | |||
void *enchant_private_data; | void *enchant_private_data; | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||