源码提交

This commit is contained in:
yangzuhao
2022-12-15 23:45:23 +08:00
parent cb7ca21a2e
commit b199dd2a76
63375 changed files with 9928567 additions and 0 deletions
@@ -0,0 +1,24 @@
// Copyright 2016-2019 Antony Polukhin.
//
// 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)
#ifndef BOOST_DLL_MY_PLUGIN_API_HPP
#define BOOST_DLL_MY_PLUGIN_API_HPP
//[plugapi
#include <boost/config.hpp>
#include <string>
class BOOST_SYMBOL_VISIBLE my_plugin_api {
public:
virtual std::string name() const = 0;
virtual float calculate(float x, float y) = 0;
virtual ~my_plugin_api() {}
};
//]
#endif // BOOST_DLL_MY_PLUGIN_API_HPP