home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / pspell / pspell.h
Encoding:
C/C++ Source or Header  |  2007-05-11  |  5.3 KB  |  123 lines

  1. /* This file is part of The New Aspell
  2.  * Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL
  3.  * license version 2.0 or 2.1.  You should have received a copy of the
  4.  * LGPL license along with this library if you did not you can find it
  5.  * at http://www.gnu.org/.                                              */
  6.  
  7. #ifndef ASPELL_PSPELL__H
  8. #define ASPELL_PSPELL__H
  9.  
  10. #include "../aspell.h"
  11.  
  12. #define PspellCanHaveError   AspellCanHaveError 
  13. #define PspellErrorExtraInfo AspellErrorExtraInfo
  14.  
  15. #define pspell_error_number     aspell_error_number
  16. #define pspell_error_message    aspell_error_message
  17. #define delete_pspell_can_have_error delete_aspell_can_have_error
  18.  
  19. #define PspellStringEmulation AspellStringEnumeration
  20.  
  21. #define pspell_string_emulation_clone   aspell_string_enumeration_clone
  22. #define pspell_string_emulation_assign  aspell_string_enumeration_assign
  23. #define pspell_string_emulation_at_end  aspell_string_enumeration_at_end
  24. #define pspell_string_emulation_next    aspell_string_enumeration_next
  25. #define delete_pspell_string_emulation  delete_aspell_string_enumeration
  26.  
  27. #define PspellStringPair          AspellStringPair
  28. #define PspellStringPairEmulation AspellStringPairEnumeration
  29.  
  30. #define pspell_string_pair_emulation_clone  aspell_string_pair_enumeration_clone
  31. #define pspell_string_pair_emulation_assign aspell_string_pair_enumeration_assign
  32. #define pspell_string_pair_emulation_at_end aspell_string_pair_enumeration_at_end
  33. #define delete_pspell_string_pair_emulation delete_aspell_string_pair_enumeration
  34.  
  35. #define PspellKeyInfoType   AspellKeyInfoType
  36. #define PspellKeyInfoString AspellKeyInfoString
  37. #define PspellKeyInfoInt    AspellKeyInfoInt
  38. #define PspellKeyInfoBool   AspellKeyInfoBool
  39. #define PspellKeyInfoList   AspellKeyInfoList
  40.  
  41. #define PspellKeyInfo          AspellKeyInfo
  42. #define PspellKeyInfoEmulation AspellKeyInfoEnumeration
  43.  
  44. #define PspellConfig AspellConfig
  45.  
  46. #define new_pspell_config new_aspell_config
  47. #define delete_pspell_config delete_aspell_config
  48. #define pspell_config_error_number aspell_config_error_number
  49. #define pspell_config_error_message aspell_config_error_message
  50. #define pspell_config_clone aspell_config_clone
  51. #define pspell_config_assign aspell_config_assign
  52. #define pspell_config_set_extra aspell_config_set_extra
  53. #define pspell_config_keyinfo aspell_config_keyinfo
  54. #define pspell_config_possible_elements aspell_config_possible_elements
  55. #define pspell_config_get_default aspell_config_get_default
  56. #define pspell_config_elements aspell_config_elements
  57. #define pspell_config_replace aspell_config_replace
  58. #define pspell_config_remove aspell_config_remove
  59. #define pspell_config_have aspell_config_have
  60. #define pspell_config_retrieve aspell_config_retrieve
  61. #define pspell_config_retrieve_list aspell_config_retrieve_list
  62. #define pspell_config_retrieve_bool aspell_config_retrieve_bool
  63. #define pspell_config_retrieve_int aspell_config_retrieve_int
  64.  
  65. #define PspellStringMap AspellStringMap;
  66.  
  67. #define new_pspell_string_map new_aspell_string_map
  68. #define delete_pspell_string_map delete_aspell_string_map
  69. #define pspell_string_map_clone aspell_string_map_clone
  70. #define pspell_string_map_assign aspell_string_map_assign
  71. #define pspell_string_map_elements aspell_string_map_elements
  72. #define pspell_string_map_insert aspell_string_map_insert
  73. #define pspell_string_map_replace aspell_string_map_replace
  74. #define pspell_string_map_remove aspell_string_map_remove
  75. #define pspell_string_map_clear aspell_string_map_clear
  76. #define pspell_string_map_lookup aspell_string_map_lookup
  77. #define pspell_string_map_size aspell_string_map_size
  78. #define pspell_string_map_empty aspell_string_map_empty
  79.  
  80. #define PspellWordList AspellWordList
  81. #define pspell_word_list_encoding aspell_word_list_encoding
  82. #define pspell_word_list_empty aspell_word_list_empty
  83. #define pspell_word_list_size aspell_word_list_size
  84. #define pspell_word_list_elements aspell_word_list_elements
  85.  
  86. #define PspellManager AspellSpeller
  87. #define new_pspell_manager new_aspell_speller
  88. #define to_pspell_manager to_aspell_speller
  89. #define delete_pspell_manager delete_aspell_speller
  90. #define pspell_manager_error_number aspell_speller_error_number
  91. #define pspell_manager_error_message aspell_speller_error_message
  92. #define pspell_manager_config aspell_speller_config
  93. #define pspell_manager_master_word_list aspell_speller_main_word_list
  94. #define pspell_manager_personal_word_list aspell_speller_personal_word_list
  95. #define pspell_manager_session_word_list aspell_speller_session_word_list
  96. #define pspell_manager_save_all_word_lists aspell_speller_save_all_word_lists
  97. #define pspell_manager_clear_session aspell_speller_clear_session
  98.  
  99. #if defined(USE_ORIGINAL_MANAGER_FUNCS)
  100.  
  101. #  define pspell_manager_check(m,str)\
  102.     aspell_speller_check(m,str,-1)
  103. #  define pspell_manager_add_to_personal(m,str)\
  104.     aspell_speller_add_to_personal(m,str,-1)
  105. #  define pspell_manager_add_to_session(m,str)\
  106.     aspell_speller_add_to_session(m,str,-1)
  107. #  define pspell_manager_suggest(m,str)\
  108.     aspell_speller_suggest(m,str,-1)
  109. #  define pspell_manager_store_replacement(m,mis,cor)\
  110.     aspell_speller_store_replacement(m,mis,-1,cor,-1)
  111.  
  112. #else
  113.  
  114. #  define pspell_manager_check aspell_speller_check
  115. #  define pspell_manager_add_to_personal aspell_speller_add_to_personal
  116. #  define pspell_manager_add_to_session aspell_speller_add_to_session
  117. #  define pspell_manager_suggest aspell_speller_suggest
  118. #  define pspell_manager_store_replacement aspell_speller_store_replacement
  119.  
  120. #endif
  121.  
  122. #endif /* ASPELL_PSPELL__H */
  123.