kicad/thirdparty/turtle/turtle/sequence.hpp

27 lines
602 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_SEQUENCE_HPP_INCLUDED
#define MOCK_SEQUENCE_HPP_INCLUDED
#include "config.hpp"
#include "detail/sequence_impl.hpp"
#include <memory>
namespace mock {
class sequence
{
public:
sequence() : impl_(std::make_shared<detail::sequence_impl>()) {}
std::shared_ptr<detail::sequence_impl> impl_;
};
} // namespace mock
#endif // MOCK_SEQUENCE_HPP_INCLUDED