1 /*============================================================================= 2 Copyright (c) 2009 Daniel James 3 Copyright (c) 2002 2004 2006 Joel de Guzman 4 Copyright (c) 2004 Eric Niebler 5 http://spirit.sourceforge.net/ 6 7 Use, modification and distribution is subject to the Boost Software 8 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 9 http://www.boost.org/LICENSE_1_0.txt) 10 =============================================================================*/ 11 12 #if !defined(BOOST_SPIRIT_QUICKBOOK_QUICKBOOK_HPP) 13 #define BOOST_SPIRIT_QUICKBOOK_QUICKBOOK_HPP 14 15 #include <time.h> 16 #include <vector> 17 #include <string> 18 #include <boost/filesystem/path.hpp> 19 #include "fwd.hpp" 20 #include "values.hpp" 21 22 namespace quickbook 23 { 24 namespace fs = boost::filesystem; 25 26 extern tm* current_time; // the current time 27 extern tm* current_gm_time; // the current UTC time 28 extern bool debug_mode; 29 extern bool self_linked_headers; 30 extern std::vector<fs::path> include_path; 31 extern std::vector<std::string> preset_defines; 32 extern fs::path image_location; 33 34 void parse_file(quickbook::state& state, 35 value include_doc_id = value(), 36 bool nested_file = false); 37 // Some initialisation methods 38 // 39 // Declared here to avoid including other headers 40 namespace detail 41 { 42 void initialise_markups(); 43 } 44 } 45 46 #endif 47