Imported version 0.4-1
[mstardict] / stardict-plugins / stardict-powerword-parsedata-plugin / stardict_powerword_parsedata.h
1 #ifndef _STARDICT_POWERWORD_PARSEDATA_PLUGIN_H_
2 #define _STARDICT_POWERWORD_PARSEDATA_PLUGIN_H_
3
4 #ifdef _WIN32
5 #if BUILDING_DLL
6 # define DLLIMPORT __declspec (dllexport)
7 #else /* Not BUILDING_DLL */
8 # define DLLIMPORT __declspec (dllimport)
9 #endif /* Not BUILDING_DLL */
10 #else
11 # define DLLIMPORT
12 #endif
13
14 #include "../../src/lib/plugin.h"
15 #include "../../src/lib/parsedata_plugin.h"
16
17 extern "C" {
18         DLLIMPORT extern bool stardict_plugin_init(StarDictPlugInObject *obj);
19         DLLIMPORT extern void stardict_plugin_exit(void);
20         DLLIMPORT extern bool stardict_parsedata_plugin_init(StarDictParseDataPlugInObject *obj);
21 }
22
23 #endif