Don't warn about unused internal methods which are meant to be visible on DBus
[vala-gnome.git] / vapi / enchant.vapi
blob881c76a5140e0a5f9d1042745c3a87766f25bd3b
1 [CCode (cheader_filename = "enchant.h")]
2 namespace Enchant {
3         public unowned string get_version ();
5         public delegate void BrokerDescribeFn (string provider_name, string provider_desc, string provider_dll_file);
6         public delegate void DictDescribeFn (string lang_tag, string provider_name, string provider_desc, string provider_file);
8         [Compact]
9         [CCode (free_function = "enchant_broker_free")]
10         public class Broker {
11                 [CCode (cname = "enchant_broker_init")]
12                 public Broker ();
14                 public unowned Dict request_dict (string tag);
15                 public unowned Dict request_pwl_dict (string pwl);
16                 public void free_dict (Dict dict);
17                 public int dict_exists (string tag);
18                 public void set_ordering (string tag, string ordering);
19                 public void describe (BrokerDescribeFn fn);
20                 public void list_dicts (DictDescribeFn fn);
21                 public unowned string get_error ();
22         }
24         [Compact]
25         public class Dict {
26                 public int check (string word, long len = -1);
27                 [CCode (array_length_type = "size_t")]
28                 public unowned string[] suggest (string word, long len = -1);
29                 public void free_string_list ([CCode (array_length = false)] string[] string_list);
30                 public void add_to_session (string word, long len = -1);
31                 public int is_in_session (string word, long len = -1);
32                 public void store_replacement ( string mis, long mis_len, string cor, long cor_len);
33                 public void add_to_pwl ( string word, long len = -1);
34                 public void describe (DictDescribeFn fn);
35                 public unowned string get_error ();
36         }