2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 14:42:21 +00:00
Files
fiber/libs/extension/examples/multiple_inheritance/computer.hpp
Oliver Kowalke 39ec793737 initial checkin
2011-02-09 18:41:35 +01:00

27 lines
734 B
C++

/*
* Boost.Extension / multiple inheritance example (computer)
*
* (C) Copyright Jeremy Pack 2007
* 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)
*
* See http://www.boost.org/ for latest version.
*/
#ifndef BOOST_EXTENSION_COMPUTER_HPP
#define BOOST_EXTENSION_COMPUTER_HPP
#include <boost/extension/extension.hpp>
#include <iostream>
#include <string>
#include <typeinfo>
class BOOST_EXTENSION_COMPUTER_DECL computer
{
public:
computer(void){std::cout << "\nCreated a Computer";}
virtual ~computer(void){std::cout << "\nDestroyed a Computer";}
virtual std::string list_capabilities(void);
};
#endif