Toshihiro Shimizu 890ddd
#if !defined(TOONZ_PLUGIN_LOADER_H__)
Toshihiro Shimizu 890ddd
#define TOONZ_PLUGIN_LOADER_H__
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#include <functional></functional>
Toshihiro Shimizu 890ddd
#include <string></string>
Toshihiro Shimizu 890ddd
#include <qtreewidget></qtreewidget>
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#undef DVAPI
Toshihiro Shimizu 890ddd
#undef DVVAR
Toshihiro Shimizu 890ddd
#ifdef TOONZQT_EXPORTS
Toshihiro Shimizu 890ddd
#define DVAPI DV_EXPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_EXPORT_VAR
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define DVAPI DV_IMPORT_API
Toshihiro Shimizu 890ddd
#define DVVAR DV_IMPORT_VAR
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/* Plugin Loader の inter-module interfaces:
Toshihiro Shimizu 890ddd
   toonzqt 以下のモジュールからアクセスするのに必要 (see: toonz/insertfxpopup.cpp)
Toshihiro Shimizu 890ddd
   implements in pluginhost.cpp */
Toshihiro Shimizu 890ddd
class TFx;
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
class DVAPI PluginLoader
Toshihiro Shimizu 890ddd
{
Toshihiro Shimizu 890ddd
public:
Toshihiro Shimizu 890ddd
	static std::map<std::string, *="" qtreewidgetitem=""> create_menu_items(std::function<void(qtreewidgetitem *)=""> &&, std::function<void(qtreewidgetitem *)=""> &&);</void(qtreewidgetitem></void(qtreewidgetitem></std::string,>
Toshihiro Shimizu 890ddd
	static TFx *create_host(const std::string &id);
Toshihiro Shimizu 890ddd
	static bool load_entries(const std::string &basepath);
Toshihiro Shimizu 890ddd
};
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif