1 // copyright_check header --------------------------------------------------//
3 // Copyright Beman Dawes 2002, 2003.
4 // Copyright Rene Rivera 2004.
6 // Distributed under the Boost Software License, Version 1.0.
7 // (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
10 #ifndef BOOST_COPYRIGHT_CHECK_HPP
11 #define BOOST_COPYRIGHT_CHECK_HPP
13 #include "inspector.hpp"
19 class copyright_check : public source_inspector
21 long m_files_with_errors;
25 virtual const char * name() const { return "*C*"; }
26 virtual const char * desc() const { return "missing copyright notice"; }
29 const std::string & library_name,
30 const path & full_path,
31 const std::string & contents );
33 virtual ~copyright_check()
34 { std::cout << " " << m_files_with_errors << " files " << desc() << line_break(); }
39 #endif // BOOST_COPYRIGHT_CHECK_HPP