Imported version 0.4-1
[mstardict] / stardict-plugins / stardict-html-parsedata-plugin / stardict_html_parsedata.h
diff --git a/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.h b/stardict-plugins/stardict-html-parsedata-plugin/stardict_html_parsedata.h
new file mode 100644 (file)
index 0000000..6f837e6
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef _STARDICT_XDXF_PARSEDATA_PLUGIN_H_
+#define _STARDICT_XDXF_PARSEDATA_PLUGIN_H_
+
+#ifdef _WIN32
+#if BUILDING_DLL
+# define DLLIMPORT __declspec (dllexport)
+#else /* Not BUILDING_DLL */
+# define DLLIMPORT __declspec (dllimport)
+#endif /* Not BUILDING_DLL */
+#else
+# define DLLIMPORT
+#endif
+
+#include "../../src/lib/plugin.h"
+#include "../../src/lib/parsedata_plugin.h"
+
+extern "C" {
+       DLLIMPORT extern bool stardict_plugin_init(StarDictPlugInObject *obj);
+       DLLIMPORT extern void stardict_plugin_exit(void);
+       DLLIMPORT extern bool stardict_parsedata_plugin_init(StarDictParseDataPlugInObject *obj);
+}
+
+#endif