mirror of
https://github.com/boostorg/dll.git
synced 2026-02-01 20:32:22 +00:00
23 lines
536 B
C++
23 lines
536 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
|
|
class my_plugin_api
|
|
{
|
|
public:
|
|
virtual ~my_plugin_api(){};
|
|
virtual float version() = 0;
|
|
virtual float calculate(float x, float y) = 0;
|
|
};
|
|
//]
|
|
|
|
#endif // BOOST_PLUGIN_MY_PLUGIN_API_HPP
|
|
|