turtle/include/turtle/detail/verifiable.hpp
2020-09-08 09:45:44 +02:00

28 lines
679 B
C++

// http://turtle.sourceforge.net
//
// Copyright Mathieu Champlon 2008
//
// 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 MOCK_VERIFIABLE_HPP_INCLUDED
#define MOCK_VERIFIABLE_HPP_INCLUDED
#include "../config.hpp"
#include <boost/noncopyable.hpp>
namespace mock { namespace detail {
class verifiable : private boost::noncopyable
{
public:
verifiable() {}
virtual ~verifiable() {}
virtual bool verify() const = 0;
virtual void reset() = 0;
};
}} // namespace mock::detail
#endif // MOCK_VERIFIABLE_HPP_INCLUDED