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 <string>
16 #include <time.h>
17 #include <vector>
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(
35         quickbook::state& state,
36         value include_doc_id = value(),
37         bool nested_file = false);
38     // Some initialisation methods
39     //
40     // Declared here to avoid including other headers
41     namespace detail
42     {
43         void initialise_markups();
44     }
45 }
46 
47 #endif
48