diff options
Diffstat (limited to 'tools/quickbook/src/quickbook.hpp')
-rw-r--r-- | tools/quickbook/src/quickbook.hpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/quickbook/src/quickbook.hpp b/tools/quickbook/src/quickbook.hpp new file mode 100644 index 0000000000..265bc7ee53 --- /dev/null +++ b/tools/quickbook/src/quickbook.hpp @@ -0,0 +1,46 @@ +/*============================================================================= + Copyright (c) 2009 Daniel James + Copyright (c) 2002 2004 2006 Joel de Guzman + Copyright (c) 2004 Eric Niebler + http://spirit.sourceforge.net/ + + Use, modification and distribution is subject to 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) +=============================================================================*/ + +#if !defined(BOOST_SPIRIT_QUICKBOOK_QUICKBOOK_HPP) +#define BOOST_SPIRIT_QUICKBOOK_QUICKBOOK_HPP + +#include <time.h> +#include <vector> +#include <string> +#include <boost/filesystem/v3/path.hpp> +#include "fwd.hpp" +#include "values.hpp" + +namespace quickbook +{ + namespace fs = boost::filesystem; + + extern tm* current_time; // the current time + extern tm* current_gm_time; // the current UTC time + extern bool debug_mode; + extern bool self_linked_headers; + extern std::vector<fs::path> include_path; + extern std::vector<std::string> preset_defines; + extern fs::path image_location; + + void parse_file(actions& actor, + value include_doc_id = value(), + bool nested_file = false); + // Some initialisation methods + // + // Declared here to avoid including other headers + namespace detail + { + void initialise_markups(); + } +} + +#endif |