2
0
mirror of https://github.com/boostorg/dll.git synced 2026-02-01 08:22:19 +00:00
Files
dll/example/plugin_api.hpp
Antony Polukhin 3e2502e13e Initial commit
2014-08-05 17:37:33 +04:00

23 lines
551 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_APPLICATION_MY_PLUGIN_API_HPP
#define BOOST_APPLICATION_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_APPLICATION_MY_PLUGIN_API_HPP