//__________________________ Banshee Project - A modern game development toolkit _________________________________// //_____________________________________ www.banshee-project.com __________________________________________________// //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________// #include "BsFontPrerequisites.h" #include "BsImporter.h" #include "BsFontImporter.h" namespace BansheeEngine { /** * @brief Returns a name of the plugin. */ extern "C" BS_FONT_EXPORT const String& getPluginName() { static String pluginName = "FontImporter"; return pluginName; } /** * @brief Entry point to the plugin. Called by the engine when the plugin is loaded. */ extern "C" BS_FONT_EXPORT void* loadPlugin() { FontImporter* importer = bs_new(); Importer::instance()._registerAssetImporter(importer); return nullptr; } }