Imported version 0.2-1
[mstardict] / src / lib / netdictplugin.h
1 #ifndef _STARDICT_NETDICT_PLUGIN_H_
2 #define _STARDICT_NETDICT_PLUGIN_H_
3
4 struct NetDictResponse {
5         ~NetDictResponse();
6         const char *bookname;
7         char *word;
8         char *data;
9 };
10
11 struct StarDictNetDictPlugInObject{
12         StarDictNetDictPlugInObject();
13
14         typedef void (*lookup_func_t)(const char *word, bool ismainwin);
15         lookup_func_t lookup_func;
16         const char *dict_name;
17         const char *dict_cacheid;
18 };
19
20 #endif