1 // Copyright Antony Polukhin, 2016-2022.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_DLL_MY_PLUGIN_API_HPP
8 #define BOOST_DLL_MY_PLUGIN_API_HPP
11 #include <boost/config.hpp>
14 class BOOST_SYMBOL_VISIBLE my_plugin_api {
16 virtual std::string name() const = 0;
17 virtual float calculate(float x, float y) = 0;
19 virtual ~my_plugin_api() {}
23 #endif // BOOST_DLL_MY_PLUGIN_API_HPP