mirror of
https://github.com/boostorg/dll.git
synced 2026-01-27 06:52:07 +00:00
25 lines
603 B
C++
25 lines
603 B
C++
// 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 <string>
|
|
|
|
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
|
|
|