* Copyright 2023 Hu Zheng <huzheng001@gmail.com>
*
* This file is part of StarDict.
*
* StarDict is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* StarDict is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with StarDict. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _STARDICT_DICTDOTCN_HTML_PLUGIN_H_
#define _STARDICT_DICTDOTCN_HTML_PLUGIN_H_
#ifdef _WIN32
#if BUILDING_DLL
# define DLLIMPORT __declspec (dllexport)
#else
# define DLLIMPORT __declspec (dllimport)
#endif
#else
# define DLLIMPORT
#endif
#include "../../src/lib/plugin.h"
#include "../../src/lib/netdictplugin.h"
#include "../../src/lib/iappdirs.h"
extern "C" {
DLLIMPORT extern bool stardict_plugin_init(StarDictPlugInObject *obj, IAppDirs* appDirs);
DLLIMPORT extern void stardict_plugin_exit(void);
DLLIMPORT extern bool stardict_netdict_plugin_init(StarDictNetDictPlugInObject *obj);
}
#endif