Blame view

3rdparty/boost_1_81_0/tools/quickbook/src/quickbook.hpp 1.38 KB
73ef4ff3   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  /*=============================================================================
      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 <string>
  #include <time.h>
  #include <vector>
  #include <boost/filesystem/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(
          quickbook::state& state,
          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