// Copyright 2011-2013 Renato Tegon Forti // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) // For more information, see http://www.boost.org #ifndef BOOST_PLUGIN_MY_PLUGIN_API_HPP #define BOOST_PLUGIN_MY_PLUGIN_API_HPP //[plugapi #include class my_plugin_api { public: virtual ~my_plugin_api() {}; virtual float version() const = 0; virtual std::string name() const = 0; virtual float calculate(float x, float y) = 0; }; //] #endif // BOOST_PLUGIN_MY_PLUGIN_API_HPP