1 // long_name_check header --------------------------------------------------// 2 // (main class renamed to: file_name_check) - gps 3 4 // Copyright Beman Dawes 2002. 5 // Copyright Gennaro Prota 2006. 6 // 7 // Distributed under the Boost Software License, Version 1.0. 8 // (See accompanying file LICENSE_1_0.txt or copy at 9 // http://www.boost.org/LICENSE_1_0.txt) 10 11 #ifndef BOOST_FILE_NAME_CHECK_HPP 12 #define BOOST_FILE_NAME_CHECK_HPP 13 14 #include "inspector.hpp" 15 16 namespace boost 17 { 18 namespace inspect 19 { 20 class file_name_check : public inspector 21 { 22 long m_name_errors; 23 24 public: 25 26 file_name_check(); 27 virtual ~file_name_check(); 28 name() const29 virtual const char * name() const { return "*N*"; } desc() const30 virtual const char * desc() const { return "file and directory name issues"; } 31 32 virtual void inspect( 33 const string & library_name, 34 const path & full_path ); 35 inspect(const string &,const path &,const string &)36 virtual void inspect( 37 const string &, // "filesystem" 38 const path &, // "c:/foo/boost/filesystem/path.hpp" 39 const string &) 40 { /* empty */ } 41 42 43 44 }; 45 } 46 } 47 48 #endif // BOOST_FILE_NAME_CHECK_HPP 49